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

From Team Fortress Wiki
Jump to: navigation, search
m (sadface)
m (...)
Line 3: Line 3:
 
<div style="font-size:250%;font-weight:bolder; margin: .1em auto .2em auto;">
 
<div style="font-size:250%;font-weight:bolder; margin: .1em auto .2em auto;">
 
<br/>
 
<br/>
 +
{{#if:{{{h|}}}
 +
| {{ns:0}}
 +
| {{#if:{{{Hat|}}}
 +
| {{main|Hat{{if lang}}|l1={{item name|Hat}}}}
 +
}}
 
[[File:{{ucfirst:Hat}}.png|300px|link={{ucfirst:Hat}}{{if lang}}]]
 
[[File:{{ucfirst:Hat}}.png|300px|link={{ucfirst:Hat}}{{if lang}}]]
 
<br />
 
<br />
Line 8: Line 13:
 
<div style="font-size:40%;">
 
<div style="font-size:40%;">
 
----
 
----
{{#if:{{{h|}}}
+
 
| {{ns:0}}
+
[[{{#if:{{{Hat|{{{1|}}}}}}
| {{#if:{{{Hat|}}}
 
| {{main|Hat{{if lang}}|l1={{item name|Hat}}}}
 
}}
 
[[{{#if:{{{1|}}}
 
 
| {{ucfirst:Hat}}}}{{if lang}}
 
| {{ucfirst:Hat}}}}{{if lang}}
| {{hat name|{{#if:{{{1|}}}
+
| {{hat name|{{#if:{{{Hat|{{{1|}}}}}}
| {{ucfirst:Hat}}}}]] - {{lang
+
| {{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 17:44, 14 July 2011


{{#if: | | 300px


[[ | {{hat name|]] - the hat of the month

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

Example


[[File:Item icon {{{hat}}}.png|300px|link=error]]


error - The hat of the month

{{User:M-NINJA/Projects/Template:The hat of the month|Hat=ye olde baker boy}}


Parameters

Hat
Displays that specific hat or misc as the current hat of the month