Template:Sandbox/Aurelain/SkillInfobox/base: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary Tag: Reverted |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
--><templatestyles src="Template:Sandbox/Aurelain/SkillInfobox/styles.css" /><!-- | --><templatestyles src="Template:Sandbox/Aurelain/SkillInfobox/styles.css" /><!-- | ||
--><div class='skill-box | --><div class='skill-box {{{id}}}'><!-- | ||
<!--==== INTERNAL ID ====================================================--> | ==== EPIC CLASSES ========================================================== | ||
-->{{#ifeq:{{#replace:{{{id}}}|faction|}}|{{{id}}}| | |||
<div class='band'>{{Translation|wiki_skill_box_epic|{{{lang}}}}} {{Skill|{{{id}}}|{{{lang}}}|level=3}}</div> | |||
<div class='container'> | |||
<div><!-- | |||
-->{{#invoke:Sandbox/Aurelain/SkillInfobox|listEpicClasses|{{{epic_classes}}} | |||
| template = LinkIcon | |||
| lang = {{{lang}}} | |||
| id = #epic_class_id | |||
| suffix=_icon.png | |||
| link_id = #hero_class_id | |||
}}<!-- | |||
--></div> | |||
</div> | |||
}}<!--end if non-faction skill--><!-- | |||
==== HEROES ================================================================ | |||
-->{{#if:{{#invoke:Sandbox/Aurelain/SkillInfobox|getFaction|{{{id}}}}}| | |||
<div class='band'>{{Translation|wiki_skill_box_heroes|{{{lang}}}}} {{F|{{#invoke:Sandbox/Aurelain/SkillInfobox|getFaction|{{{id}}}}}|{{{lang}}}}}</div> | |||
<div class='container'> | |||
<div><!-- | |||
-->{{#cargo_query: | |||
tables = | |||
Hero=H | |||
|where = | |||
H.faction = '{{#invoke:Sandbox/Aurelain/SkillInfobox|getFaction|{{{id}}}}}' | |||
AND H.id not like "campaign%" | |||
AND H.id not like "tutorial%" | |||
AND H.id not like "%_fun_%" | |||
|fields = | |||
H.id = id, | |||
CONCAT('{{{lang}}}') = lang, | |||
CONCAT('hero') = type, | |||
CONCAT('1') = filename | |||
|format = template | |||
|template = LinkIcon | |||
|named args = yes | |||
}}<!-- | |||
--></div> | |||
</div> | |||
}}<!--end if faction skill--><!-- | |||
==== INTERNAL ID =========================================================== | |||
--><div class='band'>{{Translation|wiki_internal_id|{{{lang}}}}}</div> | |||
<div style='color:rgba(255,255,255,0.5)'>{{{id}}}</div> | <div style='color:rgba(255,255,255,0.5)'>{{{id}}}</div> | ||
</div><!-- | </div><!-- | ||
| Line 54: | Line 82: | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
{{Clear}} | |||
<!--=========================================================================--> | |||
==3. Faction:== | |||
{{Sandbox/Aurelain/SkillInfobox/base | |||
| lang = en | |||
| id = skill_faction_nature | |||
}} | |||
<pre><nowiki> | |||
{{Sandbox/Aurelain/SkillInfobox/base | |||
| lang = en | |||
| id = skill_faction_nature | |||
}} | |||
</nowiki></pre> | |||
{{Clear}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 06:32, 2 September 2026
1. English:
{{Sandbox/Aurelain/SkillInfobox/base
| lang = en
| id = skill_assault
| epic_classes = sub_class_demons_magic_2,sub_class_dungeon_might_1,sub_class_human_might_1,sub_class_nature_might_2,sub_class_undead_magic_2,sub_class_unfrozen_might_1
}}
2. Japanese:
{{Sandbox/Aurelain/SkillInfobox/base
| lang = ja
| id = skill_assault
| epic_classes = sub_class_demons_magic_2,sub_class_dungeon_might_1,sub_class_human_might_1,sub_class_nature_might_2,sub_class_undead_magic_2,sub_class_unfrozen_might_1
}}
3. Faction:
{{Sandbox/Aurelain/SkillInfobox/base
| lang = en
| id = skill_faction_nature
}}


