Template:InventoryInfo: Difference between revisions

From SUWS-wiki
No edit summary
(Change to use #default_form)
 
(82 intermediate revisions by the same user 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|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.}}
{{InventoryInfo
|title=Test piece of kit
|item_type=Radio
|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>
</noinclude><includeonly>
<div style="float: right;">[[Inventory:List|Back to Inventory]]</div>
<div style="float: right;">[[Inventory:List|Back to Inventory]]</div>
Line 10: Line 24:
* '''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}}


[[loanee::{{{loanee|}}}|]]  
 
{{#if: {{#ask: [[{{PAGENAME}}]] [[-loanee::Test]]}} | === Loan Details ===
{{#if: {{{loanee|}}} | [[loanee::{{{loanee}}}|]] |}}{{#if: {{#ask: [[{{FULLPAGENAME}}]] [[loanee::+]]}}|
=== Loan Details ===
* '''Loanee:''' {{{loanee|}}}
* '''Loanee:''' {{{loanee|}}}
* '''Loan Period:''' [[loan_start_date::{{{loan_start_date}}}]] - [[loan_end_date::{{{loan_end_date}}}]]  
* '''Loan Period:''' [[loan_start_date::{{{loan_start_date|}}}]] - [[loan_end_date::{{{loan_end_date|}}}]]  
* '''Loan Location:''' [[loan_location::{{{loan_location}}}]]
* '''Loan Location:''' [[loan_location::{{{loan_location|}}}]]
* '''Other Loan Details:''' [[loan_details::{{{loan_details}}}]]  
* '''Other Loan Details:''' {{#if: {{{loan_details|}}} | [[loan_details::{{{loan_details}}}]] | None}}
| }}
|}}
 
=== Description ===
=== Description ===
[[description::{{{description}}}]]  
[[description::{{{description}}}]]  
[[Category:InventoryItem]][[Page has default form::Inventory|&nbsp;]]


== Additional Information ==
{{#if:{{{accessories|}}} | === Accessories ===
{{{accessories}}}
}}
 


</includeonly>
[[Category:InventoryItem]]
{{#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