Template:ExpansionIcon/doc: Difference between revisions

From Melvor Idle
No edit summary
 
Line 7: Line 7:
   * '''AoD''' - Returns "atlas of discovery".
   * '''AoD''' - Returns "atlas of discovery".
   * '''TotH''' - Returns "throne of the herald".
   * '''TotH''' - Returns "throne of the herald".
   * '''None''' - Returns "base game". This is also the default value if no parameter is provided.
   * '''None''' - Returns "base game".
  * '''Base game''' - Returns "base game".


When left empty, "Unknown" is returned.
When left empty, "Unknown" is returned.

Latest revision as of 23:17, 22 June 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: 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