Difference between revisions of "Template:Possession"
m |
(Change to default to No) |
||
Line 1: | Line 1: | ||
+ | {{#iferror: {{#expr:{{{1|}}} * 2}} | | ||
{{#switch: {{lc:{{{1|}}}}} | {{#switch: {{lc:{{{1|}}}}} | ||
| yes | | yes | ||
Line 7: | Line 8: | ||
| do not want | | do not want | ||
| anti = [[File:Do Not.png|15px|text-top|Do Not Want]] | | anti = [[File:Do Not.png|15px|text-top|Do Not Want]] | ||
− | | no = | + | | no |
− | | | + | | #default = [[File:No.png|15px|text-top|Do Not Have]] |
− | }}<noinclude> | + | }} | [[File:Have.png|15px|text-top|Have {{{1|n}}}]] × {{{1|n}}}}}<noinclude> |
== Description == | == Description == | ||
Line 20: | Line 21: | ||
=== Parameters === | === Parameters === | ||
− | ; ''unnamed parameter'' 1 | + | ; ''unnamed parameter'' 1: Optional. Icon style, possible values: |
− | : Optional. Icon style, possible values: | + | :* {{possession|no}} {{code|no}} - Default |
− | :* {{possession|no}} {{code|no}} | + | :* {{possession|had}} {{code|had}} |
− | :* {{possession|had}} {{code|had}} | ||
:* {{possession|yes}} {{code|yes}}, {{code|have}} | :* {{possession|yes}} {{code|yes}}, {{code|have}} | ||
− | :* {{possession|want}} {{code|want}} | + | :* {{possession|want}} {{code|want}} |
− | :* {{possession|anti}} {{code|do not}}, {{code|anti}} | + | :* {{possession|anti}} {{code|do not}}, {{code|anti}}, {{code|do not want}} |
− | :* {{possession|22}} | + | :* {{possession|22}} - If the software thinks that ''1'' is a number, produces this. |
== See also == | == See also == |
Revision as of 12:33, 24 November 2010
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:
See also
Image insertion templates (
)- Team Fortress 2
{{Backpack icon}}
– for inserting an image from the backpack.{{Backpack item}}
– for displaying loadout stats.{{Icon class}}
– for displaying class icons.{{Icon item}}
– for displaying images from the item icons done in Shugo style.{{Icon killicon}}
– for displaying kill icon images.{{Kill notice}}
– for displaying a kill notice.
- Wiki-related
{{Possession}}
– for displaying the icons used in{{Item checklist}}
.{{User halloween mask possession}}
– for displaying Halloween Mask icons used in hat and item checklists.{{Comment}}
– for displaying "Support", "Oppose" and "Comment" symbols.{{Pro}}
,{{Con}}
&{{Neut}}
; Compact form for common uses of{{Comment}}
{{Flagicon}}
– generates the flag icon of a country when given the country code.