Template:Route infobox: Difference between revisions

m
hope this fixes the bugs
m (hopefully got the E/W in the right places...)
m (hope this fixes the bugs)
Line 14: Line 14:
{{!}}- align="center"
{{!}}- align="center"
{{!}} width="30%" {{!}}  
{{!}} width="30%" {{!}}  
{{!}} width="40%" style="background:#FFFFFF; -moz-border-radius-topleft: 100px; -moz-border-radius-topright: 100px;" {{!}} [[{{{altnorth|Route {{{north}}}}}}|{{color|000|&uarr;<br>{{{altnorth|Route {{{north}}}}}}}}]] {{#if: {{{north2}}}|and [[{{{north2}}}|{{color|000|{{{north2}}}}}]]}}
{{!}} width="40%" style="background:#FFFFFF; -moz-border-radius-topleft: 100px; -moz-border-radius-topright: 100px;" {{!}} [[{{{altnorth|Route {{{north}}}}}}|{{color|000|&uarr;<br>{{{altnorth|Route {{{north}}}}}}}}]] {{#if: {{{north2|}}}|and [[{{{north2}}}|{{color|000|{{{north2}}}}}]]}}
{{!}} width="30%" {{!}} &nbsp;|}}
{{!}} width="30%" {{!}} &nbsp;|}}
|-
|-
| 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|&larr;&nbsp;{{{altwest|Route {{{west}}}}}}}}]] {{#if: {{{west2}}}|and [[{{{west2}}}|{{color|000|{{{west2}}}}}]]}}|}}  
| 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|&larr;&nbsp;{{{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}}}}}}&nbsp;&rarr;}}]] {{#if: {{{east2}}}|and [[{{{east2}}}|{{color|000|{{{east2}}}}}]]}}|}}
| 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}}}}}}&nbsp;&rarr;}}]] {{#if: {{{east2|}}}|and [[{{{east2}}}|{{color|000|{{{east2}}}}}]]}}|}}
{{#if: {{{south|}}}{{{altsouth|}}}|
{{#if: {{{south|}}}{{{altsouth|}}}|
{{!}}- align="center"
{{!}}- align="center"
{{!}} &nbsp;
{{!}} &nbsp;
{{!}} 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}}}}}]]}}
{{!}} 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;|}}
|}
|}
16,779

edits