User:Xspawn Lpc/Template:XSPITEMICON
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
{{XSPITEMICON|<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]
- Template:XSPITEMICON is produced from
{{XSPITEMICON|Crushed Skull}} - Template:XSPITEMICON is produced from
{{XSPITEMICON|Hoof (9 copper)}} - Template:XSPITEMICON is produced from
{{XSPITEMICON|Hoof|icon=Hoof (2 copper).png|large=y}} - Template:XSPITEMICON is produced from
{{XSPITEMICON|19565}} - Template:XSPITEMICON is produced from
{{XSPITEMICON|Shell|Shelly}} - Template:XSPITEMICON is produced from
{{XSPITEMICON|Nonexistent page|Example}}