Enigma Mod Wiki
Advertisement

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

Template-info.svg 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

  • Chilled Bar.png Chilled Bar <-- is produced from {{item link|Chilled Bar}}
  • Scydian.png Scydian <-- is produced from {{item link|Scydian}}
  • Hypothema.png Hypothema <-- is produced from {{item link|Hypothema|size=32px}}
  • Hypothema.png Hypothema <-- is produced from {{item link|Hypothema|size=x32px}}
  • Hypothema.png Hypothema <-- is produced from {{item link|Hypothema|size=32x32px}}
  • Treasure Bag.gif Treasure Bag <-- is produced from {{item link|Treasure Bag|ext=gif}}

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