Template:Itemicon

From Runes of Magic Wiki
Jump to: navigation, search

This template is called by Template:Itemlink and Template:BWItem. It can be used by anyone to add icons to tables or whatever.

For icons with transparent background, this SHOULD use class="blackground" to set the background to BLACK.

Usage: {{Itemicon|itemname|altname|iconname=|px=|noicon=|nolink=|redlink=|target=}}

Example:

{{Itemicon|Blessed Herb|px=40}}
Blessed Herb 
iconname
You can totally override the default item icon name here. Be sure to include the file extension!
px
Default size is 14px but you can override it here
noicon
(switch) This should really have been handled in the template that called this one, but we do pass the value just to be sure.
nolink
(switch) If not blank, do not link the icon to the item page.
redlink
(switch) If not blank and the icon does not exist, display a redlink to the desired image location with the text "icon".


Bludwyng
This template was created, or is maintained, by Bludwyng (contribs).

In-game, you can find me on Aeterna. I regularly play: Mithrandyr, Bludwyng, Grymjack


Bludwyng's: PagesTemplatesWants/HavesSandbox