Template:ExpansionIcon

From Melvor Idle
Revision as of 22:17, 22 June 2024 by Ricewind (talk | contribs) (Created page with "<includeonly>{{#switch: {{{1|}}} | ItA = {{ItA}} Into the Abyss Expansion | AoD = {{AoD}} Atlas of Discovery Expansion | TotH = {{TotH}} Throne of the Herald Expansion | None = Base game | #default = Unknown }}</includeonly><noinclude>{{/doc}}</noinclude> <noinclude> === Documentation === This template returns a specific text based on the provided input value. ==== Parameters ==== * '''1''' - The abbreviation for the game content. Acceptable values are: *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: Base game


{{ExpansionIcon}} Returns: Unknown



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". This is also the default value if no parameter is provided.

When left empty, "Unknown" is returned.

Usage example: {{ExpansionIcon|ItA}} will return "into the abyss". {{ExpansionIcon|AoD}} will return "atlas of discovery". {{ExpansionIcon|TotH}} will return "throne of the herald". {{ExpansionIcon|None}} will return "base game". {{ExpansionIcon}} will also return "base game".