Template:Linked icon

From Tremor Mod Wiki
Revision as of 16:07, 2 June 2017 by Tymon80 (talk | contribs) (Protected "Template:Linked icon": Counter-productive edit warring ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(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.

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

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]]