Template:Icon: Difference between revisions
More actions
m Clean-up: drop explicit worldcap/contcap aliases now that switch_keys auto-generates them from world cap/cont cap |
m Docs: group Lock/Title/KM Death/KM Kill/Donator Star under a new Collectibles section (Donator Stars as its own subsection), capitalise Ranked Icons; add killmessage/killmsg, deathmessage/deathmsg, ?, rep/communityrep, thenether aliases |
||
| Line 13: | Line 13: | ||
|zyre|isles={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--zyre loka-icon--bare">[[File:Shield pvp.png|14px|link=|alt=Zyre]]</span>|<span class="loka-icon loka-icon--zyre loka-icon--linked">[[File:Shield pvp.png|14px|link=Zyre|alt=Zyre]][[Zyre|Zyre]]</span>}} | |zyre|isles={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--zyre loka-icon--bare">[[File:Shield pvp.png|14px|link=|alt=Zyre]]</span>|<span class="loka-icon loka-icon--zyre loka-icon--linked">[[File:Shield pvp.png|14px|link=Zyre|alt=Zyre]][[Zyre|Zyre]]</span>}} | ||
|the end|end|theend={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--the-end loka-icon--bare">[[File:Shield end.png|14px|link=|alt=The End]]</span>|<span class="loka-icon loka-icon--the-end loka-icon--linked">[[File:Shield end.png|14px|link=The End|alt=The End]][[The End|The End]]</span>}} | |the end|end|theend={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--the-end loka-icon--bare">[[File:Shield end.png|14px|link=|alt=The End]]</span>|<span class="loka-icon loka-icon--the-end loka-icon--linked">[[File:Shield end.png|14px|link=The End|alt=The End]][[The End|The End]]</span>}} | ||
|nether={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--nether loka-icon--bare">[[File:Shield nether.png|14px|link=|alt=Nether]]</span>|<span class="loka-icon loka-icon--nether loka-icon--linked">[[File:Shield nether.png|14px|link=The Nether|alt=Nether]][[The Nether|Nether]]</span>}} | |nether|thenether={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--nether loka-icon--bare">[[File:Shield nether.png|14px|link=|alt=Nether]]</span>|<span class="loka-icon loka-icon--nether loka-icon--linked">[[File:Shield nether.png|14px|link=The Nether|alt=Nether]][[The Nether|Nether]]</span>}} | ||
|loka|logo={{#switch:{{lc:{{{2|crest}}}}} | |loka|logo={{#switch:{{lc:{{{2|crest}}}}} | ||
|crest={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--loka-crest loka-icon--bare">[[File:Loka icon.png|14px|link=|alt=Loka]]</span>|<span class="loka-icon loka-icon--loka-crest loka-icon--linked">[[File:Loka icon.png|14px|link=Loka|alt=Loka]][[Loka|Loka]]</span>}} | |crest={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--loka-crest loka-icon--bare">[[File:Loka icon.png|14px|link=|alt=Loka]]</span>|<span class="loka-icon loka-icon--loka-crest loka-icon--linked">[[File:Loka icon.png|14px|link=Loka|alt=Loka]][[Loka|Loka]]</span>}} | ||
| Line 35: | Line 35: | ||
|#default=<strong class="error">Unknown guide variant: {{{2|}}}</strong> | |#default=<strong class="error">Unknown guide variant: {{{2|}}}</strong> | ||
}} | }} | ||
|lcr={{#switch:{{lc:{{{2|megaphone}}}}} | |lcr|rep|communityrep={{#switch:{{lc:{{{2|megaphone}}}}} | ||
|megaphone|mega={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--lcr-megaphone loka-icon--bare">[[File:LCR icon (megaphone).png|x16px|link=|alt=LCR]]</span>|<span class="loka-icon loka-icon--lcr-megaphone loka-icon--linked">[[File:LCR icon (megaphone).png|x16px|link=LCR|alt=LCR]][[LCR|LCR]]</span>}} | |megaphone|mega={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--lcr-megaphone loka-icon--bare">[[File:LCR icon (megaphone).png|x16px|link=|alt=LCR]]</span>|<span class="loka-icon loka-icon--lcr-megaphone loka-icon--linked">[[File:LCR icon (megaphone).png|x16px|link=LCR|alt=LCR]][[LCR|LCR]]</span>}} | ||
|ballot={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--lcr-ballot loka-icon--bare">[[File:LCR icon (ballot).png|x16px|link=|alt=LCR]]</span>|<span class="loka-icon loka-icon--lcr-ballot loka-icon--linked">[[File:LCR icon (ballot).png|x16px|link=LCR|alt=LCR]][[LCR|LCR]]</span>}} | |ballot={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--lcr-ballot loka-icon--bare">[[File:LCR icon (ballot).png|x16px|link=|alt=LCR]]</span>|<span class="loka-icon loka-icon--lcr-ballot loka-icon--linked">[[File:LCR icon (ballot).png|x16px|link=LCR|alt=LCR]][[LCR|LCR]]</span>}} | ||
| Line 111: | Line 111: | ||
|leaf cutter|leafcutter={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--leaf-cutter loka-icon--bare">[[File:Leaf Cutter icon.png|x16px|link=|alt=Leaf Cutter]]</span>|<span class="loka-icon loka-icon--leaf-cutter loka-icon--linked">[[File:Leaf Cutter icon.png|x16px|link=Leaf Cutter|alt=Leaf Cutter]][[Leaf Cutter|Leaf Cutter]]</span>}} | |leaf cutter|leafcutter={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--leaf-cutter loka-icon--bare">[[File:Leaf Cutter icon.png|x16px|link=|alt=Leaf Cutter]]</span>|<span class="loka-icon loka-icon--leaf-cutter loka-icon--linked">[[File:Leaf Cutter icon.png|x16px|link=Leaf Cutter|alt=Leaf Cutter]][[Leaf Cutter|Leaf Cutter]]</span>}} | ||
|opyc={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--opyc loka-icon--bare">[[File:Opyc icon.png|x16px|link=|alt=Opyc]]</span>|<span class="loka-icon loka-icon--opyc loka-icon--linked">[[File:Opyc icon.png|x16px|link=Opyc|alt=Opyc]][[Opyc|Opyc]]</span>}} | |opyc={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--opyc loka-icon--bare">[[File:Opyc icon.png|x16px|link=|alt=Opyc]]</span>|<span class="loka-icon loka-icon--opyc loka-icon--linked">[[File:Opyc icon.png|x16px|link=Opyc|alt=Opyc]][[Opyc|Opyc]]</span>}} | ||
|unknown=<span class="loka-icon loka-icon--unknown loka-icon--bare">[[File:Unknown icon.png|x16px|link=|alt=Unknown]]</span> | |unknown|?=<span class="loka-icon loka-icon--unknown loka-icon--bare">[[File:Unknown icon.png|x16px|link=|alt=Unknown]]</span> | ||
|recall stone|recallstone={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--recall-stone loka-icon--bare">[[File:Recall Stone icon.png|x16px|link=|alt=Recall Stone]]</span>|<span class="loka-icon loka-icon--recall-stone loka-icon--linked">[[File:Recall Stone icon.png|x16px|link=Recall Stone|alt=Recall Stone]][[Recall Stone|Recall Stone]]</span>}} | |recall stone|recallstone={{#if:{{{nolink|}}}|<span class="loka-icon loka-icon--recall-stone loka-icon--bare">[[File:Recall Stone icon.png|x16px|link=|alt=Recall Stone]]</span>|<span class="loka-icon loka-icon--recall-stone loka-icon--linked">[[File:Recall Stone icon.png|x16px|link=Recall Stone|alt=Recall Stone]][[Recall Stone|Recall Stone]]</span>}} | ||
|void storage|vs|voidstorage={{#switch:{{lc:{{{2|input}}}}} | |void storage|vs|voidstorage={{#switch:{{lc:{{{2|input}}}}} | ||
| Line 125: | Line 125: | ||
|#default=<strong class="error">Unknown xp bottle variant: {{{2|}}}</strong> | |#default=<strong class="error">Unknown xp bottle variant: {{{2|}}}</strong> | ||
}} | }} | ||
|km death|kmdeath={{#switch:{{lc:{{{2|common}}}}} | |km death|deathmessage|deathmsg|kmdeath={{#switch:{{lc:{{{2|common}}}}} | ||
|common|1=<span class="loka-icon loka-icon--km-death-common loka-icon--bare">[[File:Kill Message Death icon (common).png|x16px|link=|alt=Common kill message (death)]]</span> | |common|1=<span class="loka-icon loka-icon--km-death-common loka-icon--bare">[[File:Kill Message Death icon (common).png|x16px|link=|alt=Common kill message (death)]]</span> | ||
|uncommon|2=<span class="loka-icon loka-icon--km-death-uncommon loka-icon--bare">[[File:Kill Message Death icon (uncommon).png|x16px|link=|alt=Uncommon kill message (death)]]</span> | |uncommon|2=<span class="loka-icon loka-icon--km-death-uncommon loka-icon--bare">[[File:Kill Message Death icon (uncommon).png|x16px|link=|alt=Uncommon kill message (death)]]</span> | ||
| Line 134: | Line 134: | ||
|#default=<strong class="error">Unknown km death variant: {{{2|}}}</strong> | |#default=<strong class="error">Unknown km death variant: {{{2|}}}</strong> | ||
}} | }} | ||
|km kill|kmkill={{#switch:{{lc:{{{2|common}}}}} | |km kill|killmessage|killmsg|kmkill={{#switch:{{lc:{{{2|common}}}}} | ||
|common|1=<span class="loka-icon loka-icon--km-kill-common loka-icon--bare">[[File:Kill Message Kill icon (common).png|x16px|link=|alt=Common kill message (kill)]]</span> | |common|1=<span class="loka-icon loka-icon--km-kill-common loka-icon--bare">[[File:Kill Message Kill icon (common).png|x16px|link=|alt=Common kill message (kill)]]</span> | ||
|uncommon|2=<span class="loka-icon loka-icon--km-kill-uncommon loka-icon--bare">[[File:Kill Message Kill icon (uncommon).png|x16px|link=|alt=Uncommon kill message (kill)]]</span> | |uncommon|2=<span class="loka-icon loka-icon--km-kill-uncommon loka-icon--bare">[[File:Kill Message Kill icon (uncommon).png|x16px|link=|alt=Uncommon kill message (kill)]]</span> | ||
| Line 242: | Line 242: | ||
| <code><nowiki>{{icon|nether}}</nowiki></code> | | <code><nowiki>{{icon|nether}}</nowiki></code> | ||
| — | | — | ||
| | | <code>thenether</code> | ||
| [[:File:Shield nether.png]] | | [[:File:Shield nether.png]] | ||
| {{icon|nether}} | | {{icon|nether}} | ||
| Line 337: | Line 337: | ||
| [[:File:Power Shard icon (cluster).png|Power Shard icon (cluster)...]] | | [[:File:Power Shard icon (cluster).png|Power Shard icon (cluster)...]] | ||
| {{icon|powershard|cluster}} | | {{icon|powershard|cluster}} | ||
|- | |- | ||
| <code><nowiki>{{icon|basiccrystal}}</nowiki></code> | | <code><nowiki>{{icon|basiccrystal}}</nowiki></code> | ||
| Line 430: | Line 378: | ||
| <code><nowiki>{{icon|unknown}}</nowiki></code> | | <code><nowiki>{{icon|unknown}}</nowiki></code> | ||
| — | | — | ||
| | | <code>?</code> | ||
| [[:File:Unknown icon.png]] | | [[:File:Unknown icon.png]] | ||
| {{icon|unknown}} | | {{icon|unknown}} | ||
| Line 469: | Line 417: | ||
| [[:File:XP Bottle icon (large).png]] | | [[:File:XP Bottle icon (large).png]] | ||
| {{icon|xpbottle|large}} | | {{icon|xpbottle|large}} | ||
|} | |||
== Collectibles == | |||
{| class="wikitable" | |||
! Example | |||
! Variant | |||
! Aliases | |||
! File | |||
! Renders as | |||
|- | |||
| rowspan="6" | <code><nowiki>{{icon|lock|<variant>}}</nowiki></code> | |||
| <code>common</code>, <code>1</code> | |||
| rowspan="6" | — | |||
| [[:File:Lock icon (common).png]] | |||
| {{icon|lock|common}} | |||
|- | |||
| <code>uncommon</code>, <code>2</code> | |||
| [[:File:Lock icon (uncommon).png]] | |||
| {{icon|lock|uncommon}} | |||
|- | |||
| <code>rare</code>, <code>3</code> | |||
| [[:File:Lock icon (rare).png]] | |||
| {{icon|lock|rare}} | |||
|- | |||
| <code>epic</code>, <code>4</code> | |||
| [[:File:Lock icon (epic).png]] | |||
| {{icon|lock|epic}} | |||
|- | |||
| <code>legendary</code>, <code>5</code> | |||
| [[:File:Lock icon (legendary).png]] | |||
| {{icon|lock|legendary}} | |||
|- | |||
| <code>mythic</code>, <code>6</code> | |||
| [[:File:Lock icon (mythic).png]] | |||
| {{icon|lock|mythic}} | |||
|- | |||
| rowspan="6" | <code><nowiki>{{icon|title|<variant>}}</nowiki></code> | |||
| <code>common</code>, <code>1</code> | |||
| rowspan="6" | — | |||
| [[:File:Title icon (common).png]] | |||
| {{icon|title|common}} | |||
|- | |||
| <code>uncommon</code>, <code>2</code> | |||
| [[:File:Title icon (uncommon).png]] | |||
| {{icon|title|uncommon}} | |||
|- | |||
| <code>rare</code>, <code>3</code> | |||
| [[:File:Title icon (rare).png]] | |||
| {{icon|title|rare}} | |||
|- | |||
| <code>epic</code>, <code>4</code> | |||
| [[:File:Title icon (epic).png]] | |||
| {{icon|title|epic}} | |||
|- | |||
| <code>legendary</code>, <code>5</code> | |||
| [[:File:Title icon (legendary).png]] | |||
| {{icon|title|legendary}} | |||
|- | |||
| <code>mythic</code>, <code>6</code> | |||
| [[:File:Title icon (mythic).png]] | |||
| {{icon|title|mythic}} | |||
|- | |- | ||
| rowspan="6" | <code><nowiki>{{icon|kmdeath|<variant>}}</nowiki></code> | | rowspan="6" | <code><nowiki>{{icon|kmdeath|<variant>}}</nowiki></code> | ||
| <code>common</code>, <code>1</code> | | <code>common</code>, <code>1</code> | ||
| rowspan="6" | | | rowspan="6" | <code>deathmessage</code>, <code>deathmsg</code> | ||
| [[:File:Kill Message Death icon (common).png|Kill Message Death icon (c...]] | | [[:File:Kill Message Death icon (common).png|Kill Message Death icon (c...]] | ||
| {{icon|kmdeath|common}} | | {{icon|kmdeath|common}} | ||
| Line 498: | Line 508: | ||
| rowspan="6" | <code><nowiki>{{icon|kmkill|<variant>}}</nowiki></code> | | rowspan="6" | <code><nowiki>{{icon|kmkill|<variant>}}</nowiki></code> | ||
| <code>common</code>, <code>1</code> | | <code>common</code>, <code>1</code> | ||
| rowspan="6" | | | rowspan="6" | <code>killmessage</code>, <code>killmsg</code> | ||
| [[:File:Kill Message Kill icon (common).png|Kill Message Kill icon (co...]] | | [[:File:Kill Message Kill icon (common).png|Kill Message Kill icon (co...]] | ||
| {{icon|kmkill|common}} | | {{icon|kmkill|common}} | ||
| Line 523: | Line 533: | ||
|} | |} | ||
== Donator | === Donator Stars === | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 567: | Line 577: | ||
|} | |} | ||
== Ranked | == Ranked Icons == | ||
{| class="wikitable" | {| class="wikitable" | ||
Revision as of 00:07, 22 August 2026
Usage
{{icon|name}}
renders a small icon, e.g. {{icon|zyre}} in running prose:
- Zyre has the most PvP activity of the isolated worlds, alongside the End.
Name matching is case- and space-insensitive -- zyre, Zyre and ZYRE all match the same icon, and a name normally written with a space (e.g. "Shard Pouch") can be typed either way: {{icon|shard pouch}} and {{icon|shardpouch}} render identically. Every name below also has its own shorter aliases (see the Aliases column) -- an unrecognised name renders a visible error instead of silently showing nothing, so a typo is easy to spot rather than quietly vanishing.
Some icons come with their own article link and bundled label text (e.g. Zyre links to Zyre); others are bare -- just the icon, meant to sit before a word you type yourself, the same way {{icon|zyre}} sits before "the End" in the example above. The tables below mark which is which.
Variants
A name with more than one icon (e.g. two senses of the same abbreviation, or a set of rarity tiers) takes an optional second parameter to pick which one:
{{icon|name|variant}}
e.g. {{icon|lcr|ballot}}. Where a default variant is defined, leaving the second parameter out falls back to it, so the bare {{icon|lcr}} still renders something rather than erroring. Some names (e.g. Rank, Capital) have no sensible default and require an explicit variant, or render an error. Each variant can have its own alias too, shown in the same Variant column as the variant name itself where it's a parallel short form (e.g. Lock's rarities double as 1-6), or in Aliases where it's an abbreviation of one specific variant (e.g. Rank's dia2 for diamond2).
Dropping the link
A normally-linked icon can be set to nolink=yes to drop the link, the bundled label text, and the pill background, leaving just the bare icon -- useful where the surrounding text or table cell already says what it is, so repeating it as a link would be redundant:
{{icon|donatorstar|1|nolink=yes}}
renders as: (compare to the full, linked form: ). No effect on an already-bare icon.
Supported icons
| Example | Variant | Aliases | File | Renders as |
|---|---|---|---|---|
{{icon|orbs|<variant>}}
|
emoji
|
orb
|
File:Orbs icon.png | |
web
|
File:Orbs icon (web).png | |||
{{icon|ascalon}}
|
— | asc, west
|
File:Shield ascalon.png | |
{{icon|kalros}}
|
— | north
|
File:Shield kalros.png | |
{{icon|garama}}
|
— | south
|
File:Shield garama.png | |
{{icon|aladra}}
|
— | spawn
|
File:Shield aladra.png | |
{{icon|balak}}
|
— | bigboi
|
File:Shield balak.png | |
{{icon|rivina}}
|
— | rivi, lilboi
|
File:Shield rivina.png | |
{{icon|zyre}}
|
— | isles
|
File:Shield pvp.png | |
{{icon|theend}}
|
— | end
|
File:Shield end.png | |
{{icon|nether}}
|
— | thenether
|
File:Shield nether.png | |
{{icon|loka|<variant>}}
|
crest
|
logo
|
File:Loka icon.png | |
pixel
|
File:Loka icon (pixel).png | |||
{{icon|capital|<variant>}}
|
world
|
world cap
|
File:World Capital icon.png | |
continent
|
cont cap
|
File:Continent Capital icon.png | ||
{{icon|dev}}
|
— | developer, lokadev
|
File:Dev icon.png | |
{{icon|shardpouch}}
|
— | sp
|
File:Shard Pouch icon.png | |
{{icon|soulboundbag}}
|
— | sb bag, sb
|
File:Soulbound Bag icon.png | |
{{icon|waterstone}}
|
— | — | File:Waterstone icon.png | |
{{icon|twitch}}
|
— | ttv
|
File:Twitch icon.png | |
{{icon|youtube}}
|
— | yt
|
File:YouTube icon.png | |
{{icon|guide|<variant>}}
|
gold
|
— | File:Guide icon (gold).png | |
purple
|
File:Guide icon (purple).png | |||
{{icon|lcr|<variant>}}
|
megaphone
|
mega
|
File:LCR icon (megaphone).png | |
ballot
|
— | File:LCR icon (ballot).png | ||
{{icon|powershard|<variant>}}
|
single
|
shard
|
Power Shard icon (single).... | |
core
|
Power Shard icon (core).pn... | |||
cluster
|
Power Shard icon (cluster)... | |||
{{icon|basiccrystal}}
|
— | — | File:Basic Crystal icon.png | |
{{icon|basicshard}}
|
— | — | File:Basic Shard icon.png | |
{{icon|blood|<variant>}}
|
normal
|
— | File:Blood icon (normal).png | |
stained
|
File:Blood icon (stained).png | |||
coagulated
|
Blood icon (coagulated).pn... | |||
{{icon|leafcutter}}
|
— | — | File:Leaf Cutter icon.png | |
{{icon|opyc}}
|
— | — | File:Opyc icon.png | |
{{icon|unknown}}
|
— | ?
|
File:Unknown icon.png | |
{{icon|recallstone}}
|
— | — | File:Recall Stone icon.png | |
{{icon|voidstorage|<variant>}}
|
input
|
vs
|
Void Storage icon (input).... | |
output
|
Void Storage icon (output)... | |||
{{icon|webbedbola}}
|
— | antipearl, bola
|
File:Webbed Bola icon.png | |
{{icon|xpbottle|<variant>}}
|
small
|
xp
|
File:XP Bottle icon (small).png | |
medium
|
XP Bottle icon (medium).pn... | |||
large
|
File:XP Bottle icon (large).png |
Collectibles
Donator Stars
| Example | Variant | Aliases | File | Renders as |
|---|---|---|---|---|
{{icon|donatorstar|<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 | |||
7
|
File:Donator Star icon (7).png | |||
8
|
File:Donator Star icon (8).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 |