Template:InventoryInfo: Difference between revisions
From SUWS-wiki
DavidNewman (talk | contribs) No edit summary |
DavidNewman (talk | contribs) (Change to use #default_form) |
||
(80 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: [[{{ | {{#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}}}]] | ||
== | {{#if:{{{accessories|}}} | === Accessories === | ||
{{{accessories}}} | |||
}} | |||
</includeonly> | [[Category:InventoryItem]] | ||
{{#default_form:Inventory}} | |||
=== Additional Information ===</includeonly> |
Latest revision as of 09:51, 7 May 2018
- Title: Test piece of kit
- Item Type: Radio
- Item State: Broken
- Acquired Date: 2013/11/06
- Location: 32/3073
- EDB Link: edb:IC-7000
Description
This is just a test piece of kit.
Accessories
- Accessory 1
- Accessory 2