Template:Infobox location: Difference between revisions
From The Pokemon Insurgence Wiki
mNo edit summary |
(Work on getting location pages mobile friendly) |
||
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|}}} Map.png}}}{{#if: {{{mapsize|}}}|{{!}}{{{mapsize}}}}}}}}}<br><small>Interactive Map Location of {{{location_name}}} in [[{{{mapname|{{{region}}}]]{{#if: {{{region2|}}}| and [[{{{region2}}}]]}}}}}{{#if: {{{mapname|}}} | | 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: #{{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> |
Revision as of 17:26, 12 July 2018
| |||
Location: | {{{location}}} | ||
---|---|---|---|
Region: | [[{{{region}}}]] | ||
Interactive Map Location of {{{location_name}}} in [[{{{region}}}. | |||
Locations |