Template:Infobox location: Difference between revisions
From The Pokemon Insurgence Wiki
(Work on getting location pages mobile friendly) |
(Adding support for Dream Realm maps) |
||
(One intermediate revision by one other user not shown) | |||
Line 40: | Line 40: | ||
|- | |- | ||
|- style="{{#switch:{{{mapdisplay|yes}}}|no=display: none;}}" | |- style="{{#switch:{{{mapdisplay|yes}}}|no=display: none;}}" | ||
| colspan="2" style="text-align:center; background:#FFFFFF" | {{#switch:{{{mapdisplay|yes}}}|yes={{Torren Map|{{{map|{{{region|Torren}}} {{{Location_map|}}} Map.png}}}{{#if: {{{mapsize|}}}|{{!}}{{{mapsize}}}}}}}}}<br><small>Interactive Map Location of {{{location_name}}} in [[{{{mapname|{{{region}}}|class=resizable]]{{#if: {{{region2|}}}| and [[{{{region2}}}]]}}}}}{{#if: {{{mapname|}}}]]}}.</small> | | colspan="2" style="text-align:center; background:#FFFFFF" | {{#switch:{{{mapdisplay|yes}}}|yes={{{{{region|Torren}}} Map|{{{map|{{{region|Torren}}} {{{Location_map|}}} Map.png}}}{{#if: {{{mapsize|}}}|{{!}}{{{mapsize}}}}}}}}}<br><small>Interactive Map Location of {{{location_name}}} in [[{{{mapname|{{{region}}}]]|class=resizable]]{{#if: {{{region2|}}}| and [[{{{region2}}}]]}}}}}{{#if: {{{mapname|}}}]]}}.</small> | ||
|- | |- | ||
| colspan="2" style="text-align:center; background: #{{Locationcolor/light|{{{type|road}}}}}; {{#ifeq: {{{type|road}}}|space|color:#FFFFFF;}} {{roundybottom|10px}};" |'''[[Locations|{{color|{{#ifeq: {{{type|road}}}|space|FFF|000}}|Locations}}]]''' | | colspan="2" style="text-align:center; background: #{{Locationcolor/light|{{{type|road}}}}}; {{#ifeq: {{{type|road}}}|space|color:#FFFFFF;}} {{roundybottom|10px}};" |'''[[Locations|{{color|{{#ifeq: {{{type|road}}}|space|FFF|000}}|Locations}}]]''' | ||
|}<noinclude>[[Category:Infobox templates]]</noinclude> | |}<noinclude>[[Category:Infobox templates]]</noinclude> |
Latest revision as of 22:06, 14 March 2020
| |||
Location: | {{{location}}} | ||
---|---|---|---|
Region: | [[{{{region}}}]] | ||
Interactive Map Location of {{{location_name}}} in [[{{{region}}}]]. | |||
Locations |