Template:ExpansionIcon/doc: Difference between revisions
From Melvor Idle
(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...") |
(No difference)
|
Revision as of 22:19, 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". 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
{{ExpansionIcon|AoD}}
Returns: Atlas of Discovery Expansion
{{ExpansionIcon|TotH}}
Returns: Throne of the Herald Expansion
{{ExpansionIcon|None}}
Returns: Base game
{{ExpansionIcon}}
Returns: Unknown