Template:ExpansionIcon: Difference between revisions

From Melvor Idle
No edit summary
No edit summary
 
Line 3: Line 3:
| AoD = {{AoD}} [[Atlas of Discovery Expansion]]
| AoD = {{AoD}} [[Atlas of Discovery Expansion]]
| TotH = {{TotH}} [[Throne of the Herald Expansion]]
| TotH = {{TotH}} [[Throne of the Herald Expansion]]
| None = {{Icon|Full Version|img=Melvor_Logo|ext=svg|notext=true}} [[Full Version|Base game]]
| None = {{Melvor}} [[Full Version|Base game]]
| Base game = {{Icon|Full Version|img=Melvor_Logo|ext=svg|notext=true}} [[Full Version|Base game]]
| Base game = {{Melvor}} [[Full Version|Base game]]
| #default = Unknown
| #default = Unknown
}}</includeonly><noinclude>{{/doc}}</noinclude>
}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 16:06, 3 July 2024

Documentation

This template returns a specific text based on the provided input value.

Parameters

  • 1 - The abbreviation for the game content. Acceptable values are:
 * ItA - Returns "into the abyss".
 * AoD - Returns "atlas of discovery".
 * TotH - Returns "throne of the herald".
 * None - Returns "base game".
 * Base game - Returns "base game".

When left empty, "Unknown" is returned.

Usage example:

{{ExpansionIcon|ItA}} Returns:

Error creating thumbnail: File missing

Into the Abyss Expansion

{{ExpansionIcon|AoD}} Returns: Atlas of Discovery Expansion

{{ExpansionIcon|TotH}} Returns: Throne of the Herald Expansion

{{ExpansionIcon|None}} Returns: Melvor Logo.svg Base game

{{ExpansionIcon}} Returns: Unknown