Difference between revisions of "Template:Icon item"

From Team Fortress Wiki
Jump to: navigation, search
(add new RIFT items; remove superflous #if functionality since the switch gave a null output anyway.)
m (Sun-On-A-Stick -> Sun-on-a-Stick)
Line 162: Line 162:
 
<!-- RIFT weapons -->
 
<!-- RIFT weapons -->
 
  | sun on a stick
 
  | sun on a stick
  | sun-on-a-stick = Item icon Sun-On-A-Stick.png {{!}}link={{{link|Sun-On-A-Stick{{if lang}}}}}
+
  | sun-on-a-stick = Item icon Sun-on-a-Stick.png {{!}}link={{{link|Sun-on-a-Stick{{if lang}}}}}
 
  | sharpened volcano fragment = Item icon Sharpened Volcano Fragment.png {{!}}link={{{link|Sharpened Volcano Fragment{{if lang}}}}}
 
  | sharpened volcano fragment = Item icon Sharpened Volcano Fragment.png {{!}}link={{{link|Sharpened Volcano Fragment{{if lang}}}}}
  

Revision as of 02:03, 14 February 2011

Template documentation [view] [edit] [history] [purge]

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 )