Template:Route infobox: Difference between revisions
From The Pokemon Insurgence Wiki
mNo edit summary |
(Reverted showing of region name when name parameter is given) |
||
(8 intermediate revisions by 4 users not shown) | |||
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 {{{ | | 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>}} | ||
|- | |- | ||
{{#ifexpr: {{{generation|1}}} < 3| | {{#ifexpr: {{{generation|1}}} < 3| | ||
Line 169: | Line 185: | ||
}} | }} | ||
|- style="{{#if:{{{prev|}}}{{{next|}}}{{{number|}}}||display: none;}}" align="center" | |- style="{{#if:{{{prev|}}}{{{next|}}}{{{number|}}}||display: none;}}" align="center" | ||
| class="roundy" style="border: 2px solid #{{Locationcolor/dark|{{{type|land}}}}}; background: #{{Locationcolor/light|{{{type|land}}}}};" | [[Routes|{{color|{{Locationcolor/text|{{{type|land}}}}}|'''Routes'''}}]] | | class="roundy" style="border: 2px solid #{{Locationcolor/dark|{{{type|land}}}}}; background: #{{Locationcolor/light|{{{type|land}}}}};" | <includeonly>[[Category:Routes|{{color|{{Locationcolor/text|{{{type|land}}}}}|'''Routes'''}}]]</includeonly> | ||
{| width="100%" class="roundy" align="center" style="background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;" | {| width="100%" class="roundy" align="center" style="background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse: collapse;" | ||
| class="roundy" style="background:#{{Locationcolor/light|{{{type|land}}}}};" | | | class="roundy" style="background:#{{Locationcolor/light|{{{type|land}}}}};" | | ||
{| width="100%" class="roundy" style="background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse:collapse;" align="center" | {| width="100%" class="roundy" style="background:#{{Locationcolor/light|{{{type|land}}}}}; border-collapse:collapse;" align="center" | ||
| align="right" class="roundyleft" style="background:#FFFFFF;" | {{#if:{{{prev|}}}{{{next|}}}{{{number|}}}|[[{{{regionprev|}}} {{{prev| | | align="right" class="roundyleft" style="background:#FFFFFF;" | {{#if:{{{prev|}}}{{{next|}}}{{{number|}}}|[[{{{regionprev|}}} {{{prev|Route {{#expr: {{{number|0}}} - 1}}}}}|{{color|000|←}}]]|}} | ||
| align="right" width="40%" style="background:#FFFFFF;" | {{#if:{{{prev|}}}{{{next|}}}{{{number|}}}|[[{{{regionprev|}}} {{{prev| | | align="right" width="40%" style="background:#FFFFFF;" | {{#if:{{{prev|}}}{{{next|}}}{{{number|}}}|[[{{{regionprev|}}} {{{prev|Route {{#expr: {{{number|0}}} - 1}}}}}|{{color|000|{{{prev|Route {{#expr: {{{number|0}}} - 1}}}}}}}]]|}} | ||
| style="background:#FFFFFF;" | | | style="background:#FFFFFF;" | | ||
| | | | ||
| style="background:#FFFFFF;" | | | style="background:#FFFFFF;" | | ||
| align="left" width="40%" style="background:#FFFFFF;" | {{#if:{{{prev|}}}{{{next|}}}{{{number|}}}|[[{{{regionnext|}}} {{{next| Route {{#expr: {{{number|0}}} + 1}}}}}|{{color|000|{{{next|Route {{#expr: {{{number|0}}} + 1}}}}}}}]]|}} | | align="left" width="40%" style="background:#FFFFFF;" | {{#if:{{{prev|}}}{{{next|}}}{{{number|}}}|[[{{{regionnext|}}} {{{next| Route {{#expr: {{{number|0}}} + 1}}}}}|{{color|000|{{{next|Route {{#expr: {{{number|0}}} + 1}}}}}}}]]|}} | ||
| align="left" class="roundyright" style="background:#FFFFFF;" | {{#if:{{{prev|}}}{{{next|}}}{{{number|}}}|[[{{{regionnext|}}} {{{next| | | align="left" class="roundyright" style="background:#FFFFFF;" | {{#if:{{{prev|}}}{{{next|}}}{{{number|}}}|[[{{{regionnext|}}} {{{next|Route {{#expr: {{{number|0}}} + 1}}}}}|{{color|000|→}}]]|}} | ||
|} | |} | ||
|} | |} | ||
|}<includeonly>{{#ifeq:{{NAMESPACE}}|Wikia||[[Category:Routes]]{{#if: {{{number|}}}|{{DEFAULTSORT:Route {{#ifeq: {{{region}}}|Unova|X|}}{{padleft:{{{number}}}|3}}}}|}}}}</includeonly><noinclude>[[Category:Infobox templates|{{BASEPAGENAME}}]]</noinclude> | |}<includeonly>{{#ifeq:{{NAMESPACE}}|Wikia||[[Category:Routes]]{{#if: {{{number|}}}|{{DEFAULTSORT:Route {{#ifeq: {{{region}}}|Unova|X|}}{{padleft:{{{number}}}|3}}}}|}}}}</includeonly><noinclude>[[Category:Infobox templates|{{BASEPAGENAME}}]]</noinclude> |
Latest revision as of 17:46, 17 December 2021
| ||||||||
Connecting locations
| ||||||||
Location Interactive Map Location of {{{name}}} in [[{{{region}}}|{{{region}}}]]. | ||||||||
|