Difference between revisions of "Template:User halloween mask possession"

From Team Fortress Wiki
Jump to: navigation, search
m
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#iferror: {{#expr:{{{2|}}} * 2}} |
 
 
{{#switch: {{{2|}}}
 
{{#switch: {{{2|}}}
 +
| triangle = [[File:P Formerly.png|18px]]
 +
| dash =    [[File:P Dash.png|18px]]
 
| yes  
 
| yes  
| have =    [[File:Item icon {{{1|}}} Mask.png|x20px|link={{{1|}}} Mask]]
+
| have =    [[File:Item icon {{{1|}}} Mask.png|25px|link={{{1|}}} Mask]]
| want =    [[File:Item icon Want.png|x20px|link={{{1|}}} Mask]]
+
| want =    [[File:P Want.png|x18px|link={{{1|}}} Mask]]
| had =      [[File:Item icon Had.png|x20px|link={{{1|}}} Mask]]
+
| had =      [[File:P Had.png|x18px|link={{{1|}}} Mask]]
 
| do not
 
| do not
 
| do not want
 
| do not want
| anti =    [[File:Item icon Do Not.png|x20px|link={{{1|}}} Mask]]
+
| anti =    [[File:P Do not want.png|x18px|link={{{1|}}} Mask]]
 
| no
 
| no
| #default = [[File:Item icon Missing.png|x20px|link={{{1|}}} Mask]]
+
| #default = [[File:P Do not have.png|x18px|link={{{1|}}} Mask]]
}} | [[File:Item icon {{{1|}}} Mask.png|x20px|link={{{1|}}} Mask]]}}<noinclude>
+
}}<noinclude>
  
 
== Description ==
 
== Description ==
 
<pre>
 
<pre>
{{Halloween Mask possession|<Class>|<style>}}
+
{{Halloween mask possession|<Class>|<style>}}
 
</pre>
 
</pre>
 
This template generates an image to represent possession of an item or hat in tables or checklists. However if possession is set to {{code|yes}}, an image of the Class's mask is produced.  
 
This template generates an image to represent possession of an item or hat in tables or checklists. However if possession is set to {{code|yes}}, an image of the Class's mask is produced.  
Line 30: Line 31:
 
;* Spy
 
;* Spy
 
; ''unnamed parameter'' 2: Optional. Icon style, possible values:
 
; ''unnamed parameter'' 2: Optional. Icon style, possible values:
:* {{User:KillerKooK/Template:Halloween Mask possession|Scout|no}} {{code|no}} - Default
+
:* {{Halloween mask possession|Scout|no}} {{code|no}} - Default
:* {{User:KillerKooK/Template:Halloween Mask possession|Scout|had}}  {{code|had}}
+
:* {{Halloween mask possession|Scout|had}}  {{code|had}}
:* {{User:KillerKooK/Template:Halloween Mask possession|Scout|yes}} {{code|yes}}, {{code|have}} - Image of Mask
+
:* {{Halloween mask possession|Scout|yes}} {{code|yes}}, {{code|have}} - Image of Mask
:* {{User:KillerKooK/Template:Halloween Mask possession|Scout|want}}  {{code|want}}
+
:* {{Halloween mask possession|Scout|want}}  {{code|want}}
:* {{User:KillerKooK/Template:Halloween Mask possession|Scout|anti}}  {{code|do not}}, {{code|anti}}, {{code|do not want}}
+
:* {{Halloween mask possession|Scout|anti}}  {{code|do not}}, {{code|anti}}, {{code|do not want}}
:* {{User:KillerKooK/Template:Halloween Mask possession|Scout|yes}} - If the software thinks that ''1'' is a number, produces this.  - Image of Mask
+
:Plus two non-specific ones to create your own key:
 +
:* {{Halloween mask possession|Scout|triangle}} {{code|triangle}}
 +
:* {{Halloween mask possession|Scout|dash}} {{code|dash}}
  
 
== See also ==
 
== See also ==

Latest revision as of 00:22, 1 November 2012

P Do not have.png

Description

{{Halloween mask possession|<Class>|<style>}}

This template generates an image to represent possession of an item or hat in tables or checklists. However if possession is set to yes, an image of the Class's mask is produced.

Parameters

unnamed parameter 1
Name of class:
  • Scout
  • Soldier
  • Pyro
  • Demoman
  • Heavy
  • Engineer
  • Medic
  • Sniper
  • Spy
unnamed parameter 2
Optional. Icon style, possible values:
  • P Do not have.png no - Default
  • P Had.png had
  • Item icon Scout Mask.png yes, have - Image of Mask
  • P Want.png want
  • P Do not want.png do not, anti, do not want
Plus two non-specific ones to create your own key:
  • P Formerly.png triangle
  • P Dash.png dash

See also

Image insertion templatesview  edit )