Template:Sandbox/Aurelain/Skill: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{Sandbox/Aurelain/LinkIcon
-->{{Sandbox/Aurelain/LinkIcon
     |lang={{#if:{{{lang}}}|{{{lang}}}|{{{2}}}}}
     |lang={{#if:{{{lang|}}}|{{{lang}}}|{{{2}}}}}
     |id={{#switch:{{#if:{{{id}}}|{{{id}}}|{{{1}}}}}
     |id={{#switch:{{#if:{{{id|}}}|{{{id}}}|{{{1}}}}}
    |faction_human <!-- fall -->
        |faction_human <!-- fall -->
    |faction_humans <!-- fall -->
        |faction_humans <!-- fall -->
    |skill_faction_humans = skill_faction_humans
        |skill_faction_humans = skill_faction_humans
    |faction_demon <!-- fall -->
        |faction_demon <!-- fall -->
    |faction_demons <!-- fall -->
        |faction_demons <!-- fall -->
    |skill_faction_demons = skill_faction_demons
        |skill_faction_demons = skill_faction_demons
    |#default=skill_{{#replace:{{{1|{{{id}}}}}}|skill_|}}
        |#default=skill_{{#replace:{{{1|{{{id}}}}}}|skill_|}}
    }}
        }}
     |type={{#switch:{{{level|}}}
     |type={{#switch:{{{level|}}}
    |=skill<!-- empty, meaning the skill family-->
        |=skill<!-- empty, meaning the skill family-->
    |#default=skill_level
        |#default=skill_level
    }}
        }}
     |variant={{#switch:{{{level|}}}
     |variant={{#switch:{{{level|}}}
    |=<!-- empty, meaning the basic level-->
        |=<!-- empty, meaning the basic level-->
    |#default={{{level}}}
        |#default={{{level}}}
    }}
        }}
     |suffix={{#switch:{{{level|}}}
     |suffix={{#switch:{{{level|}}}
    |1<!-- fall -->
        |1<!-- fall -->
    |=<!-- empty, meaning no suffix needed for the basic level-->
        |=<!-- empty, meaning no suffix needed for the basic level-->
    |#default=_{{{level}}}.png
        |#default=_{{{level}}}.png
    }}
        }}
     |stack={{{stack|}}}
     |stack={{{stack|}}}
     |width={{{width|}}}
     |width={{{width|}}}

Latest revision as of 08:23, 25 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

4. Advanced, with level and stack

Input: {{Sandbox/Aurelain/Skill|skill_logistic|en|level=3|stack=1}}

Output: Expert
Logistics