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

From Team Fortress Wiki
Jump to: navigation, search
(Created page with '-->[[File:Item icon {{#ifexpr: {{#ifeq:{{{1|}}}|yes|1|0}} or {{#ifeq:{{{2|}}}|yes|1|0}} or {{#ifeq:{{{3|}}}|yes|1|0}} |Scout Mask|Missing}}.png|x20px|link=Scout Mask]]<!-- […')
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
-->[[File:Item icon {{#ifexpr: {{#ifeq:{{{1|}}}|yes|1|0}} or {{#ifeq:{{{2|}}}|yes|1|0}} or {{#ifeq:{{{3|}}}|yes|1|0}}
+
{{#ifexpr: {{#ifeq:{{{2|}}}|yes|1|0}} or {{#ifeq:{{{3|}}}|yes|1|0}} or {{#ifeq:{{{4|}}}|yes|1|0}}|[[File:Item icon {{{1|}}} Mask.png|x20px|link={{{1|}}} Mask]]|{{P|{{{2|{{{4|{{{3|}}}}}}}}}}}}}<noinclude>
  |Scout Mask|Missing}}.png|x20px|link=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__
[[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]]
+
{{Template doc}}
 +
</noinclude>

Latest revision as of 11:35, 31 January 2011

Do Not Have 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.