Template:Icon: Difference between revisions
Template page
More actions
m Add continent/world (and Loka) linked icon entries |
m Add continent/world (and Loka) linked icon entries |
||
| Line 20: | Line 20: | ||
Continent/world icons (and <code>Loka</code>) are a linked kind instead: icon and name render bundled together as a single link to the subject's own article, e.g. <code><nowiki>{{Icon|Zyre}}</nowiki></code> alone renders the icon and "Zyre" as one link, with nothing more to type next to it. | Continent/world icons (and <code>Loka</code>) are a linked kind instead: icon and name render bundled together as a single link to the subject's own article, e.g. <code><nowiki>{{Icon|Zyre}}</nowiki></code> alone renders the icon and "Zyre" as one link, with nothing more to type next to it. | ||
In running prose: | |||
<pre>A premium [[Account Transfer]] costs 500 {{Icon|Orbs}} Orbs.</pre> | |||
renders as: | |||
: A premium [[Account Transfer]] costs 500 {{Icon|Orbs}} Orbs. | |||
== Supported icons == | == Supported icons == | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! Example | ||
! Renders | ! Aliases | ||
! File | |||
! Renders as | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Orbs}}</nowiki></code> | ||
| [[File:Orbs icon.png| | | <code>orb</code> | ||
| [[:File:Orbs icon.png]] | |||
| {{Icon|Orbs}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Ascalon}}</nowiki></code> | ||
| [[File:Shield ascalon.png| | | — | ||
| [[:File:Shield ascalon.png]] | |||
| {{Icon|Ascalon}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Kalros}}</nowiki></code> | ||
| [[File:Shield kalros.png| | | — | ||
| [[:File:Shield kalros.png]] | |||
| {{Icon|Kalros}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Garama}}</nowiki></code> | ||
| [[File:Shield garama.png| | | — | ||
| [[:File:Shield garama.png]] | |||
| {{Icon|Garama}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Aladra}}</nowiki></code> | ||
| [[File:Shield aladra.png| | | — | ||
| [[:File:Shield aladra.png]] | |||
| {{Icon|Aladra}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Balak}}</nowiki></code> | ||
| [[File:Shield balak.png| | | — | ||
| [[:File:Shield balak.png]] | |||
| {{Icon|Balak}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Rivina}}</nowiki></code> | ||
| [[File:Shield rivina.png| | | — | ||
| [[:File:Shield rivina.png]] | |||
| {{Icon|Rivina}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Zyre}}</nowiki></code> | ||
| [[File:Shield pvp.png| | | — | ||
| [[:File:Shield pvp.png]] | |||
| {{Icon|Zyre}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|The End}}</nowiki></code> | ||
| [[File:Shield end.png| | | — | ||
| [[:File:Shield end.png]] | |||
| {{Icon|The End}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Nether}}</nowiki></code> | ||
| [[File:Shield nether.png| | | — | ||
| [[:File:Shield nether.png]] | |||
| {{Icon|Nether}} | |||
|- | |- | ||
| <code> | | <code><nowiki>{{Icon|Loka}}</nowiki></code> | ||
| [[File:Loka icon.png| | | — | ||
| [[:File:Loka icon.png]] | |||
| {{Icon|Loka}} | |||
|} | |} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 19:44, 21 August 2026
Usage
{{Icon|Orbs}}
Renders just the icon (case-insensitive name match) -- put it before a word in running prose yourself, e.g. {{Icon|Orbs}} Orbs, the same way Template:Infobox tournament's mode icon sits before "3v3"/"Potion". An unrecognised name renders a visible error instead of silently showing nothing, so a typo is easy to spot.
Continent/world icons (and Loka) are a linked kind instead: icon and name render bundled together as a single link to the subject's own article, e.g. {{Icon|Zyre}} alone renders the icon and "Zyre" as one link, with nothing more to type next to it.
In running prose:
A premium [[Account Transfer]] costs 500 {{Icon|Orbs}} Orbs.
renders as:
- A premium Account Transfer costs 500 Orbs.
Supported icons
| Example | Aliases | File | Renders as |
|---|---|---|---|
{{Icon|Orbs}}
|
orb
|
File:Orbs icon.png | |
{{Icon|Ascalon}}
|
— | File:Shield ascalon.png | |
{{Icon|Kalros}}
|
— | File:Shield kalros.png | |
{{Icon|Garama}}
|
— | File:Shield garama.png | |
{{Icon|Aladra}}
|
— | File:Shield aladra.png | |
{{Icon|Balak}}
|
— | File:Shield balak.png | |
{{Icon|Rivina}}
|
— | File:Shield rivina.png | |
{{Icon|Zyre}}
|
— | File:Shield pvp.png | |
{{Icon|The End}}
|
— | File:Shield end.png | |
{{Icon|Nether}}
|
— | File:Shield nether.png | |
{{Icon|Loka}}
|
— | File:Loka icon.png |