Template:Infobox location: Difference between revisions
From The Pokemon Insurgence Wiki
mNo edit summary |
(Adding support for Dream Realm maps) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| style="float:right; background: #{{Locationcolor/dark|{{{type|road}}}}}; width: | {| style="float:right; background: #{{Locationcolor/dark|{{{type|road}}}}}; width: 100%; max-width: 420px; min-width: 200px; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 2px solid #{{Locationcolor/light|{{{type|road}}}}};" | ||
|- | |- | ||
| colspan="2" style="text-align:center; background: #{{Locationcolor/light|{{{type|road}}}}}; {{#ifeq: {{{type|road}}}|space|color:#FFFFFF;}} {{roundytop|10px}}" | | | colspan="2" style="text-align:center; background: #{{Locationcolor/light|{{{type|road}}}}}; {{#ifeq: {{{type|road}}}|space|color:#FFFFFF;}} {{roundytop|10px}}" | | ||
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| | | 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 |