Difference between revisions of "Template:Possession"

From Team Fortress Wiki
Jump to: navigation, search
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#switch: {{lc:{{{1}}}}}
+
{{#iferror: {{#expr:{{{1|}}} * 2}} |
 +
{{#switch: {{lc:{{{1|}}}}}
 +
| triangle = [[File:P Formerly.png|16px|bottom]]
 +
| dash =    [[File:P Dash.png|16px|bottom]]
 
| yes
 
| yes
| have =    [[File:Have.png|20px]]
+
| have =    [[File:P Have.png|16px|bottom|Have]]
| want =    [[File:Want.png|20px]]
+
| want =    [[File:P Want.png|16px|bottom|Want]]
| had =      [[File:Had.png|20px]]
+
| had =      [[File:P Had.png|16px|bottom|Used To Have]]
| anti =    [[File:Do Not.png|20px]]
+
| do not
 +
| do not want
 +
| anti =    [[File:P Do not want.png|16px|bottom|Do Not Want]]
 
| no
 
| no
| #default = [[File:No.png|20px]]
+
| #default = [[File:P Do not have.png|16px|bottom|Do Not Have]]
}}
+
}} | [[File:P Have.png|16px|bottom|Have {{{1|n}}}]] × {{{1|n}}}}}<noinclude>
 +
{{Doc begin}}
 +
== Description ==
 +
<pre>
 +
{{possession|<style>}}
 +
or
 +
{{p|<style>}}
 +
</pre>
 +
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:
 +
:* {{possession|no}} {{code|no}} - Default
 +
:* {{possession|had}} {{code|had}}
 +
:* {{possession|yes}} {{code|yes}}, {{code|have}}
 +
:* {{possession|want}} {{code|want}}
 +
:* {{possession|anti}} {{code|do not}}, {{code|anti}}, {{code|do not want}}
 +
:* {{possession|22}} - If the software thinks that ''1'' is a number, produces this.
 +
:Plus two non-specific ones to create your own key:
 +
:* {{possession|triangle}} {{code|triangle}}
 +
:* {{possession|dash}} {{code|dash}}
 +
 
 +
== See also ==
 +
{{Image insertion templates list}}
 +
 
 +
[[Category:Formatting templates|Possession]]
 +
[[Category:Image insertion templates|Possession]]
 +
</noinclude>

Latest revision as of 02:55, 23 October 2014

Do Not Have

Documentation for Possession

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 - Default
  • Used To Have had
  • Have yes, have
  • Want want
  • Do Not Want do not, anti, do not want
  • Have 22 × 22 - If the software thinks that 1 is a number, produces this.
Plus two non-specific ones to create your own key:
  • P Formerly.png triangle
  • P Dash.png dash

See also

Image insertion templatesview  edit )