Template:Sandbox/Aurelain/HeroClassSkills/row: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><tr>
--><tr>
     <td>{{Skill|{{{id}}}|{{{lang}}}|size=24px}}</td>
     <td>{{Skill|{{{id}}}|{{{L}}}|size=24px}}</td>
     <td>{{#if:{{{weights|}}}<!--
     <td>{{#if:{{{W|}}}<!--
         -->|{{#explode:{{{weights}}}|,|0}}<!--
         -->|{{#explode:{{{W}}}|,|0}}<!--
         -->|—<!--
         -->|—<!--
         -->}}<!--
         -->}}<!--
     --></td>
     --></td>
     <td>{{#explode:{{{weights}}}|,|1}}</td>
     <td>{{#explode:{{{W}}}|,|1}}</td>
     <td>{{#explode:{{{weights}}}|,|2}}</td>
     <td>{{#explode:{{{W}}}|,|2}}</td>
     <td>{{#explode:{{{weights}}}|,|3}}</td>
     <td>{{#explode:{{{W}}}|,|3}}</td>
</tr><!--
</tr><!--
--></includeonly><!--
--></includeonly><!--
Line 23: Line 23:
<pre><nowiki>
<pre><nowiki>
{{Sandbox/Aurelain/HeroClassSkills/row
{{Sandbox/Aurelain/HeroClassSkills/row
     | lang = en
     | L = en
     | id = assault
     | id = assault
     | weights = 100,200,300,400
     | T = 1000,1000,1100,1100
    | W = 100,200,300,400
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 31: Line 32:
{{Color|lime|Output:}}
{{Color|lime|Output:}}
{{Sandbox/Aurelain/HeroClassSkills/row
{{Sandbox/Aurelain/HeroClassSkills/row
     | lang = en
     | L = en
     | id = assault
     | id = assault
     | weights = 100,200,300,400
     | T = 1000,1000,1100,1100
    | W = 100,200,300,400
}}
}}


__NOTOC__
__NOTOC__
</noinclude>
</noinclude>

Revision as of 08:14, 8 August 2026


Renders one skill row with 5 columns.

1. Offense:

Input:

{{Sandbox/Aurelain/HeroClassSkills/row
    | L = en
    | id = assault
    | T = 1000,1000,1100,1100
    | W = 100,200,300,400
}}

Output:

Offense 100 200 300 400