No edit summary |
mNo edit summary |
||
(22 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> | ||
{{ | {{Inventory | ||
| | |Name= | ||
| | |Owner= | ||
| | |Status= | ||
| | |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: | {| 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 | | ! 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 | ||
| [[ | | [[Inventory Owner::{{{Owner| }}}]] | ||
|- | |- | ||
! Status | ! Status | ||
| [[ | | [[Inventory Status::{{{Status|}}}]] | ||
{{!}}- | {{!}}- | ||
{{#if:{{{ | {{#if:{{{Hostname|}}}| | ||
! Hostname | ! Hostname | ||
{{!}}[[ | {{!}}[[Inventory Hostname::{{{Hostname|}}}]] | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{ | {{#if:{{{Location|}}}| | ||
! Location | ! Location | ||
{{!}}[[ | {{!}}[[Inventory Location::{{{Location|}}}]] | ||
}} | }} | ||
{{#if:{{{Map_x|}}}| | |||
{{#if:{{{ | {{!}}- | ||
{{!}}{{Site_plan|marker=CircleRed.png|markersize=30|pos_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.