Template:Inventory: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 5: Line 5:
{{InventoryItem
{{InventoryItem
|Name=
|Name=
|InventoryOwner=
|Owner=
|InventoryStatus=
|Status=
|InventoryHostname=
|Hostname=
|Location=
|Location=
|InventoryMap_x=
|Map_x=
|InventoryMap_y=
|Map_y=
|Picture=
|Picture=
}}
}}
Line 23: Line 23:
|-
|-
! 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:{{{Inventory Location|}}}|
! Location
! Location
{{!}}[[Inventory Location::{{{InventoryLocation|}}}]]
{{!}}[[Inventory Location::{{{Inventory Location|}}}]]
}}
}}
{{#if:{{{Location|}}}|
{{#if:{{{Location|}}}|
Line 41: Line 41:
{{!}}[[Inventory Location::{{{Location|}}}]]
{{!}}[[Inventory Location::{{{Location|}}}]]
}}
}}
{{#if:{{{InventoryMap_x|}}}|
{{#if:{{{Map_x|}}}|
{{!}}-
{{!}}-
! colspan=2{{!}}{{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}}
}}
}}
|-
|-

Revision as of 10:24, 23 August 2014

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

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

Edit the page to see the template text.