Template:Inventory: Difference between revisions

Template page
No edit summary
No edit summary
Line 21: Line 21:
! Status
! Status
| [[InventoryStatus::{{{InventoryStatus|}}}]]
| [[InventoryStatus::{{{InventoryStatus|}}}]]
{{!}}-
{{#if:{{{InventoryHostname|}}}|
{{#if:{{{InventoryHostname|}}}|
{{!}}-
! Hostname
! Hostname
{{!}}[[InventoryHostname::{{{InventoryHostname|}}}]]
{{!}}[[InventoryHostname::{{{InventoryHostname|}}}]]
}}
}}
{{!}}-
{{#if:{{{InventoryHostnode|}}}|
{{#if:{{{InventoryHostnode|}}}|
{{!}}-
! Hostnode
! Hostnode
{{!}}[[InventoryHostnode::{{{InventoryHostnode|}}}]]
{{!}}[[InventoryHostnode::{{{InventoryHostnode|}}}]]
}}[[Category:Inventory]]
}}
|}
[[Category:Inventory]]

Revision as of 11:52, 22 April 2013

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

{{InventoryItem
|InventoryOwner=
|InventoryStatus=
|InventoryHostname=
|InventoryHostnode=
}}

Edit the page to see the template text.