Template:ExpansionIcon/doc

From Melvor Idle
< Template:ExpansionIcon
Revision as of 22:19, 22 June 2024 by Ricewind (talk | contribs) (Created page with "=== 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 e...")
(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". This is also the default value if no parameter is provided.

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