Template:Sandbox/Aurelain/HeroesNavbox/Row: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly><!--
-->{{#cargo_query:
    tables =
        Hero = H,
        Translation = T,
        Translation = E
    |join on =
        H.id = T.target_id,
        H.id = E.target_id
    |where =
        H.class_id = '{{{class}}}'
        AND H.id NOT LIKE 'campaign%'
        AND H.id NOT LIKE 'tutorial%'
        AND H.id NOT LIKE 'cm_fun%'
        AND T.type = 'hero'
        AND T.language = '{{{lang|en}}}'
        AND E.type = 'hero'
        AND E.language = 'en'
    |order by =
        H.id
    |fields =
        T.language = lang,
        H.id = id,
        'hero' = type,
        '1' = filename,
        '1' = stack
    |format = template
    |template = LinkIcon
    |named args = yes
}}</includeonly><!--
################################################################################
--><noinclude>
<!--=========================================================================-->
==1. English:==


Input:
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}}</nowiki></code>
<pre><nowiki>
{{Sandbox/Aurelain/HeroesNavbox/Row|lang=pl|class=might_human}}
</nowiki></pre>


Output:<br>
{{Color|green|Output:}} {{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}}
{{Sandbox/Aurelain/HeroesNavbox/Row|lang=pl|class=might_human}}


</noinclude><includeonly><!--
==2. Japanese:==
####################################################################
 
-->| {{LinkIcon|type=hero_class|id={{{class}}}|lang={{{lang}}}|suffix=_icon.png}}
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/HeroesNavbox/Row|lang=ja|class=might_human}}</nowiki></code>
| {{#cargo_query:
 
  tables =
{{Color|green|Output:}} {{Sandbox/Aurelain/HeroesNavbox/Row|lang=ja|class=might_human}}
      Hero = H,
 
      Translation = T,
</noinclude>
      Translation = E
  | join on =
      H.id = T.target_id,
      H.id = E.target_id
  | where =
      H.class_id = '{{{class}}}'
      AND H.id NOT LIKE 'campaign%'
      AND H.id NOT LIKE 'tutorial%'
      AND H.id NOT LIKE 'cm_fun%'
      AND T.type = 'hero'
      AND T.language = '{{{lang|en}}}'
      AND E.type = 'hero'
      AND E.language = 'en'
  | order by =
      H.id
  | fields =
      T.language = lang,
      T.name = name,
      E.name = name_en,
  | format =
        template
  | template =
        Sandbox/Aurelain/HeroesNavbox/Hero
  | named args =
        yes
}}<!--
####################################################################
--></includeonly>

Latest revision as of 07:34, 2 September 2026