Predefinição:Roundabout/doc Ver histórico

Revisão de 14h50min de 27 de março de 2023 por Hebermc (discussão | contribs) (Criou página com '{{doc subpage}} <!-- ADD DOCUMENTATION BELOW THIS LINE --> This template creates a road type text label using one of the Road Type templates,...')
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
This is a documentation subpage for Predefinição:Roundabout.
It contains usage information, categories and other content that is not part of the original predefinição page.

This template creates a road type text label using one of the Road Type templates, and formats to mimic a roundabout segment in WME. It adds "——" before and after the name.

Usuário:PesachZ/Expand

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

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

Sample Usage

{{Roundabout|Major Highway|Traffic Circle}}

 —— Traffic Circle ——  

{{Roundabout|Primary Street}}

 —— Primary Street ——  

Because {{Roundabout}} requires a road type, it will display an error message if it is not present.

{{Roundabout}}

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