Difference between revisions of "Template:Possession"

From Team Fortress Wiki
Jump to: navigation, search
(- testing text)
Line 1: Line 1:
{{#switch: {{lc:{{{1}}}}}
+
{{#switch: {{lc:{{{1|}}}}}
 
| yes
 
| yes
 
| have =    [[File:Have.png|15px|text-top]]
 
| have =    [[File:Have.png|15px|text-top]]
 
| want =    [[File:Want.png|15px|text-top]]
 
| want =    [[File:Want.png|15px|text-top]]
 
| had =      [[File:Had.png|15px|text-top]]
 
| had =      [[File:Had.png|15px|text-top]]
 +
| do not
 
| anti =    [[File:Do Not.png|15px|text-top]]
 
| anti =    [[File:Do Not.png|15px|text-top]]
| no
+
| no =      [[File:No.png|15px|text-top]]
| #default = [[File:No.png|15px|text-top]]
+
| #default = [[File:Have.png|15px|text-top]] × {{{1|Number}}}
 
}}<noinclude>
 
}}<noinclude>
  
Line 20: Line 21:
 
; ''unnamed parameter'' 1
 
; ''unnamed parameter'' 1
 
: Optional. Icon style, possible values:
 
: Optional. Icon style, possible values:
:* {{possession}} ''(default no)''
+
:* {{possession|no}} {{code|no}}
:* {{possession|had}} <code>had</code>
+
:* {{possession|had}} {{code|had}},
:* {{possession|yes}} <code>yes (have)</code>
+
:* {{possession|yes}} {{code|yes}}, {{code|have}}
:* {{possession|want}} <code>want</code>
+
:* {{possession|want}} {{code|want}},
:* {{possession|anti}} <code>do not</code>
+
:* {{possession|anti}} {{code|do not}}, {{code|anti}}
 +
:* {{possession|22}} Anything other than the above keywords produces this.
  
 
== See also ==
 
== See also ==

Revision as of 13:34, 23 November 2010

P Have.png × Number

Description

{{possession|<style>}}
or
{{p|<style>}}

This template generates an image to represent possession of an item or hat in tables or checklists.

Parameters

unnamed parameter 1
Optional. Icon style, possible values:
  • Do Not Have no
  • Used To Have had,
  • Have yes, have
  • Want want,
  • Do Not Want do not, anti
  • Have 22 × 22 Anything other than the above keywords produces this.

See also

Image insertion templatesview  edit )