Template:Skill: Difference between revisions

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

Revision as of 12:39, 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: {{Skill|logistic|en}}

Output: Logistics

2. Japanese

Input: {{Skill|logistic|ja}}

Output: 兵站学

3. With full id (including the skill_ prefix)

Input: {{Skill|skill_logistic|en}}

Output: Logistics