Difference between revisions of "Template:Inventory"
m |
m (same automagic colouring as InvTable?) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
|Model= | |Model= | ||
|Manufacturer Link= | |Manufacturer Link= | ||
+ | |Category= | ||
|Operational Status= | |Operational Status= | ||
|Super Users= | |Super Users= | ||
Line 19: | Line 20: | ||
</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:370px; margin:5px; font-size:95%; empty-cells:hide" | ||
− | |- style="text-align:center;" | + | |- style="font-size:150%; background: #CCCCCC; text-align:center;" |
! colspan=2 | ''TechInc Inventory'' | ! colspan=2 | ''TechInc Inventory'' | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
− | | style="vertical-align:top; text-align:center;" colspan="2" | + | {{#if:{{{Picture|}}}| |
+ | {{!}} style="vertical-align:top; text-align:center;" colspan="2" {{!}} [[File:{{{Picture}}}|300px]] | ||
+ | }} | ||
|- | |- | ||
! Description | ! Description | ||
| [[InvDescript::{{{Description|}}}]] | | [[InvDescript::{{{Description|}}}]] | ||
− | | | + | {{!}}- |
+ | {{#if:{{{Make|}}}| | ||
! Make | ! Make | ||
− | + | {{!}} [[InvMake::{{{Make|}}}]] | |
− | | | + | }} |
+ | {{!}}- | ||
+ | {{#if:{{{Model|}}}| | ||
! Model | ! Model | ||
− | + | {{!}} [[InvModel::{{{Model|}}}]] | |
− | | | + | }} |
+ | {{!}}- | ||
+ | {{#if:{{{Manufacturer Link|}}}| | ||
! Manufacturer Link | ! Manufacturer Link | ||
− | + | {{!}} [[InvLink::{{{Manufacturer Link|}}}]] | |
+ | }} | ||
+ | {{!}}- | ||
+ | {{#if:{{{Category|}}}| | ||
+ | ! Category | ||
+ | {{!}} [[InvCategory::{{{Category|}}}]] | ||
+ | }} | ||
|- | |- | ||
! Operational Status | ! Operational Status | ||
− | | [[InvStatus::{{{Operational Status|}}}]] | + | |{{#switch: {{{Operational Status|}}} | Working = style="background: #32CD32; text-align: center" | Functional = style="background: #BFFF00; text-align: center" | BROKEN = style="background: #FF6347; text-align: center" | #default = style="background: #BDBDBD"}} | [[InvStatus::{{{Operational Status|}}}]] |
− | | | + | {{!}}- |
+ | {{#if:{{{Super Users|}}}| | ||
! Super Users | ! Super Users | ||
− | + | {{!}} {{#arraymap:{{{Super Users|}}}|,|x|[[InvUsers::x]]}} | |
+ | }} | ||
|- | |- | ||
! Received at | ! Received at |
Latest revision as of 10:56, 30 May 2013
This is the "Inventory" template. It should be called in the following format:
{{Inventory |Picture= |Description= |Make= |Model= |Manufacturer Link= |Category= |Operational Status= |Super Users= |Received at= |Acquisition Details= |Owner= }}
Edit the page to see the template text.