Difference between revisions of "User:KillerKooK/Template:Halloween mask check"
KillerKooK (talk | contribs) |
KillerKooK (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{#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> | |
− | <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> |
Latest revision as of 11:35, 31 January 2011
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 will be returned.
The image that is returned is 20x20 pixels.