Template:Inventory: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 3: Line 3:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{InventoryItem
{{Inventory
|InventoryOwner=
|Name=
|InventoryStatus=
|Owner=
|InventoryHostname=
|Status=
|InventoryLocation=
|Hostname=
|InventoryMap_x=
|Location=
|InventoryMap_y=
|Map_x=
|Map_y=
|Picture=
|Category=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{| class="wikitable" style="float:right; clear:right; width:370px; margin:5px; font-size:95%; empty-cells:hide"
{| class="wikitable" style="float:right; clear:right; width:270px; margin:5px; font-size:95%; empty-cells:hide"
|- style="text-align:center;"
|- style="text-align:center;"
! colspan=2 | ''NURDs Inventory''
! colspan=2 | {{#if:{{{Name|}}}|[[Inventory Name::{{{Name|}}}]]|NURDs Inventory}}
|-
! colspan=2 |<div style="margin:10px">{{#if:{{{Picture|}}}|[[Inventory Image::File:{{{Picture}}}|260x260px]]|[[File:NoPicture.png|260px]]}}</div>
|-
|-
! Owner
! Owner
| [[InventoryOwner::{{{InventoryOwner| }}}]]
| [[Inventory Owner::{{{Owner| }}}]]
|-
|-
! Status
! Status
| [[InventoryStatus::{{{InventoryStatus|}}}]]
| [[Inventory Status::{{{Status|}}}]]
{{!}}-
{{!}}-
{{#if:{{{InventoryHostname|}}}|
{{#if:{{{Hostname|}}}|
! Hostname
! Hostname
{{!}}[[InventoryHostname::{{{InventoryHostname|}}}]]
{{!}}[[Inventory Hostname::{{{Hostname|}}}]]
}}
}}
{{!}}-
{{!}}-
{{#if:{{{InventoryLocation|}}}|
{{#if:{{{Location|}}}|
! Location
! Location
{{!}}[[InventoryLocation::{{{InventoryLocation|}}}]]
{{!}}[[Inventory Location::{{{Location|}}}]]
}}
}}
{{#if:{{{InventoryMap_x|}}}|
{{#if:{{{Map_x|}}}|
!{{Site_plan|marker=CircleRed.png|markersize=30|pos_x={{{InventoryMap_x|}}}|pos_y={{{InventoryMap_y|}}}|map=Space_Basis.png|mapsize_x=370|mapsize_y=370}}
{{!}}-
{{!}}
! colspan=2{{!}}{{Site_plan|marker=CircleRed.png|markersize=30|pos_x={{{Map_x|}}}|pos_y={{{Map_y|}}}|map=Space_Basis.png|mapsize_x=370|mapsize_y=370}}
}}
}}
 
|-
! Tool
| [[Tool::{{{Tool|}}}]]
|-
! Tool category
| [[Tool Category::{{{Category|}}}]]
|}
|}
<!-- hack -->
<div style="position:fixed; top:10000px; right:10000px;">
{{#if:{{{Tool}}} | [[Tool Name::{{{Name}}}]] | }}
{{#if:{{{Tool}}} | [[Tool Image::File:{{{Picture}}}{{!}}]] | }}
{{#if:{{{Tool}}} | [[Tool Image String::{{{Picture}}}]] | }}
{{#if:{{{Tool}}} | [[Tool Owner::{{{InventoryOwner}}}]] | }}
{{#if:{{{Tool}}} | [[Tool Location::{{{Location}}}]] | }}
</div>
[[Category:Inventory]]
[[Category:Inventory]]

Latest revision as of 11:16, 24 August 2014

This is the "Inventory" template. It should be called in the following format:

{{Inventory
|Name=
|Owner=
|Status=
|Hostname=
|Location=
|Map_x=
|Map_y=
|Picture=
|Category=
}}

Edit the page to see the template text.