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

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


    | format = template
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}}</nowiki></code>
    | template=LinkIcon
 
    | delimiter=  • 
{{Color|green|Output:}} {{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}}
    | named args = yes
 
}}
==2. Japanese:==
</includeonly>
 
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/HeroesNavbox/Row|lang=ja|class=might_human}}</nowiki></code>
 
{{Color|green|Output:}} {{Sandbox/Aurelain/HeroesNavbox/Row|lang=ja|class=might_human}}
 
</noinclude>

Latest revision as of 07:34, 2 September 2026