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)
m
 
(9 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/>
{{#if:{{{h|}}}
+
 
| {{ns:0}}
+
[[File:Item icon {{{hat}}}.png|300px|link={{{1|{{{item|{{{hat|error}}}}}}}}}{{if lang}}]]
| {{#if:{{{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}}]]
 
 
<br />
 
<br />
 
<br />
 
<br />
Line 14: Line 10:
 
----
 
----
  
[[{{hat name|{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}}}{{if lang}}
+
[[{{{1|{{{item|{{{hat|error}}}}}}}}}{{if lang}}]] - {{lang
| {{hat name|{{#if:{{{hat|{{{1|}}}}}}|_{{{hat|{{{1}}}}}}}}
+
  | en = The hat of the month
| {{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 32: 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=Whoopee Cap}}
 
{{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=Whoopee Cap}}
 
{{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>
  
Line 42: Line 37:
 
=== 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.
 
+
{{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.