Template:Roadweb: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with "{{#vardefine:road|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}} }} }}{{#vardefine:name|{{#sub:{{#var:road}}|0|{{#lpos:{{#var:road}}| }} }} }}{{#vardefine:part|{{#switch:{{#sub:{{#var:ro..."
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#vardefine:road|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}} }} }}{{#vardefine:name|{{#sub:{{#var:road}}|0|{{#lpos:{{#var:road}}| }} }} }}{{#vardefine:part|{{#switch:{{#sub:{{#var:road}}|{{#expr:{{#len:{{#var:road}}}}-18}}|18}}
{{#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
|G}}}}The {{#var:name}} [http://www.sabre-roads.org.uk/wiki/index.php?title={{#var:name}}{{#switch:{{#var:part}}
|G}}}}The '''{{#var:name}}''' [http://www.sabre-roads.org.uk/wiki/index.php?title={{#var:name}}{{#switch:{{#var:part}}
|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|| &nbsp;and [http://www.cbrd.co.uk/motorway/{{lc:{{#var:name}}}}{{#ifeq:{{#var:part}}|U|-ni}} on CBRE]}}<noinclude>[[Category:Outside link templates|Roadweb]]

Latest revision as of 12:43, 3 November 2016

The Roadweb on SABRE and on CBRE