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

From Team Fortress Wiki
Jump to: navigation, search
m (well its accepting the value being passed in, but somethings still off about it)
(making some ravioli, wip)
Line 8: Line 8:
 
  | {{main|hat{{if lang}}|l1={{item name|hat}}}}
 
  | {{main|hat{{if lang}}|l1={{item name|hat}}}}
 
  }}
 
  }}
[[File:{{hat name|{{#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 />
 
<br />
 
<br />
Line 14: Line 14:
 
----
 
----
  
[[{{hat name|{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}}}{{if lang}}
+
{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}}} - {{lang
| {{hat name|{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}}}
 
| {{ucfirst:hat}}
 
}}]] - {{lang
 
 
  | en = the hat of the month
 
  | en = the hat of the month
 
  | de = Der Hut des Monats
 
  | de = Der Hut des Monats

Revision as of 18:28, 14 July 2011


{{#if: | | [[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 {{item name}} to display the correct translation.