m (Show road type name if no custom text) |
m (Fix include only tag) |
||
Line 25: | Line 25: | ||
}}<!-- 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 -->< | }}<!-- end if {{{1}}} check --></includeonly> |
Revision as of 14:41, 9 July 2015
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.
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 ——
{{Roundabout}}
ERROR: Please define a road type as the first parameter, see {{Roundabout}}
The above documentation is transcluded from Template:Roundabout/doc. Please add categories to the /doc subpage. Subpages of this template. |