Template:Area: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
<table class="informational-box" align="right" style="width: 43%; background-color: {{#var:background}}; border: 5px solid {{#var:border}}; border-radius: 25px; padding: 5px; text-align: center;">
<table class="informational-box" align="right" style="width: 43%; background-color: {{#var:background}}; border: 5px solid {{#var:border}}; border-radius: 25px; padding: 5px; text-align: center;">
<tr><td colspan="3"><div style="background-color: {{#var:cell}}; margin: auto auto; border-radius: 25px; width: 50%; border: 3px solid {{#var:border}}; color: {{#var:border}}; font-weight: bold; font-size: 20px;">{{PAGENAME}} - [[{{{Region}}}|<span style="color:{{#var:border}};">{{{Region}}}</span>]]</div></td></tr>
<tr><td colspan="3"><div style="background-color: {{#var:cell}}; margin: auto auto; border-radius: 25px; width: 50%; border: 3px solid {{#var:border}}; color: {{#var:border}}; font-weight: bold; font-size: 20px;">{{PAGENAME}} - [[{{{Region}}}|<span style="color:{{#var:border}};">{{{Region}}}</span>]]</div></td></tr>
<tr><td colspan="3" style="background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 6px;"><p style="color: {{#var:border}}; margin-bottom: 5px; font-weight: bold;">Overview</p>[[File:{{PAGENAME}}.png|400px]]</td></tr>
<tr>
{{#if:{{{Maps|}}} |
{{#arraydefine:maps|{{{Maps}}}}}
<td colspan="3">
<table style="text-align: center; width: 100%; padding: 6px; color:{{#var:border}};">
<tr><td colspan="5" style="color: {{#var:border}}; margin-bottom: 5px; font-weight: bold; border-radius: 25px; border: 3px solid {{#var:border}}; background-color:{{#var:cell}};">Overviewing collage</td></tr>
<tr>
{{#vardefine:placeholder|1}}
{{#loop: iterations|
1|
{{#arraysize:maps}}|
{{#vardefine:vector|{{#expr:{{#var:iterations}} - 1}}}}
<td width="33%" style="background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}};">
<table width="100%" style="text-align: center; padding: 3px;">
<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>
</table></td>
|
<td colspan="3" style="background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 6px;"><p style="color: {{#var:border}}; margin-bottom: 5px; font-weight: bold;">Overview</p>[[File:{{PAGENAME}}.png|400px]]</td>
}}
</tr>
<tr><td colspan="3" style="background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}};"><p style="color: {{#var:border}}; margin-bottom: 5px; font-weight: bold;">Location</p>{{#if:{{{Location|}}} | [[File:{{{Location}}}.gif]] | [[File:{{PAGENAME}}.gif]]}}<p style="font-color: 10px: margin-top: 4px;>A positional vantage point of {{PAGENAME}} in {{{Region}}}.</p></td></tr>
<tr><td colspan="3" style="background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}};"><p style="color: {{#var:border}}; margin-bottom: 5px; font-weight: bold;">Location</p>{{#if:{{{Location|}}} | [[File:{{{Location}}}.gif]] | [[File:{{PAGENAME}}.gif]]}}<p style="font-color: 10px: margin-top: 4px;>A positional vantage point of {{PAGENAME}} in {{{Region}}}.</p></td></tr>
{{#if:{{{Badge|}}} |
{{#if:{{{Badge|}}} |
Line 89: Line 118:
}}
}}
</table>
</table>


[[Category:Locations]] {{#if:{{{Region}}} | [[Category:{{{Region}}} areas]]}} {{#switch: {{ucfirst:{{{Type}}}}} | Cave = [[Category:Caves]] | Mountain = [[Category:Mountains]] | Forest = [[Category:Forests]] | Lake = [[Category:Lakes]] | #default = }} {{#if:{{{Badge|}}} | [[Category:Gyms]]}}
[[Category:Locations]] {{#if:{{{Region}}} | [[Category:{{{Region}}} areas]]}} {{#switch: {{ucfirst:{{{Type}}}}} | Cave = [[Category:Caves]] | Mountain = [[Category:Mountains]] | Forest = [[Category:Forests]] | Lake = [[Category:Lakes]] | #default = }} {{#if:{{{Badge|}}} | [[Category:Gyms]]}}
</includeonly>
</includeonly>

Revision as of 00:48, 10 February 2017

This is used to tabulate all basic area data.