Template:Route infobox: Difference between revisions
From The Pokemon Insurgence Wiki
(Show region name if number or name parameter is given (used to be only if number is given)) |
(Reverted showing of region name when name parameter is given) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{| align="center" class="roundy" width="100%" style="background: #{{locationcolor/light|{{{type|land}}}}};" | {| align="center" class="roundy" width="100%" style="background: #{{locationcolor/light|{{{type|land}}}}};" | ||
|- align="center" | |- align="center" | ||
| rowspan="2" style="color:#{{Locationcolor/text|{{{type|land}}}}};" | {{#if: {{{number | | rowspan="2" style="color:#{{Locationcolor/text|{{{type|land}}}}};" | {{#if: {{{number|}}}|'''{{{region|Kanto}}}'''<br>}}'''<big><big><big>{{{name|Route {{{number|0}}}}}}</big></big></big>'''{{#if: {{{sevii|}}}|<br>'''{{{sevii|}}} Island'''}} | ||
| style="color:#{{Locationcolor/text|{{{type|land}}}}};" | | | style="color:#{{Locationcolor/text|{{{type|land}}}}};" | | ||
|} | |} | ||
Line 146: | Line 146: | ||
{{!}} |}} | {{!}} |}} | ||
|} | |} | ||
<!--Accessible locations--> | |||
{{#if: {{{access|}}}{{{access2|}}}| | |||
{{!}}- align="center" | |||
{{!}} class="roundy" style="border: 2px solid #{{{colordark|{{locationcolor/dark|{{{type|land}}}}}}}}; background: #{{{colorlight|{{locationcolor/light|{{{type|land}}}}}}}};" {{!}} {{color|000000|'''[[Locations|{{color|{{Locationcolor/text|{{{type|land}}}}}|Accessible locations}}]]'''}} | |||
{{{!}} width="40%" style="text-align:center" | |||
{{#if: {{{access|}}}| | |||
{{!}}- | |||
{{!}} style="background:#FFFFFF; {{roundy}}" {{!}} [[{{{access}}}|{{color|000|{{{accessalt|{{{access}}}}}}}}]] | |||
|}} | |||
{{#if: {{{access2|}}}| | |||
{{!}}- | |||
{{!}} style="background:#FFFFFF; {{roundy}}" {{!}} [[{{{access2}}}|{{color|000|{{{access2alt|{{{access2}}}}}}}}]] | |||
|}} | |||
{{!}}} | |||
|}} | |||
<!--Accessible locations end--> | |||
|- align="center" | |- align="center" | ||
| class="roundy" style="border: 2px solid #{{Locationcolor/dark|{{{type|land}}}}}; background: #{{Locationcolor/light|{{{type|land}}}}};" | {{color|{{Locationcolor/text|{{{type|land}}}}}|'''[[Region|{{color|{{Locationcolor/text|{{{type|land}}}}}|Location}}]]'''}} <br> {{Torren Map|{{{map|{{{region|Torren}}} Route {{{number|1}}} Map.gif}}}{{#if: {{{mapsize|}}}|{{!}}{{{mapsize}}}}}}} <br> {{color|{{Locationcolor/text|{{{type|land}}}}}|<small>Interactive Map Location of {{#if:{{{number|}}}|Route {{{number|0}}}|{{{name}}}}} in [[{{{region}}}|{{color|{{Locationcolor/text|{{{type|land}}}}}|{{{region}}}}}]].</small>}} | | class="roundy" style="border: 2px solid #{{Locationcolor/dark|{{{type|land}}}}}; background: #{{Locationcolor/light|{{{type|land}}}}};" | {{color|{{Locationcolor/text|{{{type|land}}}}}|'''[[Region|{{color|{{Locationcolor/text|{{{type|land}}}}}|Location}}]]'''}} <br> {{Torren Map|{{{map|{{{region|Torren}}} Route {{{number|1}}} Map.gif}}}{{#if: {{{mapsize|}}}|{{!}}{{{mapsize}}}}}}} <br> {{color|{{Locationcolor/text|{{{type|land}}}}}|<small>Interactive Map Location of {{#if:{{{number|}}}|Route {{{number|0}}}|{{{name}}}}} in [[{{{region}}}|{{color|{{Locationcolor/text|{{{type|land}}}}}|{{{region}}}}}]].</small>}} |
Latest revision as of 17:46, 17 December 2021
| ||||||||
Connecting locations
| ||||||||
Location Interactive Map Location of {{{name}}} in [[{{{region}}}|{{{region}}}]]. | ||||||||
|