Template:InventoryInfo: Difference between revisions
From SUWS-wiki
DavidNewman (talk | contribs) No edit summary |
DavidNewman (talk | contribs) No edit summary |
||
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=|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|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 12: | Line 12: | ||
[[loanee::{{{loanee|}}}|]] | [[loanee::{{{loanee|}}}|]] | ||
{{#if: {{#ask: [[{{PAGENAME}}]] [[-loanee::]]}} | === Loan Details === | {{#if: {{#ask: [[{{PAGENAME}}]] [[-loanee::Test]]}} | === 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}}}]] |