Template:TalentPageTable: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Kiokurashi
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:i|0}}{| class="{{{2|wikitable}}}"  style="text-align: center;vertical-align:top;" <!-- List2 is used to make a new row every 5 entries in this call -->
<includeonly>{{#vardefine:i|0}}{| class="wikitable"  style="text-align: center;vertical-align:top;"
{{#invoke:Loops|parseLoop
|-
|list1={{{1|}}}
|{{TalentIcon|{{{1|}}}}}||{{TalentIcon|{{{2|}}}}}||{{TalentIcon|{{{3|}}}}}||{{TalentIcon|{{{4|}}}}}||{{TalentIcon|{{{5|}}}}}
|list2= → → → →</tr><tr>→ → → → →</tr><tr>→ → → → →</tr>
|-
|replaceString=<td>{{TalentIcon|(1)}}</td>(2)
|{{TalentIcon|{{{6|}}}}}||{{TalentIcon|{{{7|}}}}}||{{TalentIcon|{{{8|}}}}}||{{TalentIcon|{{{9|}}}}}||{{TalentIcon|{{{10|}}}}}
|delimiter=→
|-
}}
| ||{{TalentIcon|{{{11|}}}}}||{{TalentIcon|{{{12|}}}}}||{{TalentIcon|{{{13|}}}}}|| 
|}</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)
This is done by the following:<pre>{{TalentPageTable|List→ of→ talent→ names→ here}}</pre>
This is done by the following:<pre>{{TalentPageTable|List→ of→ talent→ names→ here}}</pre>
We use the → symbol because the Dev likes to put most common symbols in and that breaks things....
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.</noinclude>
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 05:25, 15 March 2022

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.