Kentsmith9 (talk | contribs) m (Fixed template issue) |
Kentsmith9 (talk | contribs) m (→Sample Usage: formatting) |
||
Line 14: | Line 14: | ||
=== Sample Usage === | === Sample Usage === | ||
{{Tlx|Roundabout|Major Highway|Traffic Circle}} | This code: | ||
:{{Tlx|Roundabout|Major Highway|Traffic Circle}} | |||
{{Roundabout|Major Highway|Traffic Circle}} | will produce: | ||
:{{Roundabout|Major Highway|Traffic Circle}} | |||
<br /> | |||
---- | ---- | ||
This code: | |||
:{{Tlx|Roundabout|Primary Street}} | |||
{{Roundabout|Primary Street}} | |||
will produce: | |||
:{{Roundabout|Primary Street}} | |||
<br /> | |||
---- | ---- | ||
{{Tlx|Roundabout}} | |||
This code is missing a required parameter: | |||
:{{Tlx|Roundabout}} | |||
{{Roundabout}} | and will produce this error message: | ||
:{{Roundabout}} | |||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> |
Revision as of 22:13, 5 June 2017
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
This code:
{{Roundabout|Major Highway|Traffic Circle}}
will produce:
- —— Traffic Circle ——
This code:
{{Roundabout|Primary Street}}
will produce:
- —— Primary Street ——
This code is missing a required parameter:
{{Roundabout}}
and will produce this error message:
- ERROR: Please define a road type as the first parameter, see {{Roundabout}}