GRealm Wiki
Advertisement

[[File:{{{1}}}.png|link={{{1}}}]] [[{{{1}}}|{{{1}}}]]

Template-info.png Documentation The documentation below is transcluded from Template:Item link/doc. (edit | history)

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

Usage

{{item link
| image or item name, default image and item name; if image differs from item, no brackets nor "File:" nor ".png"
| optional: custom link text, which can include line breaks (<br />), the default is the first un-named parameter
| optional: ext = image file extension, the default is png
| optional: link = custom link to item name, and link given to image
| optional: size = ##px : custom graphic size (Read Extended image syntax for details)
}}

Examples

  • Copper Ore.png Copper Ore <-- is produced from {{item link|Copper Ore}}
  • Climbing Claws.png Climbing Claws <-- is produced from {{item link|Climbing Claws}}
  • Skeletron.png Skeletron <-- is produced from {{item link|Skeletron|size=32px}}
  • Skeletron.png Skeletron <-- is produced from {{item link|Skeletron|size=x32px}}
  • Skeletron.png Skeletron <-- is produced from {{item link|Skeletron|size=32x32px}}
  • Treasure Bag.gif Treasure Bag <-- is produced from {{item link|Treasure Bag|ext=gif|link=tgc:Treasure Bag}}

Notes

To avoid html bloat, item link is not in a "nowrap". If you wish for a nowrap effect, please add them to the general table style.

Advertisement