Difference between revisions of "Template:Icon item/doc"

From Team Fortress Wiki
Jump to: navigation, search
m
 
(8 intermediate revisions by 7 users not shown)
Line 3: Line 3:
  
 
=== Examples ===
 
=== Examples ===
* {{tlx|icon item|2=item=Grenade Launcher|3=icon-size=100px}} generates
+
* {{tlx|icon item|Grenade Launcher|100px}} generates
::{{icon item|item=Grenade Launcher|icon-size=100px}}
+
::{{icon item|Grenade Launcher|100px}}
* {{tlx|icon item|2=item=Grenade Launcher|3=icon-size=100px}} when used on any {{code|de}} language page will generate
+
* {{tlx|icon item|Grenade Launcher|100px}} when used on any {{code|de}} language page will generate the below (click the icon):
::{{icon item|item=Grenade Launcher|icon-size=100px|link=Grenade Launcher/de}}
+
::{{icon item|Grenade Launcher|100px|link=Grenade Launcher/de}}
* {{tlx|icon item|2=item=Grenade Launcher|3=icon-size=100px|4=link=Article name here}} generates
+
* {{tlx|icon item|Grenade Launcher|100px|4=link=Article name here}} generates
::{{icon item|item=Grenade Launcher|icon-size=100px|link=Article name here}}
+
::{{icon item|Grenade Launcher|100px|link=Article name here}}
  
== Weapon names ==
+
=== Accepted names ===
 +
This template accepts the name of any cosmetic, weapon, taunt etc.
  
{| class="wikitable grid"
+
The template is spelling and case sensitive. For example:
! class="header" | Weapon
+
* {{xt|{{code|Killing Gloves of Boxing}}}} is correct and {{!xt|{{code|K.G.B.}}}} is not
! class="header" | Headwear
+
* {{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
| scattergun
+
 
| batter's helmet
+
== See also ==
|-
+
{{Image insertion templates list}}<noinclude>[[Category:Template documentation]]</noinclude>
| rocket launcher
 
| bonk helm
 
|-
 
| flamethrower
 
| ye olde baker boy
 
|-
 
| grenade launcher
 
| troublemaker's tossle cap
 
|-
 
| stickybomb launcher
 
| whoopee cap
 
|-
 
| minigun
 
| baseball bill's sports shine
 
|-
 
| shotgun
 
|-
 
| syringe gun
 
|-
 
| sniper rifle
 
|-
 
| revolver
 
|-
 
| pistol
 
|-
 
| medigun
 
|-
 
| submachine gun
 
|-
 
| electro sapper
 
|-
 
| bat
 
|-
 
| shovel
 
|-
 
| fire axe
 
|-
 
| bottle
 
|-
 
| wrench
 
|-
 
| bonesaw
 
|-
 
| kukri
 
|-
 
| knife
 
|-
 
| disguise kit
 
|-
 
| invisibility watch
 
|-
 
| builder
 
|-
 
| destroy
 
|-
 
| fists
 
|-
 
| force-a-nature
 
|-
 
| direct hit
 
|-
 
| backburner
 
|-
 
| natascha
 
|-
 
| blutsauger
 
|-
 
| huntsman
 
|-
 
| ambassador
 
|-
 
| big kill
 
|-
 
| bonk
 
|-
 
| crit-a-cola
 
|-
 
| lugermorph
 
|-
 
| buff banner
 
|-
 
| gunboats
 
|-
 
| flare gun
 
|-
 
| scottish resistance
 
|-
 
| chargin' targe
 
|-
 
| sandvich
 
|-
 
| dalokohs bar
 
|-
 
| kritzkrieg
 
|-
 
| jarate
 
|-
 
| razorback
 
|-
 
| sandman
 
|-
 
| equalizer
 
|-
 
| axtinguisher
 
|-
 
| homewrecker
 
|-
 
| eyelander
 
|-
 
| pain train
 
|-
 
| kgb
 
|-
 
| ubersaw
 
|-
 
| dead ringer
 
|-
 
| cloak and dagger
 
|-
 
| tribalman's shiv
 
|-
 
| scotsman's skullcutter
 
|-
 
| golden wrench
 
|-
 
| southern hospitality
 
|-
 
| frontier justice
 
|-
 
| gunslinger
 
|-
 
| wrangler
 
|-
 
| hadouken
 
|-
 
| oktoberfest
 
|-
 
| skewer
 
|-
 
| home run
 
|-
 
| kamikaze
 
|-
 
| decapitation
 
|-
 
| spinal tap
 
|-
 
| showdown
 
|-
 
| fencing
 
|-
 
| dischord
 
|-
 
| organ grinder
 
|-
 
| toolbox
 
|}<noinclude>[[Category:Template documentation]]</noinclude>
 

Latest revision as of 16:46, 16 November 2023

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
Grenade Launcher
  • {{icon item|Grenade Launcher|100px}} when used on any de language page will generate the below (click the icon):
Grenade Launcher
  • {{icon item|Grenade Launcher|100px|link=Article name here}} generates
Grenade Launcher

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 and K.G.B. is not
  • Medi Gun is correct and Medigun is not
  • Batter's Helmet is correct and batter's helmet is not

See also

Image insertion templatesview  edit )