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

From Team Fortress Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
This template is to be used in the "Item checklist" or "User 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:  
+
An 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 ''{{code|yes}}'', the image {{P|no}} will be returned. <br />
 +
The image that is returned is 20x20 pixels.

Latest revision as of 09:51, 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 Do Not Have will be returned.
The image that is returned is 20x20 pixels.