Difference between revisions of "User:KillerKooK/Template:Halloween mask check"

From Team Fortress Wiki
Jump to: navigation, search
Line 1: Line 1:
[[File:Item icon {{#ifexpr: {{#ifeq:{{{2|}}}|yes|1|0}} or {{#ifeq:{{{3|}}}|yes|1|0}} or {{#ifeq:{{{4|}}}|yes|1|0}}|{{{1|}}} Mask|Missing}}.png|x20px|link={{{1|}}} Mask]]
+
[[File:Item icon {{#ifexpr: {{#ifeq:{{{2|}}}|yes|1|0}} or {{#ifeq:{{{3|}}}|yes|1|0}} or {{#ifeq:{{{4|}}}|yes|1|0}}|{{{1|}}} Mask|Missing}}.png|x20px|link={{{1|}}} Mask]]<noinclude>
<noinclude>
 
 
[[File:Item icon {{#ifexpr: {{#ifeq:{{{2|yes}}}|yes|1|0}} or {{#ifeq:{{{3|}}}|yes|1|0}} or {{#ifeq:{{{4|}}}|yes|1|0}}|{{{1|Scout}}} Mask|Missing}}.png|x20px|link={{{1|Scout}}} Mask]]
 
[[File:Item icon {{#ifexpr: {{#ifeq:{{{2|yes}}}|yes|1|0}} or {{#ifeq:{{{3|}}}|yes|1|0}} or {{#ifeq:{{{4|}}}|yes|1|0}}|{{{1|Scout}}} Mask|Missing}}.png|x20px|link={{{1|Scout}}} Mask]]
 
__NOTOC__
 
__NOTOC__
 
{{Template doc}}
 
{{Template doc}}
 
</noinclude>
 
</noinclude>

Revision as of 00:02, 19 December 2010

x20px Item icon Scout Mask.png

Template documentation [view] [edit] [history] [purge]

This template is to be used in the "Item checklist" or "User hat checklist" template.

{{Halloween mask check|<class name>|{{{<class> mask|}}}|{{{all|}}}|{{{halloween mask|}}}}}
An example for Scout Mask: 
{{Halloween mask check|Scout|{{{scout mask|}}}|{{{all|}}}|{{{halloween mask|}}}}}

If <class mask> OR <all> OR <halloween masks> is set to yes, the result will return image of the mask ie. Template:Halloween mask check
If none of the parameters are set to yes, the image Do Not Have will be returned.
The image that is returned is 20x20 pixels.