Difference between revisions of "Template:Icon item/doc"
BrazilianNut (talk | contribs) m |
|||
(10 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == Usage == |
− | + | Generates an image of a weapon or other item and creates a link to it. There are several parameters available for use. | |
− | |||
− | |||
− | === | + | === Examples === |
+ | * {{tlx|icon item|Grenade Launcher|100px}} generates | ||
+ | ::{{icon item|Grenade Launcher|100px}} | ||
+ | * {{tlx|icon item|Grenade Launcher|100px}} when used on any {{code|de}} language page will generate the below (click the icon): | ||
+ | ::{{icon item|Grenade Launcher|100px|link=Grenade Launcher/de}} | ||
+ | * {{tlx|icon item|Grenade Launcher|100px|4=link=Article name here}} generates | ||
+ | ::{{icon item|Grenade Launcher|100px|link=Article name here}} | ||
− | + | === Accepted names === | |
− | + | This template accepts the name of any cosmetic, weapon, taunt etc. | |
− | |||
− | |||
− | |||
− | |||
− | + | The template is spelling and case sensitive. For example: | |
+ | * {{xt|{{code|Killing Gloves of Boxing}}}} is correct and {{!xt|{{code|K.G.B.}}}} is not | ||
+ | * {{xt|{{code|Medi Gun}}}} is correct and {{!xt|{{code|Medigun}}}} is not | ||
+ | * {{xt|{{code|Batter's Helmet}}}} is correct and {{!xt|{{code|batter's helmet}}}} is not | ||
− | + | == See also == | |
− | + | {{Image insertion templates list}}<noinclude>[[Category:Template documentation]]</noinclude> | |
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 16:46, 16 November 2023
Contents
Usage
Generates an image of a weapon or other item and creates a link to it. There are several parameters available for use.
Examples
{{icon item|Grenade Launcher|100px}}
generates
{{icon item|Grenade Launcher|100px}}
when used on anyde
language page will generate the below (click the icon):
{{icon item|Grenade Launcher|100px|link=Article name here}}
generates
Accepted names
This template accepts the name of any cosmetic, weapon, taunt etc.
The template is spelling and case sensitive. For example:
Killing Gloves of Boxing
is correct andK.G.B.
is notMedi Gun
is correct andMedigun
is notBatter's Helmet
is correct andbatter's helmet
is not
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.