Template:ExpansionIcon/doc

From Melvor Idle
< Template:ExpansionIcon
Revision as of 23:17, 22 June 2024 by Ricewind (talk | contribs) (→‎Parameters)
(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: AoD.png Atlas of Discovery Expansion

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

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

{{ExpansionIcon}} Returns: Unknown