Template:Roadweb: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:road|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}} }} }}{{#vardefine:name|{{#sub:{{#var:road}}|0|{{# | {{#vardefine:road|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}} }} }}{{#vardefine:name|{{#sub:{{#var:road}}|0|{{#pos:{{#var:road}}| |0}} }} }}{{#vardefine:part|{{#switch:{{#sub:{{#var:road}}|{{#expr:{{#len:{{#var:road}}}}-18}}|18}} | ||
|(Northern Ireland)=U | |(Northern Ireland)=U | ||
|public of Ireland)=R | |public of Ireland)=R | ||
Line 5: | Line 5: | ||
|U=_(Northern_Ireland) | |U=_(Northern_Ireland) | ||
|R=_(Republic_of_Ireland) | |R=_(Republic_of_Ireland) | ||
|}} on SABRE]{{#ifeq:{{#var:part}}|R|| and [http://www.cbrd.co.uk/motorway/{{lc:{{#var:name}}}}{{#ifeq:{{#var:part}}|U|-ni}} on CBRE]}}<noinclude>[[Category:Outside link templates|Roadweb]] | |}} on SABRE]{{#ifeq:{{#var:part}}|R|| and [http://www.cbrd.co.uk/motorway/{{lc:{{#var:name}}}}{{#ifeq:{{#var:part}}|U|-ni}} on CBRE]}}<noinclude>[[Category:Outside link templates|Roadweb]] |