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

From Team Fortress Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
This template is to be used in the Item checklist or Hat checklist template.
 
<pre>
 
<pre>
 
{{Halloween mask check|<Class name>|{{{<class> mask|}}}|{{{all|}}}|{{{halloween mask|}}}}}
 
{{Halloween mask check|<Class name>|{{{<class> mask|}}}|{{{all|}}}|{{{halloween mask|}}}}}
Example:  
+
Example for Scout Mask:  
 
{{Halloween mask check|Scout|{{{scout mask|}}}|{{{all|}}}|{{{halloween mask|}}}}}
 
{{Halloween mask check|Scout|{{{scout mask|}}}|{{{all|}}}|{{{halloween mask|}}}}}
 
</pre>
 
</pre>
  
If <class mask> OR <all> OR <halloween masks> is set to <yes>, the result will return image of the mask <br />
+
If <class mask> OR <all> OR <halloween masks> is set to yes, the result will return image of the mask ie. {{Halloween mask check|Scout|{{{scout mask|}}}|{{{all|}}}|{{{halloween mask|}}}}}<br />
Will return missing if none are set to <yes>
+
If none of the parameters are set to yes, {{P|no}} will be returned. <br />
 +
The image that is returned is 20x20 pixels.

Revision as of 09:40, 24 December 2010

This template is to be used in the Item checklist or Hat checklist template.

{{Halloween mask check|<Class name>|{{{<class> mask|}}}|{{{all|}}}|{{{halloween mask|}}}}}
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, Do Not Have will be returned.
The image that is returned is 20x20 pixels.