Template:Icon
Template page
More actions
Usage
{{Icon|Orbs}}
Renders the icon and name bundled together as a single link to the subject's own article (case-insensitive name match) -- e.g. {{Icon|Zyre}} alone renders the icon and "Zyre" as one link, nothing more to type next to it. An unrecognised name renders a visible error instead of silently showing nothing, so a typo is easy to spot.
In running prose:
A premium [[Account Transfer]] costs 500 {{Icon|Orbs}}.
renders as:
- A premium Account Transfer costs 500 .
A name with more than one icon (e.g. two senses of the same abbreviation) takes an optional second parameter to pick which one -- {{Icon|LCR|Ballot}} -- and, where one is defined, falls back to a default variant if the second parameter is left out. Some names (e.g. Rank) have no default and require an explicit variant.
Supported icons
Donator Star
| Example | Variant | Aliases | File | Renders as |
|---|---|---|---|---|
{{Icon|donator star|<variant>}}
|
1
|
donor
|
File:Donator Star icon (1).png | |
2
|
File:Donator Star icon (2).png | |||
3
|
File:Donator Star icon (3).png | |||
4
|
File:Donator Star icon (4).png | |||
5
|
File:Donator Star icon (5).png | |||
6
|
File:Donator Star icon (6).png |
Ranked icons
| Example | Variant | Aliases | File | Renders as |
|---|---|---|---|---|
{{Icon|rank|<variant>}}
|
wood
|
— | File:Rank icon (wood).png | |
stone1
|
File:Rank icon (stone1).png | |||
stone2
|
File:Rank icon (stone2).png | |||
stone3
|
File:Rank icon (stone3).png | |||
iron1
|
File:Rank icon (iron1).png | |||
iron2
|
File:Rank icon (iron2).png | |||
iron3
|
File:Rank icon (iron3).png | |||
copper1
|
File:Rank icon (copper1).png | |||
copper2
|
File:Rank icon (copper2).png | |||
copper3
|
File:Rank icon (copper3).png | |||
gold1
|
File:Rank icon (gold1).png | |||
gold2
|
File:Rank icon (gold2).png | |||
gold3
|
File:Rank icon (gold3).png | |||
emerald1, em1
|
File:Rank icon (emerald1).png | |||
emerald2, em2
|
File:Rank icon (emerald2).png | |||
emerald3, em3
|
File:Rank icon (emerald3).png | |||
diamond1, dia1
|
File:Rank icon (diamond1).png | |||
diamond2, dia2
|
File:Rank icon (diamond2).png | |||
diamond3, dia3
|
File:Rank icon (diamond3).png | |||
netherite1, neth1
|
File:Rank icon (netherite1).png | |||
netherite2, neth2
|
File:Rank icon (netherite2).png | |||
netherite3, neth3
|
File:Rank icon (netherite3).png | |||
bedrock
|
File:Rank icon (bedrock).png |