Difference between revisions of "Template:Crossing"
Line 1: | Line 1: | ||
--><table style="margin:6px;clear:right;" class="toc colour" align="right" width="267"><!-- | --><table style="margin:6px;clear:right;" class="toc colour" align="right" width="267"><!-- | ||
− | Name--><tr><td style="background:{{Get bg colour|{{{type| | + | Name--><tr><td style="background:{{Get bg colour|{{{type|ferry}}} }}; border:1px solid #000000; color:{{Get road text colour|{{{type|ferry}}} }}; font-size:14pt; padding:4px; font-weight: bold;" align=center colspan="2">'''{{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}} }}'''<!-- |
Check to see if type is valid | Check to see if type is valid | ||
− | -->{{#switch: {{{type|non primary}}} | primary | non primary | motorway | defunct | unbuilt motorway | former motorway | future motorway | future primary | unbuilt primary | future non primary | unbuilt non primary | historical | roman | tourist | euroroute | e road | ncn | cycle route | private | eurovelo = | #default = <br/><span style="font-size:8pt"><span style="color:red;">'''Error:'''</span> Invalid type specified</span><includeonly>[[Category:Pages with errors]]</includeonly> }} <!-- | + | -->{{#switch: {{{type|non primary}}} | primary | non primary | motorway | defunct | unbuilt motorway | former motorway | future motorway | future primary | unbuilt primary | future non primary | unbuilt non primary | historical | roman | tourist | euroroute | e road | ncn | cycle route | private | ferry | eurovelo = | #default = <br/><span style="font-size:8pt"><span style="color:red;">'''Error:'''</span> Invalid type specified</span><includeonly>[[Category:Pages with errors]]</includeonly> }} <!-- |
--></td></tr><!-- | --></td></tr><!-- | ||
− | + | ||
− | |||
Revision as of 15:02, 13 October 2015
-->
Crossing | |
From:- | {{{from}}} |
To:- | {{{to}}} |