Template:InventoryInfo: Difference between revisions

From SUWS-wiki
mNo edit summary
(Change to use #default_form)
 
(105 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{TemplateUsage|message=Use this template to add a inventory item's specifics to the page.}}
{{TemplateUsage|message=Use this template to add a inventory item's specifics to the page.}}
{{InventoryInfo|title=Test piece of kit|item_type=Radio|item_state=Broken|acquired_date=2013/11/06|location=32/3073|description=This is just a test piece of kit.}}
{{InventoryInfo
</noinclude><includeonly>[[Category:InventoryItem]][[Page has default form::Inventory|&nbsp;]]* '''Title:''' [[title::{{{title}}}]]  
|title=Test piece of kit
* '''Item Type:''' [[item type::{{{item_type}}}]]  
|item_type=Radio
* '''Item State:''' [[item state::{{{item_state}}}]]  
|item_state=Broken
|acquired_date=2013/11/06
|location=32/3073
|accessories=* Accessory 1
* Accessory 2
|edb_page=IC-7000
|loanee=Test
|loan_start_date=2013/11/28
|loan_end_date=2014/06/30|loan_location=Graeme's house
|loan_details=Some more loan details
|description=This is just a test piece of kit.
}}
</noinclude><includeonly>
<div style="float: right;">[[Inventory:List|Back to Inventory]]</div>
 
* '''Title:''' [[title::{{{title}}}]]  
* '''Item Type:''' [[item type::ItemType:{{{item_type}}}|{{{item_type}}}]]  
* '''Item State:''' [[item state::ItemState:{{{item_state}}}|{{{item_state}}}]]  
* '''Acquired Date:''' [[acquired date::{{{acquired_date}}}]]  
* '''Acquired Date:''' [[acquired date::{{{acquired_date}}}]]  
* '''Location:''' [[location::{{{location}}}]]  
* '''Location:''' [[location::{{{location}}}]]  
* '''EDB Link:''' {{#if: {{{edb_page|}}} | [[edb:{{{edb_page}}}]] | None}}
{{#if: {{{loanee|}}} | [[loanee::{{{loanee}}}|]] |}}{{#if: {{#ask: [[{{FULLPAGENAME}}]] [[loanee::+]]}}|
=== Loan Details ===
* '''Loanee:''' {{{loanee|}}}
* '''Loan Period:''' [[loan_start_date::{{{loan_start_date|}}}]] - [[loan_end_date::{{{loan_end_date|}}}]]
* '''Loan Location:''' [[loan_location::{{{loan_location|}}}]]
* '''Other Loan Details:''' {{#if: {{{loan_details|}}} | [[loan_details::{{{loan_details}}}]] | None}}
|}}
=== Description ===
=== Description ===
[[description::{{{description}}}]]  
[[description::{{{description}}}]]  
{{#if:{{{accessories|}}} | === Accessories ===
{{{accessories}}}
}}




== Additional Information ==
[[Category:InventoryItem]]
</includeonly>
{{#default_form:Inventory}}
=== Additional Information ===</includeonly>

Latest revision as of 09:51, 7 May 2018


Suws-logo-yellow.png

Template usage:
Use this template to add a inventory item's specifics to the page.



Description

This is just a test piece of kit.

Accessories

  • Accessory 1
  • Accessory 2

Additional Information