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

From Team Fortress Wiki
Jump to: navigation, search
(upd doc so people use |item= syntax less)
Line 3: Line 3:
  
 
=== Examples ===
 
=== Examples ===
* {{tlx|icon item|Grenade Launcher|100px}} generates
+
* {{tlx|iconojjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj Launcher|100px}} generates
 
::{{icon item|Grenade Launcher|100px}}
 
::{{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):
 
* {{tlx|icon item|Grenade Launcher|100px}} when used on any {{code|de}} language page will generate the below (click the icon):

Revision as of 15:10, 31 October 2022

Usage

Generates an image of a weapon or other item and creates a link to it. There are several parameters available for use.

Examples

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 hat, misc, 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 )