Template:Sandbox/Aurelain/HeroInfobox/base: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 30: Line 30:
     <div style='display:flex; flex-direction: column'><!--
     <div style='display:flex; flex-direction: column'><!--
         -->{{#cargo_query:
         -->{{#cargo_query:
         tables =  
         tables =
             Hero=H,
             Hero=H,
             Hero__start_skills=S,
             Hero__start_skills=S,
Line 41: Line 41:
             S._value=id,
             S._value=id,
             L._value=level,
             L._value=level,
            CONCAT('64px') = size
             CONCAT('{{{lang|en}}}') = lang
             CONCAT('{{{lang|en}}}') = lang
         | where = H.id='{{{id|}}}'
         | where = H.id='{{{id|}}}'

Revision as of 08:13, 25 August 2026

1. English:

Mag
To a true scholar of magic, the body is nothing but dead weight.
Faction
Hero Class
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 AS `CONCAT( 64px ) = size\x0A CONCAT( en ) = lang` ...' at line 2

Function: CargoSQLQuery::run Query: SELECT `H`.`_pageID` AS `cargo_backlink_page_id_H`,`S`.`_value` AS `id`,`L`.`_value` AS `level`,CONCAT('64px') = size

           CONCAT('en') = lang AS `CONCAT( 64px ) = size
           CONCAT( en ) = lang`  FROM `mw4v_cargo__Hero` `H` LEFT OUTER JOIN `mw4v_cargo__Hero__start_skills` `S` ON ((`H`.`_rowID`=`S`.`_rowID`)) LEFT OUTER JOIN `mw4v_cargo__Hero__start_skill_levels` `L` ON ((`S`.`_rowID`=`L`.`_rowID`) AND (`S`.`_position`=`L`.`_position`))   WHERE `H`.`id`='necro_hero_10'  ORDER BY `S`.`_position` LIMIT 100  
Starting Army

20 - 27

11 - 16

8 - 11
Internal ID
necro_hero_10
{{Sandbox/Aurelain/HeroInfobox/base
    | lang = en
    | id = necro_hero_10
    | name = Mag
    | portrait = Mag.png
    | faction = undead
    | class = magic_undead
    | startattack = 4
    | startdefense = 0
    | startspellpower = 2
    | startknowledge = 1
    | motto = To a true scholar of magic, the body is nothing but dead weight.
}}

2. Japanese:

マグ
真の魔法学者にとって、肉体は重荷でしかない。
Hero Class💬
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 '('ja') = lang AS `CONCAT( 64px ) = size\x0A CONCAT( ja ) = lang` ...' at line 2

Function: CargoSQLQuery::run Query: SELECT `H`.`_pageID` AS `cargo_backlink_page_id_H`,`S`.`_value` AS `id`,`L`.`_value` AS `level`,CONCAT('64px') = size

           CONCAT('ja') = lang AS `CONCAT( 64px ) = size
           CONCAT( ja ) = lang`  FROM `mw4v_cargo__Hero` `H` LEFT OUTER JOIN `mw4v_cargo__Hero__start_skills` `S` ON ((`H`.`_rowID`=`S`.`_rowID`)) LEFT OUTER JOIN `mw4v_cargo__Hero__start_skill_levels` `L` ON ((`S`.`_rowID`=`L`.`_rowID`) AND (`S`.`_position`=`L`.`_position`))   WHERE `H`.`id`='necro_hero_10'  ORDER BY `S`.`_position` LIMIT 100  
開始軍勢

20 - 27

11 - 16

8 - 11
Internal ID💬
necro_hero_10
{{Sandbox/Aurelain/HeroInfobox/base
    | lang = ja
    | id = necro_hero_10
    | name = マグ
    | portrait = Mag.png
    | faction = undead
    | class = magic_undead
    | startattack = 4
    | startdefense = 0
    | startspellpower = 2
    | startknowledge = 1
    | motto = 真の魔法学者にとって、肉体は重荷でしかない。
}}