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}}} | ||
| | |=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:
assaultforError in "where" parameter: the string "#" cannot be used within #cargo_query.protectionforError in "where" parameter: the string "#" cannot be used within #cargo_query.leadershipforError in "where" parameter: the string "#" cannot be used within #cargo_query.luckforError in "where" parameter: the string "#" cannot be used within #cargo_query.economyforError in "where" parameter: the string "#" cannot be used within #cargo_query.logisticforError in "where" parameter: the string "#" cannot be used within #cargo_query.enlightenmentforError in "where" parameter: the string "#" cannot be used within #cargo_query.sorceryforError in "where" parameter: the string "#" cannot be used within #cargo_query.magic_dayforError in "where" parameter: the string "#" cannot be used within #cargo_query.magic_nightforError in "where" parameter: the string "#" cannot be used within #cargo_query.magic_spaceforError in "where" parameter: the string "#" cannot be used within #cargo_query.magic_primalforError in "where" parameter: the string "#" cannot be used within #cargo_query.battlemageforError in "where" parameter: the string "#" cannot be used within #cargo_query.resistanceforError in "where" parameter: the string "#" cannot be used within #cargo_query.diplomacyforError in "where" parameter: the string "#" cannot be used within #cargo_query.masteryforError in "where" parameter: the string "#" cannot be used within #cargo_query.scoutingforError in "where" parameter: the string "#" cannot be used within #cargo_query.formationforError in "where" parameter: the string "#" cannot be used within #cargo_query.summonerforError in "where" parameter: the string "#" cannot be used within #cargo_query.siegeforError in "where" parameter: the string "#" cannot be used within #cargo_query.tacticsforError in "where" parameter: the string "#" cannot be used within #cargo_query.trainerforError in "where" parameter: the string "#" cannot be used within #cargo_query.wisdomforError in "where" parameter: the string "#" cannot be used within #cargo_query.battle_artistryforError in "where" parameter: the string "#" cannot be used within #cargo_query.faction_humansforError in "where" parameter: the string "#" cannot be used within #cargo_query.faction_undeadforError in "where" parameter: the string "#" cannot be used within #cargo_query.faction_unfrozenforError in "where" parameter: the string "#" cannot be used within #cargo_query.faction_demonsforError in "where" parameter: the string "#" cannot be used within #cargo_query.faction_dungeonforError in "where" parameter: the string "#" cannot be used within #cargo_query.faction_natureforError 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.


