Template:Sandbox/Aurelain/Skill: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{LinkIcon
-->{{LinkIcon
     |id=skill_{{#replace:{{{1}}}|skill_|}}
     |id={{#switch:{{{1}}}
        |logistics <!-- fall -->
        |logistic <!-- fall -->
        |skill_logistic = skill_logistic
        |humans <!-- fall -->
        |human <!-- fall -->
        |skill_human = skill_human
        |demons <!-- fall -->
        |demon <!-- fall -->
        |skill_demon = skill_demon
        |#default=skill_{{#replace:{{{1}}}|skill_|}}
    }}
     |type=skill
     |type=skill
     |lang={{{2}}}
     |lang={{{2}}}

Revision as of 12:29, 6 August 2026


A short way of linking to a skill, with localization support. The first parameter is the internal ID and can be one of:

1. English

Input: {{Sandbox/Aurelain/Skill|logistic|en}}

Output: Logistics

2. Japanese

Input: {{Sandbox/Aurelain/Skill|logistic|ja}}

Output: 兵站学

3. With full id (including the skill_ prefix)

Input: {{Sandbox/Aurelain/Skill|skill_logistic|en}}

Output: Logistics