Template:TalentPageTable: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
(Created page with "{{#vardefine:i|0}}{| class="wikitable" style="text-align: center;vertical-align:top;" {{#while: | {{#if: {{#explode:{{{1}}}|,|{{#var:i}}}} | true }} | <nowiki /> {{#ifexpr:{{...")
 
imported>Kiokurashi
No edit summary
Line 1: Line 1:
{{#vardefine:i|0}}{| class="wikitable"  style="text-align: center;vertical-align:top;"
<includeonly>{{#vardefine:i|0}}{| class="wikitable"  style="text-align: center;vertical-align:top;"
{{#while:
{{#while:
| {{#if: {{#explode:{{{1}}}|,|{{#var:i}}}} | true }}
| {{#if: {{#explode:{{{1}}}|,|{{#var:i}}}} | true }}
Line 6: Line 6:
{{!}} {{TalentIcon|{{#explode:{{{1}}}|,|{{#var:i}}}}}}{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
{{!}} {{TalentIcon|{{#explode:{{{1}}}|,|{{#var:i}}}}}}{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
}}
|}
|}</includeonly><noinclude> This is used to make the table of links in the same format as the pages in the game. (though it can handle more than 3 rows)
This is done by the following:<pre>{{TalentPageTable|List, of, talent, names, here}}</pre>
However, if there is a space that should be left blank then it should have a Non-breaking space. This can be achieved by copying one found elsewhere, or if you are able to use a numpad on a keyboard you can use the Alt Code 255 to achieve the same effect.</noinclude>

Revision as of 22:12, 9 May 2021

This is used to make the table of links in the same format as the pages in the game. (though it can handle more than 3 rows)

This is done by the following:

{{TalentPageTable|List, of, talent, names, here}}

However, if there is a space that should be left blank then it should have a Non-breaking space. This can be achieved by copying one found elsewhere, or if you are able to use a numpad on a keyboard you can use the Alt Code 255 to achieve the same effect.