Template:Sandbox/Aurelain/HeroesNavbox/Row: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Input: | Input: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}} | {{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}} | ||
</nowiki></pre> | </nowiki></pre> | ||
Output: | |||
Output:<br> | |||
{{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}} | {{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}} | ||
</noinclude><includeonly> | |||
<!-- ################# --> | </noinclude><includeonly><!-- | ||
|{{LinkIcon|type=hero_class|id={{{class}}}|lang={{{lang}}}|suffix=_icon.png}} | #################################################################### | ||
|{{#cargo_query: | -->| {{LinkIcon|type=hero_class|id={{{class}}}|lang={{{lang}}}|suffix=_icon.png}} | ||
| {{#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 = | |||
T.name | |||
| fields = | |||
T.language = lang, | |||
T.name = name, | |||
E.name = name_en, | |||
| format = template | |||
| template = Sandbox/Aurelain/HeroesNavbox/Hero | |||
| delimiter= • | |||
}} | | named args = yes | ||
</includeonly> | }}<!-- | ||
#################################################################### | |||
--></includeonly> | |||
Revision as of 08:21, 20 June 2026
Input:
{{Sandbox/Aurelain/HeroesNavbox/Row|lang=en|class=might_human}}
Output:
|
Knight
|
Aeos the Exalted •
Heretic Avis •
Ister •
John Johnson •
Keandra •
Kestrel •
Leon Sticky-Fingers •
Lord Edgar •
Old Lord Mandall


