Template:Item icon

From GuildWiki
Jump to: navigation, search

[[Image:{{{icon}}}|x25px||{{{alttxt}}}]]

Description

This template has two functions:

  1. Display an item icon with the wiki-linked item name, similar to {{Skill icon}}.
  2. Display an image at a user-specified size with user-specified alt text.

Usage 1

{{item icon | <item>}}
Displays item icon and linked item name.
Example:

Usage 2

{{item icon | icon = | size = | link = | alttxt = }}
icon
The full name of the image file to display: Iron Ingot.png
size
The size to display the image at, specified as normal: 25px or x25px or 25x25px
link
The title of the article to link to: Iron Ingot
alttxt
The alt text to display over the image: Iron Ingot(s)

Example: Steel Ingot