Template:Sandbox/Aurelain/Spell: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 5: Line 5:
     |filename = {{#switch:{{{id|{{{1}}}}}}
     |filename = {{#switch:{{{id|{{{1}}}}}}
         |change_use_necromancy = Neutral_1_magic_change_use_necromancy.png
         |change_use_necromancy = Neutral_1_magic_change_use_necromancy.png
         |#default=<!--nothing, auto-detect-->
         |#default = {{#ifeq: {{#replace:{{{id|{{{1}}}}}}|_special|}}|{{{id|{{{1}}}}}}
            |{{#replace:{{{id|{{{1}}}}}}|_special|}}
            |<!--nothing, auto-detect-->
            }}
         }}
         }}
     |type = spell
     |type = spell

Revision as of 16:21, 25 August 2026


A short way of linking to a Spell, with localization support.

1. English

Input: {{Sandbox/Aurelain/Spell|day_10_magic_second_song|en}}

Output: File:Day 10 magic second songSong of Power

2. Japanese

Input: {{Sandbox/Aurelain/Spell|day_10_magic_second_song|ja}}

Output: File:Day 10 magic second song力の歌

3. Necromancy toggle

Input: {{Sandbox/Aurelain/Spell|change_use_necromancy|en}}

Output: Necromancer Will

4. Summon avatar

Input: {{Sandbox/Aurelain/Spell|bonus_magic_astral_summon_1|en}}

Output: File:Bonus magic astral summon 1Basic Summon Avatar