Template:Area: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 65: Line 65:
</tr>
</tr>
}}
}}
{{#vardefine:border|{{#expr:{{{North|0}}}+{{{West|0}}}+{{{East|0}}}+{{{South|0}}}}}}}
{{#ifexpr:{{#var:border}} < 4 |
<tr><td colspan="3" style="border-radius: 25px; margin: auto auto; background-color: {{#var:cell}}; border: 3px solid {{#var:border}};">
<tr><td colspan="3" style="border-radius: 25px; margin: auto auto; background-color: {{#var:cell}}; border: 3px solid {{#var:border}};">
<table style="width: 100%; padding: 7px;">
<table style="width: 100%; padding: 7px;">
Line 85: Line 87:
</td>
</td>
</tr>
</tr>
}}
</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 12:44, 19 January 2017

This is used to tabulate all basic area data.