Template:CoinShopMount: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
{{#vardefine:clothes|{{#expr:{{#var:clothes}}+1}}}} | {{#vardefine:clothes|{{#expr:{{#var:clothes}}+1}}}} | ||
<td width="17%"> | <td width="17%"> | ||
<table width="100%" style="text-align: center; border-spacing: 5px; background-color: {{#var:cell}}; border-radius: 25px; border: 1px solid {{#var:border}};"><tr><td><div style="border-radius: 30px; padding: 5px; border: solid 3px # | <table width="100%" style="text-align: center; border-spacing: 5px; background-color: {{#var:cell}}; border-radius: 25px; border: 1px solid {{#var:border}};"><tr><td><div style="border-radius: 30px; padding: 5px; border: solid 3px {{#var:border}}; background-color: #FFFFFF;">{{#ifexist: File:{{{1}}}_Mount.png | [[File:{{{1}}}_Mount.png]] | [[File:{{#external_value:number}}Icon.png]]}}</div></td><td>{{#if: {{{g|}}} | '''{{{1}}}''' | {{{1}}} }}</td></tr> | ||
</table> | </table> | ||
</td>{{#ifexpr:{{#var:clothes}} / 6 = {{#var:placeholder}} | {{#vardefine:placeholder|{{#expr:{{#var:placeholder}} + 1}}}} </tr><tr> }}</includeonly> | </td>{{#ifexpr:{{#var:clothes}} / 6 = {{#var:placeholder}} | {{#vardefine:placeholder|{{#expr:{{#var:placeholder}} + 1}}}} </tr><tr> }}</includeonly> |
Revision as of 21:13, 8 December 2017
It works in conjunction with Template:CoinShopTable to construct a tabular overview of all purchasable mounts.