Template:Sandbox/Aurelain/SkillInfobox/base: 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> | ||
faction={{#invoke:Sandbox/Aurelain/SkillInfobox|getFaction|{{{id}}}}}, | |||
<!-- | |||
--><templatestyles src="Template:Sandbox/Aurelain/SkillInfobox/styles.css" /><!-- | --><templatestyles src="Template:Sandbox/Aurelain/SkillInfobox/styles.css" /><!-- | ||
--><div class='skill-box {{{id}}}'> | --><div class='skill-box {{{id}}}'> | ||
<!--==== EPIC | <!--==== EPIC CLASSES ===================================================--> | ||
{{#ifeq:{{#replace:{{{id}}}|faction|}}|{{{id}}}| | {{#ifeq:{{#replace:{{{id}}}|faction|}}|{{{id}}}| | ||
<div class='band'>{{Translation|wiki_skill_box_epic|{{{lang}}}}} {{Skill|{{{id}}}|{{{lang}}}|level=3}}</div> | <div class='band'>{{Translation|wiki_skill_box_epic|{{{lang}}}}} {{Skill|{{{id}}}|{{{lang}}}|level=3}}</div> | ||
| Line 17: | Line 19: | ||
</div> | </div> | ||
}}<!--end if non-faction skill--> | }}<!--end if non-faction skill--> | ||
<!--==== HEROES =========================================================--> | |||
{{#if:{{#invoke:Sandbox/Aurelain/SkillInfobox|getFaction|{{{id}}}}}| | |||
<div class='band'>Exclusive to heroes of </div> | |||
<div style='display:flex; flex-direction: column; align-items: center;'> | |||
<div style='display:flex; flex-direction: column; align-items: flex-start;'><!-- | |||
-->{{#cargo_query: | |||
tables = | |||
Hero=H | |||
|where = | |||
H.faction = '{{#invoke:Sandbox/Aurelain/SkillInfobox|getFaction|{{{id}}}}}' | |||
|fields = | |||
H.id = id | |||
CONCAT('{{{lang}}}') = lang | |||
CONCAT('hero') = type | |||
CONCAT('1') = filename | |||
| template = LinkIcon | |||
| lang = {{{lang}}} | |||
}}<!-- | |||
--></div> | |||
</div> | |||
}}<!--end if faction skill--> | |||
<!--==== INTERNAL ID ====================================================--> | <!--==== INTERNAL ID ====================================================--> | ||
Revision as of 06:08, 2 September 2026
0. Faction:
faction=nature,
Exclusive to heroes of
Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '('en') = lang\x0A CONCAT('hero') = type\x0A ...' at line 2
Function: CargoSQLQuery::run Query: SELECT `H`.`_pageID` AS `cargo_backlink_page_id_H`,`H`.`id` = id
CONCAT('en') = lang
CONCAT('hero') = type
CONCAT('1') = filename AS `H id = id
CONCAT( en ) = lang
CONCAT( hero ) = type
CONCAT( 1 ) = filename` FROM `mw4v_cargo__Hero` `H` WHERE `H`.`faction` = 'nature' ORDER BY `H`.`_pageID`,`H`.`id` = id
CONCAT('en') = lang
CONCAT('hero') = type
CONCAT('1') = filename LIMIT 100
Internal ID
skill_faction_nature
{{Sandbox/Aurelain/SkillInfobox/base
| lang = en
| id = skill_faction_nature
| epic_classes =
}}
1. English:
faction=,
{{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:
faction=,
{{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
}}


