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 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Icon/styles.css" />{{#switch:{{lc:{{{1|}}}}} | <includeonly><templatestyles src="Template:Icon/styles.css" />{{#switch:{{lc:{{{1|}}}}} | ||
|orbs|orb=<span class="loka-icon loka-icon--orbs">[[File:Orbs icon.png|x14px|link=Orbs|alt=Orbs]]</span> | |orbs|orb=<span class="loka-icon loka-icon--orbs loka-icon--linked">[[File:Orbs icon.png|x14px|link=Orbs|alt=Orbs]] [[Orbs|Orbs]]</span> | ||
|ascalon=<span class="loka-icon loka-icon--ascalon loka-icon--linked">[[File:Shield ascalon.png|14px|link=Ascalon|alt=Ascalon]] [[Ascalon|Ascalon]]</span> | |ascalon=<span class="loka-icon loka-icon--ascalon loka-icon--linked">[[File:Shield ascalon.png|14px|link=Ascalon|alt=Ascalon]] [[Ascalon|Ascalon]]</span> | ||
|kalros=<span class="loka-icon loka-icon--kalros loka-icon--linked">[[File:Shield kalros.png|14px|link=Kalros|alt=Kalros]] [[Kalros|Kalros]]</span> | |kalros=<span class="loka-icon loka-icon--kalros loka-icon--linked">[[File:Shield kalros.png|14px|link=Kalros|alt=Kalros]] [[Kalros|Kalros]]</span> | ||
| Line 17: | Line 17: | ||
<pre>{{Icon|Orbs}}</pre> | <pre>{{Icon|Orbs}}</pre> | ||
Renders | Renders the icon and name bundled together as a single link to the subject's own article (case-insensitive name match) -- e.g. <code><nowiki>{{Icon|Zyre}}</nowiki></code> 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: | In running prose: | ||
<pre>A premium [[Account Transfer]] costs 500 {{Icon|Orbs}} | <pre>A premium [[Account Transfer]] costs 500 {{Icon|Orbs}}.</pre> | ||
renders as: | renders as: | ||
: A premium [[Account Transfer]] costs 500 {{Icon|Orbs}} | : A premium [[Account Transfer]] costs 500 {{Icon|Orbs}}. | ||
== Supported icons == | == Supported icons == | ||
Revision as of 19:58, 21 August 2026
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 .
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 |