Template:Route infobox: Difference between revisions

m
hopefully got the E/W in the right places...
m (urgh)
m (hopefully got the E/W in the right places...)
Line 17: Line 17:
{{!}} width="30%" {{!}}  |}}
{{!}} width="30%" {{!}}  |}}
|-
|-
| width="30%" align="right" style="background:#{{#if: {{{west|}}}{{{altwest|}}}|FFFFFF|{{RouteInfo/{{{type}}}light}}}}; -moz-border-radius-topleft: 100px; -moz-border-radius-bottomleft: 100px;" | {{#if: {{{west|}}}{{{altwest|}}}|[[{{{altwest|Route {{{west}}}}}}|{{color|000|← {{{altwest|Route {{{west}}}}}}}}]]|}}  
| width="30%" align="right" style="background:#{{#if: {{{west|}}}{{{altwest|}}}|FFFFFF|{{RouteInfo/{{{type}}}light}}}}; -moz-border-radius-topleft: 100px; -moz-border-radius-bottomleft: 100px;" | {{#if: {{{west|}}}{{{altwest|}}}|[[{{{altwest|Route {{{west}}}}}}|{{color|000|← {{{altwest|Route {{{west}}}}}}}}]] {{#if: {{{west2}}}|and [[{{{west2}}}|{{color|000|{{{west2}}}}}]]}}|}}  
| align="center" width="40%" style="background:#FFFFFF; border: 1px solid #{{RouteInfo/{{{type}}}light}};" | '''{{#if: {{{north|}}}{{{altnorth|}}}{{{west|}}}{{{altwest|}}}{{{east|}}}{{{alteast|}}}{{{south|}}}{{{altsouth|}}}|Route {{{article_route}}}|None}}'''
| align="center" width="40%" style="background:#FFFFFF; border: 1px solid #{{RouteInfo/{{{type}}}light}};" | '''{{#if: {{{north|}}}{{{altnorth|}}}{{{west|}}}{{{altwest|}}}{{{east|}}}{{{alteast|}}}{{{south|}}}{{{altsouth|}}}|Route {{{article_route}}}|None}}'''
| width="30%" align="left" style="background:#{{#if: {{{east|}}}{{{alteast|}}}|FFFFFF|{{RouteInfo/{{{type}}}light}}}}; -moz-border-radius-topright: 100px; -moz-border-radius-bottomright: 100px;" | {{#if: {{{east|}}}{{{alteast|}}}|[[{{{alteast|Route {{{east}}}}}}|{{color|000|{{{alteast|Route {{{east}}}}}} →}}]]|}}
| width="30%" align="left" style="background:#{{#if: {{{east|}}}{{{alteast|}}}|FFFFFF|{{RouteInfo/{{{type}}}light}}}}; -moz-border-radius-topright: 100px; -moz-border-radius-bottomright: 100px;" | {{#if: {{{east|}}}{{{alteast|}}}|[[{{{alteast|Route {{{east}}}}}}|{{color|000|{{{alteast|Route {{{east}}}}}} →}}]] {{#if: {{{east2}}}|and [[{{{east2}}}|{{color|000|{{{east2}}}}}]]}}|}}
{{#if: {{{south|}}}{{{altsouth|}}}|
{{#if: {{{south|}}}{{{altsouth|}}}|
{{!}}- align="center"
{{!}}- align="center"
{{!}}  
{{!}}  
{{!}} style="background:#FFFFFF; -moz-border-radius-bottomleft: 100px; -moz-border-radius-bottomright: 100px;" {{!}} [[{{{altsouth|Route {{{south}}}}}}|{{color|000|{{{altsouth|Route {{{south}}}}}}<br>&darr;}}]]
{{!}} style="background:#FFFFFF; -moz-border-radius-bottomleft: 100px; -moz-border-radius-bottomright: 100px;" {{!}} [[{{{altsouth|Route {{{south}}}}}}|{{color|000|{{{altsouth|Route {{{south}}}}}}<br>&darr;}}]] {{#if: {{{south2}}}|and [[{{{south2}}}|{{color|000|{{{south2}}}}}]]}}
{{!}} &nbsp;|}}
{{!}} &nbsp;|}}
|}
|}