Template:Linked icon
Revision as of 16:11, 25 March 2017 by Zadum4ivii (talk | contribs) (Created page with "<includeonly>[[File:{{{1}}}.png|link={{{2|{{{1}}}}}}{{#if:{{{size|}}}|{{!}}{{{size|}}}}}]]</includeonly><noinclude>{{doc}}</noinclude>")

[purge]
Displays the image of the named item with the image linking to the item page. Useful for icons in crafting recipes.
Usage
{{linked icon|<item name>}}
- Unnamed Parameter 1
The item name.
- Unnamed Parameter 2
(Optional) An alternate link. If present but empty, an empty link is assigned (see Dungeon Brick example below).
- size
(Optional) The size of the image.
Examples
-- linked torch icon from
{{linked icon|Torch}}
= 1×
+ 1×
-- Recipe for a candle using linked icons from
{{linked icon|Candle}} = 1×{{linked icon|Gold Bar}} + 1×{{linked icon|Torch}}
Dungeon Brick -- un-linked Blue, Green, and Pink Dungeon Brick icons
{{linked icon|Blue Brick|}}{{linked icon|Green Brick|}}{{linked icon|Pink Brick|}} [[Dungeon Brick]]