m (Fix include only tag) |
m (5 révisions importées depuis usa:Template:Roundabout) |
||
(2 versions intermédiaires par un autre utilisateur non affichées) | |||
Ligne 10 : | Ligne 10 : | ||
|{{{1|}}}<!--default--> | |{{{1|}}}<!--default--> | ||
}}<!-- end switch --> | }}<!-- end switch --> | ||
|<!-- add style and custom text -->—— {{#if:{{{2|}}}<!-- if custom is supplied use that --> | |<!-- add style and custom text -->{{color|—— |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 --> | ||
Ligne 21 : | Ligne 21 : | ||
|{{{1|}}}<!--default--> | |{{{1|}}}<!--default--> | ||
}}<!-- end switch --> | }}<!-- end switch --> | ||
}}<!-- end if check for custom text in {{{2}}} --> ——<!-- finish styled text --> | }}<!-- end if check for custom text in {{{2}}} -->{{Color| ——|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> |
Dernière version du 13 avril 2017 à 15:30
Template documentation[create]
Please add categories to the /doc subpage. Subpages of this template. |