Template:Inventory: Difference between revisions

Template page
No edit summary
mNo edit summary
 
(32 intermediate revisions by 3 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=
|Location=
|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|}}}|
! Hostnode
! Location
{{!}}[[InventoryLocation::{{{InventoryLocation|}}}]]
{{!}}[[Inventory Location::{{{Location|}}}]]
}}
}}
{{#if:{{{Map_x|}}}|
{{!}}-
! 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.