Template:Tool: Difference between revisions

Template page
mNo edit summary
mNo edit summary
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=
}}
</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]]}}</div>
|{{#if:{{{naam|}}} | [[Tool Name::{{{naam}}}]] | }}
|-
|-
| style="vertical-align:top" | Omschrijving
|{{#if:{{{omschrijving|}}} | [[Tool Desc::{{{omschrijving}}}]] | }}
|-
| style="vertical-align:top" | Te gebruiken door
|{{#if:{{{Gebruik|}}} | [[Tool Usage::{{{Gebruik}}}]] | }}
|-
| style="vertical-align:top" | Kost gebruik geld?
|{{#if:{{{Kosten|}}} | [[Tool Costs::{{{Kosten}}}]] | }}
|-
| style="vertical-align:top" | Locatie
|{{#if:{{{Locatie|}}} | [[Tool Location::{{{Locatie}}}]] | }}
|-
| style="vertical-align:top" | Eigenaar
|{{#if:{{{Owner|}}} | [[Tool Owner::{{{Owner}}}]] | }}
|}
|}
 
[[Category:Tools]]
{{#ifexist:{{{Picture|}}} | | {{#ifexist: File:Tool_{{{naam}}}_Picture.jpg |  | [[File:Tool_{{{naam}}}_Picture.jpg| Add your picture plz.]]}} }}
</includeonly>
<!-- hack -->
<div style="position:fixed; top:10000px; right:10000px;">
[[PageName::{{{naam}}}|{{{Name}}}]]
{{#ifexist:{{{Picture|}}} | [[Tool Image::{{{Picture|}}}]] | {{#ifexist: File:Tool_{{{naam}}}_Picture.jpg | [[Tool Image::File:Tool_{{{naam}}}_Picture.jpg]] |  }}
[[Tool Image String::Tool_{{{naam}}}_Picture.jpg]]
</div>
<includeonly>
[[Categorie:Tool|{{{naam}}}]]
<includeonly>

Revision as of 10:37, 22 August 2014

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

{{Tool
|Name=
|Picture=
}}

Edit the page to see the template text.