Template:Icon/doc

From Lotro-Wiki.com
Jump to navigation Jump to search
This is the template documentation for {{Icon}}. It is transcluded from Template:Icon/doc and may be directly edited there.

Description

Creates an item icon with a stack count overlay.
The image can also be linked to a page, specified by link.
Size can have the following values - default is 3 for 32px:
  • 1 = 64px
  • 2 = 48px
  • 3 = 32px
  • 4 = 24px

Syntax

{{Icon|<icon> |<stack> |<size> |<size=> |<link=>}}

Example

{{Icon
 |Pure Athelas Extract-icon 
 |5 
}}
{{Icon
 |Embers of Enchantment-icon 
 |2000
}}
Result
5
2000

Disabling icon existence checking

This template normally checks for the existence of the icon, but that requires an "expensive parser function call". If your page contains lots of icons, it may not fully render, and it may be added to Category:Pages with too many expensive parser function calls. To fix this, you can disable the icon existence checks by adding the following to the top of the page:

{{Icon/skip icon existence check}}