Predefinição:Roundabout Ver histórico

Sem resumo de edição
Etiqueta: Revertido
Sem resumo de edição
Etiqueta: Reversão manual
 
Linha 2: Linha 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 = Expressa
|FWY|FWY|FWY|Freeway|freeway = Freeway
|MH|Major Highway|major highway|Major highway = Federal
|MH|Major Highway|major highway|Major highway = Major Highway
|mH|Minor Highway|minor Highway|Minor Highway = Estadual
|mH|Minor Highway|minor Highway|Minor Highway = Minor Highway
|Ramp|ramp = Ramp
|Ramp|ramp = Ramp
|PS|ps|Primary Street|primary street|Primary street = Principal (arterial/coletora)
|PS|ps|Primary Street|primary street|Primary street = Primary Street
|Street|street|St|st = Rua
|Street|street|St|st = Street
|{{{1|}}}<!--default-->
|{{{1|}}}<!--default-->
}}<!-- end switch -->
}}<!-- end switch -->
Linha 13: Linha 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 = Expressa
|FWY|FWY|FWY|Freeway|freeway = Freeway
|MH|Major Highway|major highway|Major highway = Federal
|MH|Major Highway|major highway|Major highway = Major Highway
|mH|Minor Highway|minor Highway|Minor Highway = Estadual
|mH|Minor Highway|minor Highway|Minor Highway = Minor Highway
|Ramp|ramp = Ramp
|Ramp|ramp = Ramp
|PS|ps|Primary Street|primary street|Primary street = Principal (arterial/coletora)
|PS|ps|Primary Street|primary street|Primary street = Primary Street
|Street|street|St|st = Rua
|Street|street|St|st = Street
|{{{1|}}}<!--default-->
|{{{1|}}}<!--default-->
}}<!-- end switch -->
}}<!-- end switch -->

Edição atual tal como às 15h45min de 27 de março de 2023

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

Esta Pré definição cria uma etiqueta de texto usando uma dos Road Type templates, e formata para imitar um segmento de rotatória no WME. Ele adiciona "——" antes e depois do nome.

Usuário:PesachZ/Expand

Parametros

Requer um parametro indefinido para definir o tipo de via e aceita um segundo como texto customizado. Um parametro será repassado atravës do parametro |style= se um for definido.

Sintaxe

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

Exemplo de Uso

{{Roundabout|Major Highway|Traffic Circle}}

 —— Traffic Circle ——  

{{Roundabout|Primary Street}}

 —— Primary Street ——  

Porque {{Roundabout}} requer um tipo de via, ele exibirá uma mensagem de erro se não for definido.

{{Roundabout}}

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

The above documentation is transcluded from Predefinição:Roundabout/doc.
Please add categories to the /doc subpage.
Subpages of this template.