Template:Tool: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border:solid 1px #AAAAAA; border-collapse:collapse; font-size:95%; empty-cells:hide"
<noinclude>
|- style="background: {{Style|header}}; text-align:center; color: white;"
This is the "Tool" template.
! colspan=2| ''Tool {{{naam}}}''
It should be called in the following format:
|- style="text-align:center;"
<pre>
! colspan=2| <div class="polaroidlayout">{{#ifexist: File:Tool_{{{naam}}}_Picture.jpg | [[File:Tool_{{{naam}}}_Picture.jpg|360x360px]] | [[File:Tool_{{{naam}}}_Picture.jpg|360x360px]]}}<br /><p class="polaroidfont">{{#if:{{{Name|}}} | {{{Name}}} | }}</p></div></div>
{{Tool
|Name=
|Picture=
|Cost=
|Owner=
|Description=
|Location=
|Category=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>
{| class="wikitable" style="float:right; clear:right; width:270px; margin:5px; font-size:95%; empty-cells:hide"
|- style="text-align:center;"
! colspan=2 | {{#if:{{{Name|}}}|[[Tool Name::{{{Name|}}}]]|NURDspace Tool}}
|-
|-
| style="vertical-align:top" | Naam
! colspan=2 |<div style="margin:10px">{{#if:{{{Picture|}}}|[[Tool Image::File:{{{Picture}}}|260x260px]]|[[File:NoPicture.png{{!}}260px{{!}}link=File:{{{Name}}}.jpg]]}}</div>
|{{#if:{{{naam|}}} | [[Tool Name::{{{naam}}}]] | }}
|-
|-
| style="vertical-align:top" | Omschrijving
| style="vertical-align:top" | Description
|{{#if:{{{omschrijving|}}} | [[Tool Desc::{{{omschrijving}}}]] | }}
|{{#if:{{{Description|}}} | [[Tool Desc::{{{Description}}}]] | }}
|-
|-
| style="vertical-align:top" | Te gebruiken door
| style="vertical-align:top" | Does it cost money?
|{{#if:{{{Gebruik|}}} | [[Tool Usage::{{{Gebruik}}}]] | }}
|{{#if:{{{Cost|}}} | [[Tool Costs::{{{Cost}}}]] | }}
|-
|-
| style="vertical-align:top" | Kost gebruik geld?
| style="vertical-align:top" | Owner
|{{#if:{{{Kosten|}}} | [[Tool Costs::{{{Kosten}}}]] | }}
|{{#if:{{{Owner|}}} | [[Tool Owner::{{{Owner}}}]] | }}
|-
|-
| style="vertical-align:top" | Locatie
| style="vertical-align:top" | Location
|{{#if:{{{Locatie|}}} | [[Tool Location::{{{Locatie}}}]] | }}
|{{#if:{{{Location|}}} | [[Inventory Location::{{{Location}}}]] | }}
|-
|-
| style="vertical-align:top" | Eigenaar
| style="vertical-align:top" | Category
|{{#if:{{{Owner|}}} | [[Tool Owner::{{{Owner}}}]] | }}
|{{#if:{{{Category|}}} | [[Tool Category::{{{Category}}}]] | }}
 
|}
|}
{{#ifexist:{{{Picture|}}} | | {{#ifexist: File:Tool_{{{naam}}}_Picture.jpg |  | [[File:Tool_{{{naam}}}_Picture.jpg| Add your picture plz.]]}} }}
<!-- hack -->
<!-- hack -->
<div style="position:fixed; top:10000px; right:10000px;">
<div style="position:fixed; top:10000px; right:10000px;">
[[PageName::{{{naam}}}|{{{Name}}}]]
[[PageName::{{{Name}}}|{{{Name}}}]]
{{#ifexist:{{{Picture|}}} | [[Tool Image::{{{Picture|}}}]] | {{#ifexist: File:Tool_{{{naam}}}_Picture.jpg | [[Tool Image::File:Tool_{{{naam}}}_Picture.jpg]] |  }}
[[Tool Image String::{{{Picture}}}]]
[[Tool Image String::Tool_{{{naam}}}_Picture.jpg]]
[[Tool::1]]
</div>
</div>
<includeonly>
[[Category:Tool]]
[[Categorie:Tool|{{{naam}}}]]
</includeonly>
<includeonly>

Latest revision as of 00:34, 2 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.