Difference between revisions of "Template:Possession"
m |
|||
(11 intermediate revisions by 2 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| | + | | have = [[File:P Have.png|16px|bottom|Have]] |
− | | want = [[File:Want.png| | + | | want = [[File:P Want.png|16px|bottom|Want]] |
− | | had = [[File:Had.png| | + | | had = [[File:P Had.png|16px|bottom|Used To Have]] |
− | | anti = [[File:Do | + | | do not |
+ | | do not want | ||
+ | | anti = [[File:P Do not want.png|16px|bottom|Do Not Want]] | ||
| no | | no | ||
− | | #default = [[File: | + | | #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 == | == Description == | ||
<pre> | <pre> | ||
Line 18: | Line 23: | ||
=== Parameters === | === Parameters === | ||
− | ; ''unnamed parameter'' 1 | + | ; ''unnamed parameter'' 1: Optional. Icon style, possible values: |
− | : Optional. Icon style, possible values: | + | :* {{possession|no}} {{code|no}} - Default |
− | :* {{possession}} | + | :* {{possession|had}} {{code|had}} |
− | :* {{possession|had}} | + | :* {{possession|yes}} {{code|yes}}, {{code|have}} |
− | :* {{possession|yes}} | + | :* {{possession|want}} {{code|want}} |
− | :* {{possession|want}} | + | :* {{possession|anti}} {{code|do not}}, {{code|anti}}, {{code|do not want}} |
− | :* {{possession|anti}} | + | :* {{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 == | == See also == |
Latest revision as of 02:55, 23 October 2014
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:
- Plus two non-specific ones to create your own key:
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.