Szablon:Rondo Wyświetl historię

(Utworzono nową stronę "<noinclude>{{doc}}</noinclude><includeonly>{{#if:{{{1|}}}<!-- check if a road type is defined --> |{{<!--use template--> {{#switch:{{{1|}}}<!-- use the defined road type...")
 
Nie podano opisu zmian
 
(Nie pokazano 1 pośredniej wersji utworzonej przez tego samego użytkownika)
Linia 2: Linia 2:
|{{<!--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
|A|Autostrada = Autostrada
|MH|Major Highway|major highway|Major highway = Major Highway
|DK|Droga krajowa = Droga krajowa
|mH|Minor Highway|minor Highway|Minor Highway = Minor Highway
|DW|Droga wojewódzka = Droga wojewódzka
|Ramp|ramp = Ramp
|R|Rampa = Rampa
|PS|ps|Primary Street|primary street|Primary street = Primary Street
|GU|Główna ulica = Główna ulica
|Street|street|St|st = Street
|U|Ulica = Ulica
|{{{1|}}}<!--default-->
|{{{1|}}}<!--default-->
}}<!-- end switch -->
}}<!-- end switch -->
Linia 13: Linia 13:
|{{{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 -->
|FWY|FWY|FWY|Freeway|freeway = Freeway
|A|Autostrada = Autostrada
|MH|Major Highway|major highway|Major highway = Major Highway
|DK|Droga krajowa = Droga krajowa
|mH|Minor Highway|minor Highway|Minor Highway = Minor Highway
|DW|Droga wojewódzka = Droga wojewódzka
|Ramp|ramp = Ramp
|R|Rampa = Rampa
|PS|ps|Primary Street|primary street|Primary street = Primary Street
|GU|Główna ulica = Główna ulica
|Street|street|St|st = Street
|U|Ulica = Ulica
|{{{1|}}}<!--default-->
|{{{1|}}}<!--default-->
}}<!-- end switch -->
}}<!-- end switch -->
Linia 24: Linia 24:
|<!-- 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|Rondo}}}}
}}<!-- end if {{{1}}} check --></includeonly>
}}<!-- end if {{{1}}} check --></includeonly>

Aktualna wersja na dzień 09:50, 5 lis 2019

Documentation icon Template documentation[view] [edit] [history] [purge]

This template creates a road type text label using one of the Szablony Typów Dróg, and formats to mimic a roundabout segment in WME. It adds "——" before and after the name.

Parameters

It requires one unnamed parameter to define the road type, and accepts a second unnamed parameter to use custom text. It also will pass through a |style= parameter if one provided.

Syntax

{{Rondo|ROAD TYPE|CUSTOM TEXT|Style=<STYLE CODES>}}

Sample Usage

{{Rondo|Droga krajowa|Rondo}}


 —— Rondo ——  


{{Rondo|Główna ulica}}


 —— Główna ulica ——  


{{Rondo}}

ERROR: Please define a road type as the first parameter, see {{Rondo}}

The above documentation is transcluded from Szablon:Rondo/doc.
Please add categories to the /doc subpage.
Subpages of this template.