User:MisterE13/Town infobox: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 34: Line 34:
| class="roundy" style="border: 2px solid #{{{colordark|4AA14D}}}; background: #{{{colorlight|A2E0A3}}}; color:#000;" | <div style="text-align:center;">'''[[Route|<span style="color:#000;">Connecting locations</span>]]'''</div>
| class="roundy" style="border: 2px solid #{{{colordark|4AA14D}}}; background: #{{{colorlight|A2E0A3}}}; color:#000;" | <div style="text-align:center;">'''[[Route|<span style="color:#000;">Connecting locations</span>]]'''</div>
{| class="roundy" style="margin:auto; background:#{{{colorlight|A2E0A3}}}; border-collapse: collapse;"
{| class="roundy" style="margin:auto; background:#{{{colorlight|A2E0A3}}}; border-collapse: collapse;"
{{#if: {{{north|}}}|
|- style="{{#if: {{{north|}}}|text-align:center|display:none}};"
{{!}}- style="text-align:center;
| width="30%" | &nbsp;
{{!}} width="30%" {{!}} &nbsp;
| width="40%" style="background:#FFF; border-top-left-radius: 100px; border-top-right-radius: 100px;" |
{{!}} width="40%" style="background:#FFF; {{roundytop|100px}}" {{!}}
{| width="100%" style="background:#FFF; border-top-left-radius: 100px; border-top-right-radius: 100px;"
{{{!}} width="100%" style="background:#FFF; {{roundytop|100px}}"
|- style="text-align:center;"
{{!}}- style="text-align:center;"
| ↑
{{!}} &uarr;
|- style="text-align:center;"
{{!}}- style="text-align:center;"
| [[{{{regionnorth|}}} {{{north}}}|<span style="color:#000;">{{{northalt|{{{north}}}}}}</span>]] {{#if: {{{north2|}}}|and [[{{{regionnorth2|}}} {{{north2}}}|<span style="color:#000;">{{{north2alt|{{{north2}}}}}}</span>]]}}
{{!}} [[{{{regionnorth|}}} {{{north}}}|<span style="color:#000;">{{{northalt|{{{north}}}}}}</span>]] {{#if: {{{north2|}}}|and [[{{{regionnorth2|}}} {{{north2}}}|<span style="color:#000;">{{{north2alt|{{{north2}}}}}}</span>]]}}
|}
{{!}}}
| width="30%" | &nbsp;
{{!}} width="30%" {{!}} &nbsp;|}}
|-
|-
| width="30%" style="text-align:right; background:#{{#if: {{{west|}}}{{{altwest|}}}|FFF|{{{colorlight|A2E0A3}}}}}; border-top-left-radius: 100px; border-bottom-left-radius: 100px;" |  
| width="30%" style="text-align:right; background:#{{#if: {{{west|}}}|FFF|{{{colorlight|A2E0A3}}}}}; border-top-left-radius: 100px; border-bottom-left-radius: 100px;" |  
{{#if: {{{west|}}}{{{altwest|}}}|{{{!}} width="100%" style="background:#FFF; border-top-left-radius: 100px; border-bottom-left-radius: 100px;"
{| width="100%" style="{{#if: {{{west|}}}|background:#FFF; border-top-left-radius: 100px; border-bottom-left-radius: 100px;|display:none;}}"
{{!}}- style="text-align:right;"
|- style="text-align:right;"
{{!}} &larr;
| ←
{{!}} [[{{{regionwest|}}} {{{west}}}|<span style="color:#000;">{{{westalt|{{{west}}}}}}</span>]] {{#if: {{{west2|}}}|and [[{{{regionwest2|}}}{{{west2}}}|<span style="color:#000;">{{{west2alt|{{{west2}}}}}}</span>]]}}
| [[{{{regionwest|}}} {{{west}}}|<span style="color:#000;">{{{westalt|{{{west}}}}}}</span>]] {{#if: {{{west2|}}}|and [[{{{regionwest2|}}}{{{west2}}}|<span style="color:#000;">{{{west2alt|{{{west2}}}}}}</span>]]}}
{{!}}}|}}
|}
! width="40%" style="background:#FFF; border: 1px solid #{{{colorlight|A2E0A3}}};" | {{#if: {{{north|}}}{{{east|}}}{{{west|}}}{{{south|}}}|{{#if:{{{number|}}}|Route {{{number|0}}}|{{{name}}}}}|None}}
! width="40%" style="background:#FFF; border: 1px solid #{{{colorlight|A2E0A3}}};" | {{#if: {{{north|}}}{{{east|}}}{{{west|}}}{{{south|}}}|{{#if:{{{number|}}}|Route {{{number|0}}}|{{{name}}}}}|None}}
| width="30%" style="text-align:left; background:#{{#if: {{{east|}}}{{{alteast|}}}|FFF|{{{colorlight|A2E0A3}}}}}; border-top-right-radius: 100px; border-bottom-right-radius: 100px;" |  
| width="30%" style="text-align:left; background:#{{#if: {{{east|}}}|FFF|{{{colorlight|A2E0A3}}}}}; border-top-right-radius: 100px; border-bottom-right-radius: 100px;" |  
{{#if: {{{east|}}}|{{{!}} width="100%" style="background:#FFF; border-top-right-radius: 100px; border-bottom-right-radius: 100px;"
{| width="100%" style="{{#if: {{{east|}}}|background:#FFF; border-top-right-radius: 100px; border-bottom-right-radius: 100px;|display: none;}}"
{{!}}-
|-
{{!}} [[{{{regioneast|}}} {{{east}}}|<span style="color:#000;">{{{eastalt|{{{east}}}}}}</span>]] {{#if: {{{east2|}}}|and [[{{{regioneast2|}}}{{{east2}}}|<span style="color:#000;">{{{east2alt|{{{east2}}}}}}</span>]]}}
| [[{{{regioneast|}}} {{{east}}}|<span style="color:#000;">{{{eastalt|{{{east}}}}}}</span>]] {{#if: {{{east2|}}}|and [[{{{regioneast2|}}}{{{east2}}}|<span style="color:#000;">{{{east2alt|{{{east2}}}}}}</span>]]}}
{{!}} &rarr;
| →
{{!}}}|}}
|}
{{#if: {{{south|}}}|
|- style="{{#if: {{{south|}}}|text-align:center|display:none}};"
{{!}}- style="text-align:center;"
| &nbsp;
{{!}} &nbsp;
| style="background:#FFF; border-bottom-left-radius: 100px; border-bottom-right-radius: 100px;" |
{{!}} style="background:#FFF; {{roundybottom|100px}}" {{!}}
{| width="100%" style="background:#FFF; border-bottom-left-radius: 100px; border-bottom-right-radius: 100px;"
{{{!}} width="100%" style="background:#FFF; {{roundybottom|100px}}"
|- astyle="text-align:center;"
{{!}}- astyle="text-align:center;"
| [[{{{regionsouth|}}} {{{south}}}|<span style="color:#000;">{{{southalt|{{{south}}}}}}</span>]] {{#if: {{{south2|}}}|and [[{{{regionsouth2|}}}{{{south2}}}|<span style="color:#000;">{{{south2alt|{{{south2}}}}}}</span>]]}}
{{!}} [[{{{regionsouth|}}} {{{south}}}|<span style="color:#000;">{{{southalt|{{{south}}}}}}</span>]] {{#if: {{{south2|}}}|and [[{{{regionsouth2|}}}{{{south2}}}|<span style="color:#000;">{{{south2alt|{{{south2}}}}}}</span>]]}}
|- style="text-align:center;"
{{!}}- style="text-align:center;"
| ↓
{{!}} &darr;
|}
{{!}}}
| &nbsp;
{{!}} &nbsp;|}}
|}
|}
|- style="text-align:center;"
|- style="text-align:center;"
| class="roundy" style="border: 2px solid #{{{colordark|4AA14D}}}; background: #{{{colorlight|A2E0A3}}};" | <span style="color:#000;">'''[[Region|<span style="color:#000;">Location</span>]]'''</span> <br> [[File:{{{map|{{{region}}} {{{name|Glitch City}}} Map.png}}}{{#if: {{{mapsize|}}}|{{!}}{{{mapsize}}}}}]] <br> <span style="color:#000;"><small>Location of {{{name|Glitch City}}} in [[{{{region}}}|<span style="color:#000;">{{{region}}}</span>]].</small></span>
| class="roundy" style="border: 2px solid #{{{colordark|4AA14D}}}; background: #{{{colorlight|A2E0A3}}};" | <span style="color:#000;">'''[[Region|<span style="color:#000;">Location</span>]]'''</span> <br> [[File:{{{map|{{{region}}} {{{name|Glitch City}}} Map.png}}}|{{{mapsize}}}]] <br> <span style="color:#000;"><small>Location of {{{name|Glitch City}}} in [[{{{region}}}|<span style="color:#000;">{{{region}}}</span>]].</small></span>
|}<!--<noinclude>[[Category:Infobox templates]]</noinclude>-->
|}<!--<noinclude>[[Category:Infobox templates]]</noinclude>-->