Template:TalentPageTable: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
imported>Kiokurashi No edit summary |
||
Line 4: | Line 4: | ||
| <nowiki /> | | <nowiki /> | ||
{{#ifexpr:{{#var:i}}mod5||{{!}}- }}<!-- If value is 0 or divisible by 5, insert new row characters --> | {{#ifexpr:{{#var:i}}mod5||{{!}}- }}<!-- If value is 0 or divisible by 5, insert new row characters --> | ||
{{!}} {{TalentIcon|{{#explode:{{{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) | |}</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) |
Revision as of 22:36, 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}}
We use the ^ symbol because the Dev likes to put most common symbols in and that breaks things.... 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.