Template:Tool: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 6: Line 6:
|Name=
|Name=
|Picture=
|Picture=
|Cost=
|Owner=
|Description=
|Location=
|Category=
}}
}}
</pre>
</pre>
Line 14: Line 19:
! colspan=2 | {{#if:{{{Name|}}}|[[Tool Name::{{{Name|}}}]]|NURDspace Tool}}
! colspan=2 | {{#if:{{{Name|}}}|[[Tool Name::{{{Name|}}}]]|NURDspace Tool}}
|-
|-
! colspan=2 |<div style="margin:10px">{{#if:{{{Picture|}}}|[[Tool Image::File:{{{Picture}}}|260x260px]]|[[File:NoPicture.png|260px]]}}</div>
! colspan=2 |<div style="margin:10px">{{#if:{{{Picture|}}}|[[Tool Image::File:{{{Picture}}}|260x260px]]|[[File:NoPicture.png{{!}}260px{{!}}link=File:{{{Name}}}.jpg]]}}</div>
|-
|-
| style="vertical-align:top" | Description
|{{#if:{{{Description|}}} | [[Tool Desc::{{{Description}}}]] | }}
|-
| style="vertical-align:top" | Does it cost money?
|{{#if:{{{Cost|}}} | [[Tool Costs::{{{Cost}}}]] | }}
|-
| style="vertical-align:top" | Owner
|{{#if:{{{Owner|}}} | [[Tool Owner::{{{Owner}}}]] | }}
|-
| style="vertical-align:top" | Location
|{{#if:{{{Location|}}} | [[Inventory Location::{{{Location}}}]] | }}
|-
| style="vertical-align:top" | Category
|{{#if:{{{Category|}}} | [[Tool Category::{{{Category}}}]] | }}
|}
|}
[[Category:Tools]]
<!-- hack -->
<div style="position:fixed; top:10000px; right:10000px;">
[[PageName::{{{Name}}}|{{{Name}}}]]
[[Tool Image String::{{{Picture}}}]]
[[Tool::1]]
</div>
[[Category:Tool]]
</includeonly>
</includeonly>

Latest revision as of 23:34, 1 December 2014

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

{{Tool
|Name=
|Picture=
|Cost=
|Owner=
|Description=
|Location=
|Category=
}}

Edit the page to see the template text.