Template:KeitaArea: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
</div> | </div> | ||
<div class="infobox-content"> | <div class="infobox-content"> | ||
{{#if:{{{Maps|}}} | | |||
{{#arraydefine:maps|{{{Maps}}}}} | |||
<tr>{{#vardefine:placeholder|1}} | |||
{{#loop: iterations|1|{{#arraysize:maps}}| | |||
{{#vardefine:vector|{{#expr:{{#var:iterations}} - 1}}}} | |||
<td width="33%"> | |||
<table width="100%" style="text-align: center;"> | |||
<tr><td>[[File:{{#arrayindex:maps|{{#var:vector}}}}.png|100px]]</td></tr> | |||
<tr><td>{{#arrayindex:maps|{{#var:vector}}}}</td></tr> | |||
</table> | |||
</td> | |||
{{#ifexpr:{{#var:iterations}} / 3 = {{#var:placeholder}} | {{#vardefine:placeholder|{{#expr:{{#var:placeholder}} + 1}}}} </tr><tr> }} | |||
}} | |||
</tr> | |||
| | |||
[[File:{{PAGENAME}}.png|400px]] | |||
}} | |||
<!-- Minimap section, shown only if Minimap is provided --> | <!-- Minimap section, shown only if Minimap is provided --> |