Template:Linked icon

From Tremor Mod Wiki
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>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.png Documentation The documentation below is transcluded from Template:Linked icon/doc. (edit | history)

Displays the image of the named item with the image linking to the item page. Useful for icons in crafting recipes.


{{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).


(Optional) The size of the image.


Torch.png -- linked torch icon from {{linked icon|Torch}}

Candle.png = 1×Gold Bar.png + 1×Torch.png -- Recipe for a candle using linked icons from {{linked icon|Candle}} = 1×{{linked icon|Gold Bar}} + 1×{{linked icon|Torch}}

Blue Brick.pngGreen Brick.pngPink Brick.png 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]]