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 2: Line 2:
--><tr>
--><tr>
     <td>{{Skill|{{{id}}}|{{{lang}}}|size=24px}}</td>
     <td>{{Skill|{{{id}}}|{{{lang}}}|size=24px}}</td>
     <td>{{#explode:{{{weights}}}|,|0}}</td>
     <td>{{#if:{{{weights|}}}<!--
        -->|{{#explode:{{{weights}}}|,|0}}<!--
        -->|—<!--
        -->}}<!--
    --></td>
     <td>{{#explode:{{{weights}}}|,|1}}</td>
     <td>{{#explode:{{{weights}}}|,|1}}</td>
     <td>{{#explode:{{{weights}}}|,|2}}</td>
     <td>{{#explode:{{{weights}}}|,|2}}</td>

Revision as of 07:44, 8 August 2026


Renders one skill row with 5 columns.

1. Offense:

Input:

{{Sandbox/Aurelain/HeroClassSkills/row
    | lang = en
    | id = assault
    | weights = 100,200,300,400
}}

Output:

Offense 100 200 300 400