Difference between revisions of "Template:Crossing"
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <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><!-- | ||
− | + | ||
− | |||
Line 43: | Line 42: | ||
-->{{#if: {{{country|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Country'''</td></tr><tr><td colspan="2" align="center"> | -->{{#if: {{{country|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Country'''</td></tr><tr><td colspan="2" align="center"> | ||
{{{country}}} | {{{country}}} | ||
+ | </td></tr>}}<!-- | ||
+ | |||
+ | County | ||
+ | -->{{#if: {{{county|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''County'''</td></tr><tr><td colspan="2" align="center"> | ||
+ | {{{county}}} | ||
</td></tr>}}<!-- | </td></tr>}}<!-- | ||
Length | Length | ||
-->{{#if: {{{miles|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Distance of Travel'''</td></tr><tr><td colspan="2" align="center">{{#expr:{{{miles}}} round 1}} miles ({{#expr: ({{{miles}}} * 1.6093) round 1 }} km) | -->{{#if: {{{miles|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Distance of Travel'''</td></tr><tr><td colspan="2" align="center">{{#expr:{{{miles}}} round 1}} miles ({{#expr: ({{{miles}}} * 1.6093) round 1 }} km) | ||
+ | </td></tr>}}<!-- | ||
+ | |||
+ | Time | ||
+ | -->{{#if: {{{time|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Time of Travel'''</td></tr><tr><td colspan="2" align="center"> | ||
+ | {{{time}}} | ||
</td></tr>}}<!-- | </td></tr>}}<!-- | ||
Line 52: | Line 61: | ||
-->{{#if: {{{meets|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Meets'''</td></tr><tr><td colspan="2" align="center"> | -->{{#if: {{{meets|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Meets'''</td></tr><tr><td colspan="2" align="center"> | ||
{{{meets}}} | {{{meets}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td></tr>}}<!-- | </td></tr>}}<!-- | ||
Latest revision as of 15:15, 13 October 2015
Crossing | |
From:- | {{{from}}} |
To:- | {{{to}}} |