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
 
(13 intermediate revisions by one other user not shown)
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/>
[[File:{{ucfirst:Hat}}.png|300px|link={{ucfirst:Hat}}{{if lang}}]]
+
 
 +
[[File:Item icon {{{hat}}}.png|300px|link={{{1|{{{item|{{{hat|error}}}}}}}}}{{if lang}}]]
 
<br />
 
<br />
 
<br />
 
<br />
 
<div style="font-size:40%;">
 
<div style="font-size:40%;">
 
----
 
----
{{#if:{{{h|}}}
+
 
| {{ns:0}}
+
[[{{{1|{{{item|{{{hat|error}}}}}}}}}{{if lang}}]] - {{lang
| {{#if:{{{Hat|}}}
+
  | en = The hat of the month
| {{main|Hat{{if lang}}|l1={{item name|Hat}}}}
 
}}
 
[[{{#if:{{{1|}}}
 
| {{ucfirst:Hat}}}}{{if lang}}
 
| {{hat name|{{#if:{{{1|}}}
 
| {{ucfirst:Hat}}}}]] - {{lang
 
  | en = the hat of the month
 
 
  | de = Der Hut des Monats
 
  | de = Der Hut des Monats
 
  | fr = Le Chapeau du Mois
 
  | fr = Le Chapeau du Mois
Line 31: Line 25:
 
<noinclude>
 
<noinclude>
 
{{doc begin}}
 
{{doc begin}}
{{translation switching|en, de, fr, pl, ru, no}}
+
<!--{{translation switching|en, de, fr, pl, ru, no}}-->
 
=== Example ===
 
=== Example ===
{{User:M-NINJA/Projects/Template:The hat of the month|Hat=ye olde baker boy}}
+
{{User:M-NINJA/Projects/Template:The hat of the month|hat=Whoopee Cap}}
 +
{{User:M-NINJA/Projects/Template:The hat of the month|hat=Ze Goggles}}
 
<pre>
 
<pre>
{{User:M-NINJA/Projects/Template:The hat of the month|Hat=ye olde baker boy}}
+
{{User:M-NINJA/Projects/Template:The hat of the month|hat=Whoopee Cap}}
 +
{{User:M-NINJA/Projects/Template:The hat of the month|hat=Ze Goggles}}
 
</pre>
 
</pre>
  
  
 
=== Parameters ===
 
=== Parameters ===
:; ''Hat''
+
:; ''hat''
:: Displays that specific hat or misc as the current hat of the month
+
:: The name of the hat displayed in a particular instance. Calls {{tl|hat name}} to display the correct translation.
 
+
{{clr}}
[[Category:Templates|Painted variants]]
 
[[Category:Paint templates|Painted variants]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 23:18, 6 September 2023


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


error - 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


Item icon Ze Goggles.png


Ze Goggles - The hat of the month

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


Parameters

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