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

From Team Fortress Wiki
Jump to: navigation, search
 
(16 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:Want.png|20px|text-top|Want]]
+
| want =    [[File:P Want.png|x18px|link={{{1|}}} Mask]]
| had =      [[File:Had.png|20px|text-top|Used To Have]]
+
| had =      [[File:P Had.png|x18px|link={{{1|}}} Mask]]
 
| do not
 
| do not
 
| do not want
 
| do not want
| anti =    [[File:Do Not.png|20px|text-top|Do Not Want]]
+
| anti =    [[File:P Do not want.png|x18px|link={{{1|}}} Mask]]
 
| no
 
| no
| #default = [[File:No.png|20px|text-top|Do Not Have]]
+
| #default = [[File:P Do not have.png|x18px|link={{{1|}}} Mask]]
}} | [[Item:Item icon {{{1|}}} Mask.png|x20px|link={{{1|}}} Mask]]}}
+
}}<noinclude>
 +
 
 +
== Description ==
 +
<pre>
 +
{{Halloween mask possession|<Class>|<style>}}
 +
</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.
 +
 
 +
=== Parameters ===
 +
; ''unnamed parameter'' 1: Name of class:
 +
:* Scout
 +
:* Soldier
 +
:* Pyro
 +
:* Demoman
 +
:* Heavy
 +
:* Engineer
 +
:* Medic
 +
:* Sniper
 +
;* Spy
 +
; ''unnamed parameter'' 2: Optional. Icon style, possible values:
 +
:* {{Halloween mask possession|Scout|no}} {{code|no}} - Default
 +
:* {{Halloween mask possession|Scout|had}}  {{code|had}}
 +
:* {{Halloween mask possession|Scout|yes}} {{code|yes}}, {{code|have}} - Image of Mask
 +
:* {{Halloween mask possession|Scout|want}}  {{code|want}}
 +
:* {{Halloween mask possession|Scout|anti}}  {{code|do not}}, {{code|anti}}, {{code|do not want}}
 +
: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 ==
 +
{{Image insertion templates list}}
 +
 
 +
[[Category:Formatting templates|Halloween Mask possession]]
 +
[[Category:Image insertion templates|Halloween Mask possession]]
 +
</noinclude>

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 )