Template:Roundabout View history

m (Show road type name if no custom text)
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude><includeonly>{{#if:{{{1|}}}<!-- check if a road type is defined -->
<noinclude>{{doc}}</noinclude><includeonly>{{#if:{{{1|}}}<!-- check if a road type is defined  
|{{<!--use template-->
-->|{{<!--use template
{{#switch:{{{1|}}}<!-- use the defined road type template -->
-->{{#switch:{{{1|}}}<!-- use the defined road type template  
|FWY|FWY|FWY|Freeway|freeway = Freeway
-->|FWY|Fwy|fwy|Freeway|freeway = Freeway<!--
|MH|Major Highway|major highway|Major highway = Major Highway
-->|MH|Major Highway|major highway|Major highway = Major Highway<!--
|mH|Minor Highway|minor Highway|Minor Highway = Minor Highway
-->|mH|Minor Highway|minor Highway|Minor Highway|minor highway = Minor Highway<!--
|Ramp|ramp = Ramp
-->|Ramp|ramp = Ramp<!--
|PS|ps|Primary Street|primary street|Primary street = Primary Street
-->|PS|ps|Primary Street|primary street|Primary street = Primary Street<!--
|Street|street|St|st = Street
-->|Street|street|St|st = Street<!--
|{{{1|}}}<!--default-->
-->|Local Street|Local street|local street|LS|ls = Local Street<!--
}}<!-- end switch -->
-->|{{{1|}}}<!--default
|<!-- add style and custom text -->——&nbsp;{{#if:{{{2|}}}<!-- if custom is supplied use that -->
-->}}<!-- end switch  
|{{{2|}}}
-->|<!-- add style and custom text -->{{color|&#61;&nbsp;&#61;&nbsp;|black}}{{#if:{{{2|}}}<!-- if custom is supplied use that  
|<!-- if no custom text is supplied use the road type name -->{{#switch:{{{1|}}}<!-- use the defined road type template -->
-->|{{{2|}}}<!--
|FWY|FWY|FWY|Freeway|freeway = Freeway
-->|<!-- if no custom text is supplied use the road type name -->{{#switch:{{{1|}}}<!-- use the defined road type template  
|MH|Major Highway|major highway|Major highway = Major Highway
-->|FWY|Fwy|fwy|Freeway|freeway = Freeway<!--
|mH|Minor Highway|minor Highway|Minor Highway = Minor Highway
-->|MH|Major Highway|major highway|Major highway = Major Highway<!--
|Ramp|ramp = Ramp
-->|mH|Minor Highway|minor Highway|Minor Highway|minor highway = Minor Highway<!--
|PS|ps|Primary Street|primary street|Primary street = Primary Street
-->|Ramp|ramp = Ramp<!--
|Street|street|St|st = Street
-->|PS|ps|Primary Street|primary street|Primary street = Primary Street<!--
|{{{1|}}}<!--default-->
-->|Street|street|St|st = Street<!--
}}<!-- end switch -->
-->|Local Street|Local street|local street|LS|ls = Local Street<!--
}}<!-- end if check for custom text in {{{2}}} -->&nbsp;——<!-- finish styled text -->
-->|{{{1|}}}<!--default
|<!-- pass through style param if present -->{{#if:{{{style|}}}|style={{{style|}}}}}
-->}}<!-- end switch  
}}<!-- end road type template -->
-->}}<!-- end if check for custom text in {{{2}}} -->{{Color|&nbsp;&#61;&nbsp;&#61;|black}}<!-- finish styled text  
|<!-- no road type defined -->{{red|ERROR: Please define a road type as the first parameter, see {{Tl|Roundabout}}}}
-->|<!-- pass through style param if present -->{{#if:{{{style|}}}|style={{{style|}}}}}<!--
}}<!-- end if {{{1}}} check --><\includeonly>
-->}}<!-- end road type template  
-->|<!-- no road type defined -->{{red|ERROR: Please define a road type as the first parameter, see {{Tl|Roundabout}}}}<!--
-->}}<!-- end if {{{1}}} check --></includeonly>

Latest revision as of 15:31, 30 May 2020

Please add categories to the /doc subpage.
Subpages of this template.
Please add categories to the /doc subpage.
Subpages of this template.