Template:Roundabout View history

m (Show road type name if no custom text)
m (usa:Template:Roundabout سے 5 نسخے درآمد کیے گئے: Importing Road Templates from USA)
 
(3 intermediate revisions by one other user not shown)
Line 10: Line 10:
|{{{1|}}}<!--default-->
|{{{1|}}}<!--default-->
}}<!-- end switch -->
}}<!-- end switch -->
|<!-- add style and custom text -->——&nbsp;{{#if:{{{2|}}}<!-- if custom is supplied use that -->
|<!-- add style and custom text -->{{color|——&nbsp;|black}}{{#if:{{{2|}}}<!-- if custom is supplied use that -->
|{{{2|}}}
|{{{2|}}}
|<!-- if no custom text is supplied use the road type name -->{{#switch:{{{1|}}}<!-- use the defined road type template -->
|<!-- if no custom text is supplied use the road type name -->{{#switch:{{{1|}}}<!-- use the defined road type template -->
Line 21: Line 21:
|{{{1|}}}<!--default-->
|{{{1|}}}<!--default-->
}}<!-- end switch -->
}}<!-- end switch -->
}}<!-- end if check for custom text in {{{2}}} -->&nbsp;——<!-- finish styled text -->
}}<!-- end if check for custom text in {{{2}}} -->{{Color|&nbsp;——|black}}<!-- finish styled text -->
|<!-- pass through style param if present -->{{#if:{{{style|}}}|style={{{style|}}}}}
|<!-- pass through style param if present -->{{#if:{{{style|}}}|style={{{style|}}}}}
}}<!-- end road type template -->
}}<!-- end road type template -->
|<!-- no road type defined -->{{red|ERROR: Please define a road type as the first parameter, see {{Tl|Roundabout}}}}
|<!-- no road type defined -->{{red|ERROR: Please define a road type as the first parameter, see {{Tl|Roundabout}}}}
}}<!-- end if {{{1}}} check --><\includeonly>
}}<!-- end if {{{1}}} check --></includeonly>

Latest revision as of 12:15, 30 April 2020

Documentation icon Template documentation[create]
Please add categories to the /doc subpage.
Subpages of this template.