(Created page with "{{doc subpage}} <!-- ADD DOCUMENTATION BELOW THIS LINE --> This template creates a road type text label using one of the Road Type Templates,...") |
Kentsmith9 (talk | contribs) (→Sample Usage: Clarified instructions) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{doc subpage}} | {{doc subpage}} | ||
<!-- ADD DOCUMENTATION BELOW THIS LINE --> | <!-- ADD DOCUMENTATION BELOW THIS LINE --> | ||
This template creates a road type text label using one of the [[:Category:Road Type | This template creates a road type text label using one of the [[:Category:Road Type templates|Road Type templates]], and formats to mimic a roundabout segment in WME. It adds "——" before and after the name. | ||
{{User:PesachZ/Expand|Template:Freeway/doc|customizing the output of the Road Type Templates from the documention | {{User:PesachZ/Expand|Template:Freeway/doc|customizing the output of the Road Type Templates from the documention; included here for your convenience.}} | ||
== Parameters == | == Parameters == | ||
Line 14: | Line 14: | ||
=== Sample Usage === | === Sample Usage === | ||
{{Tlx|Roundabout|Major | {{Tlx|Roundabout|Major Highway|Traffic Circle}} | ||
{{Roundabout|Major Highway|Traffic Circle}} | |||
<br /> | |||
<br /> | |||
{{Tlx|Roundabout|Primary Street}} | {{Tlx|Roundabout|Primary Street}} | ||
{{Roundabout|Primary Street}} | |||
<br /> | |||
<br /> | |||
Because {{Tl|Roundabout}} requires a road type, it will display an error message if it is not present. | |||
{{Tl|Roundabout}} | |||
{{Tlx|Roundabout}} | |||
{{Roundabout}} | {{Roundabout}} | ||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Road Type | [[Category:Road Type templates]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Latest revision as of 21:41, 10 September 2022
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template 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.
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}}