Template:Sandbox/Aurelain/HeroClassSkills/row: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary Tag: Manual revert |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><tr> | --><tr> | ||
<td>{{Skill|{{{id}}}|{{{ | <td>{{Skill|{{{id}}}|{{{L}}}|size=24px}}</td> | ||
<td>{{#if:{{{ | <td>{{#if:{{{W|}}}<!-- | ||
-->|{{#explode:{{{ | -->|{{Sandbox/Aurelain/HeroClassSkills/value|{{#explode:{{{W}}}|,|0}}|{{#explode:{{{T}}}|,|0}}}}<!-- | ||
-->|—<!-- | -->|—<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></td> | --></td> | ||
<td>{{#explode:{{{ | <td>{{Sandbox/Aurelain/HeroClassSkills/value|{{#explode:{{{W}}}|,|1}}|{{#explode:{{{T}}}|,|1}}}}</td> | ||
<td>{{#explode:{{{ | <td>{{Sandbox/Aurelain/HeroClassSkills/value|{{#explode:{{{W}}}|,|2}}|{{#explode:{{{T}}}|,|2}}}}</td> | ||
<td>{{#explode:{{{ | <td>{{Sandbox/Aurelain/HeroClassSkills/value|{{#explode:{{{W}}}|,|3}}|{{#explode:{{{T}}}|,|3}}}}</td> | ||
</tr><!-- | </tr><!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
| Line 23: | Line 23: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Sandbox/Aurelain/HeroClassSkills/row | {{Sandbox/Aurelain/HeroClassSkills/row | ||
| | | L = en | ||
| id = assault | | id = assault | ||
| | | 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 | ||
| | | L = en | ||
| id = assault | | id = assault | ||
| | | T = 1000,1000,1100,1100 | ||
| W = 100,200,300,400 | |||
}} | }} | ||
__NOTOC__ | __NOTOC__ | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:28, 26 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
10.00%100
20.00%200
27.27%300
36.36%400


