Template:Item icon

From Guild Wars 2 Wiki
Jump to navigationJump to search


Description[edit]

{{item icon|<item name>}}

Displays a link to the item and adds the item icon in front of it.

Parameters[edit]

1 (unnamed parameter)
Item name. Defaults to "Item".
2 (unnamed parameter)
Link text. Defaults to <Item name>.
icon
Defines the icon to use. Defaults to Property:Has game icon if the icon has a name, otherwise File:Skill.png.
large
Put anything for this to make the icon twice as large.

Examples[edit]

  • Skull.pngCrushed Skull is produced from {{item icon|Crushed Skull}}
  • Hoof (9 copper).pngHoof is produced from {{item icon|Hoof (9 copper)}}
  • Hoof (2 copper).pngHoof is produced from {{item icon|Hoof|icon=Hoof (2 copper).png|large=y}}
  • Shell.pngShell is produced from {{item icon|19565}}
  • Shell.pngShelly is produced from {{item icon|Shell|Shelly}}
  • Skill.pngExample is produced from {{item icon|Nonexistent page|Example}}