Template:Sandbox/Aurelain/SpellsNavbox/row: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
Created page with "<noinclude> Input: <pre><nowiki> {{Sandbox/Aurelain/SpellsNavbox/row |lang=en |school=day }} </nowiki></pre> Output:<br> {{Sandbox/Aurelain/SpellsNavbox/row |lang=en |school=day }}} </noinclude><includeonly><!-- #################################################################### -->SpellsNavbox/row<!-- #################################################################### --></includeonly>" |
No edit summary |
||
| Line 17: | Line 17: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
#################################################################### | #################################################################### | ||
-->SpellsNavbox/ | -->| {{LinkIcon|type=hero_class|id={{{class}}}|lang={{{lang}}}|suffix=_icon.png}} | ||
| {{#cargo_query: | |||
tables = | |||
Spells = S, | |||
Translation = T, | |||
Translation = E, | |||
| join on = | |||
S.id = T.target_id, | |||
S.id = E.target_id | |||
| where = | |||
S.school = '{{{school}}}' | |||
AND T.type = 'spell' | |||
AND T.language = '{{{lang|en}}}' | |||
AND E.type = 'spell' | |||
AND E.language = 'en' | |||
| order by = | |||
S.rank | |||
| fields = | |||
S.id = id, | |||
T.language = lang, | |||
T.name = name, | |||
E.name = name_en | |||
| format = | |||
template | |||
| template = | |||
Sandbox/Aurelain/SpellsNavbox/spell | |||
| named args = | |||
yes | |||
}}<!-- | |||
#################################################################### | #################################################################### | ||
--></includeonly> | --></includeonly> | ||
Revision as of 20:16, 22 June 2026
Input:
{{Sandbox/Aurelain/SpellsNavbox/row
|lang=en
|school=day
}}
Output:
| No results
|
Error: Table Spells not found.
}


