Difference between revisions of "User:M-NINJA/Projects/Template:The hat of the month"

From Team Fortress Wiki
Jump to: navigation, search
(making some ravioli, wip)
m (wip)
Line 6: Line 6:
 
| {{ns:0}}
 
| {{ns:0}}
 
| {{#if:{{{hat|}}}
 
| {{#if:{{{hat|}}}
  | {{main|hat{{if lang}}|l1={{item name|hat}}}}
+
  | {{main|hat{{if lang}}|l1={{hat name|hat}}}}
  }}
+
  }}}}
 
[[File:Item icon{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}.png|300px|link={{hat name|{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}}}{{if lang}}]]
 
[[File:Item icon{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}.png|300px|link={{hat name|{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}}}{{if lang}}]]
 
<br />
 
<br />
Line 39: Line 39:
 
=== Parameters ===
 
=== Parameters ===
 
:; ''hat''
 
:; ''hat''
:: The name of the hat displayed in a particular instance. Calls {{tl|item name}} to display the correct translation.
+
:: The name of the hat displayed in a particular instance. Calls {{tl|hat name}} to display the correct translation.
 
 
[[Category:Templates|Painted variants]]
 
[[Category:Paint templates|Painted variants]]
 
 
</noinclude>
 
</noinclude>

Revision as of 18:43, 14 July 2011


[[File:Item icon{{#if:|_{{{1}}}.png|300px|link={{hat name|]]


- the hat of the month

Documentation for M-NINJA/Projects/Template:The hat of the month

Example


Item icon Whoopee Cap.png


Whoopee Cap - The hat of the month

{{User:M-NINJA/Projects/Template:The hat of the month|hat=Whoopee Cap}}


Parameters

hat
The name of the hat displayed in a particular instance. Calls {{hat name}} to display the correct translation.