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
    |lang={{{2}}}
     |id={{#switch:{{{1}}}
     |id={{#switch:{{{1}}}
         |faction_human <!-- fall -->
         |faction_human <!-- fall -->
Line 10: Line 11:
         |#default=skill_{{#replace:{{{1}}}|skill_|}}
         |#default=skill_{{#replace:{{{1}}}|skill_|}}
     }}
     }}
     |type=skill
     |type={{#switch:{{{level}}}
     |lang={{{2}}}
        |=skill<!-- empty, meaning the skill family-->
        |#default:skill_level
        }}
     |variant={{#switch:{{{level}}}
        |=<!-- empty, meaning the basic level-->
        |#default:{{{level}}}
        }}
    |suffix={{#switch:{{{level}}}
        |1<!-- fall -->
        |=<!-- empty, meaning no suffix needed for the basic level-->
        |#default:_{{{level}}}.png
        }}
}}<!--
}}<!--
--></includeonly><!--
--></includeonly><!--
Line 51: Line 63:
==1. English==
==1. English==


{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/Skill|logistic|en}}</nowiki></code>
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/Skill|logistic|en|level=2}}</nowiki></code>


{{Color|green|Output:}} {{Sandbox/Aurelain/Skill|logistic|en}}
{{Color|green|Output:}} {{Sandbox/Aurelain/Skill|logistic|en|level=2}}


==2. Japanese==
==2. Japanese==

Revision as of 06:36, 7 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:

  • assault for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • protection for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • leadership for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • luck for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • economy for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • logistic for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • enlightenment for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • sorcery for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • magic_day for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • magic_night for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • magic_space for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • magic_primal for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • battlemage for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • resistance for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • diplomacy for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • mastery for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • scouting for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • formation for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • summoner for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • siege for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • tactics for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • trainer for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • wisdom for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • battle_artistry for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • faction_humans for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • faction_undead for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • faction_unfrozen for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • faction_demons for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • faction_dungeon for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.
  • faction_nature for
    Error in "where" parameter: the string "#" cannot be used within #cargo_query.

1. English

Input: {{Sandbox/Aurelain/Skill|logistic|en|level=2}}

Output:

Error in "where" parameter: the string "#" cannot be used within #cargo_query.

2. Japanese

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

Output:

Error in "where" parameter: the string "#" cannot be used within #cargo_query.

3. With full id (including the skill_ prefix)

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

Output:

Error in "where" parameter: the string "#" cannot be used within #cargo_query.