Template:SpellName/doc
Jump to navigation
Jump to search
Documentation
This template transforms a spell ID into a name. The ID must be an exact match for those found in the Spells cargo table.
Useful Links
- List of spell names and ids: Special:CargoTables/Spells
Spell Related templates
{{SpellSequence}}
- Render ordered spell sequences using your own templates.
{{SpellName}}
- Map spell IDs to spell names
{{SpellIcon}}
- Render individual spell icons
{{SpellTypeClass}}
{{SpellTypeColour}}
- Resolve spell types into CSS classes/variables for styling
{{SpellCategory}}
- spell groupings based on tags
- Module:Wand - this lua module handles querying cargo for data, and rendering the Wand2 template.
Examples
Example 1:
{{SpellName|BUCKSHOT}}
Result:
Triplicate Bolt
Example 2:
[[{{SpellName|BUCKSHOT}}]]
Result:
Example 3:
[[{{SpellName|SPELL_ID_THAT_WILL_NEVER_EXIST}}]]
Result:
Example 4:
[[{{SpellName}}]]
Result:
[[]]