Routing penalties/U-turn minimum/doc: Difference between revisions Discussion View history

(anot)
m (typo)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
<noinclude>{{Documentation subpage}}</noinclude>
This template is used to display the minimum distance required to allow two left turns, or two right turns to generate a U-turn in a route. This template enables this number to be changed if necessary over time without having to change the individual pages.


This template is used to display the minimum distance required to allow two left turns, or two right turns to generate a U-turn in a route. This template enables this number to be changed if necessary over time without having to change the individual pages.
{{mbox|type=note|text=Other conditions will also contribute to u-turn allowance or prevention. For more information see [[Junction_Style_Guide/Intersections#Preventing_median_U-turns|preventing medial u-turns]].}}


The template has three possible outputs to enable it to be used in documentation and guidance using less than, or greater than measurements. The default output is the minimum distance, the other outputs can be obtained using an unnamed parameter.
The template has two possible outputs to display the minimum distance required to enable a u-turn and the maximum distance to disable a u-turn. The default output is the minimum distance to enable a u-turn.




== Parameters ==
== Parameters ==


{{para||great}} when placed in this template will provide an output which is 1 meter greater than the minimum length defined here. <br>
When the template is used with {{para||less}}, {{para||below}}, or {{para||disable}}, the output will be the distance below the threshold and therefore the maximum distance that will disable a u-turn.
{{Para||less}} when placed in this template will provide an output which is 1 meter less than the minimum length defined here.
{{mbox|text=When using these parameters to change to the output you may see an error when previewing the wiki page. However if you save the page the template is displayed properly.}}


When the template is used without any parameter (or any other undefined parameter), the output will be the minimum distance above the threshold that will allow a u-turn.


==Usage==
==Usage==
Place {{tlx|:Routing_penalties/U-turn_minimum}} on any page where you want to display the following:
Place {{tlx|:Routing_penalties/U-turn_minimum}} on any page where you want to display the minimum segment length to allow a u-turn:
:<code>{{:Routing_penalties/U-turn_minimum}}</code>
:<code>{{:Routing_penalties/U-turn_minimum}}</code>


Place {{tlx|:Routing_penalties/U-turn_minimum|great}} anywhere you want to display a length 1 meter above the minimum (to include a safety buffer zone) to display the following:
:<code>{{:Routing_penalties/U-turn_minimum|great}}</code>


Place {{tlx|:Routing_penalties/U-turn_minimum|less}} anywhere you want to display a length 1 meter below the minimum (to include a safety buffer zone) to display the following:
Place {{tlx|:Routing_penalties/U-turn_minimum|less}} (or one of the other parameters listed above) anywhere you want to display the maximum length of a segment that will disable a u-turn.
:<code>{{:Routing_penalties/U-turn_minimum|less}}</code>
:<code>{{:Routing_penalties/U-turn_minimum|less}}</code>
The gap in the two thresholds is due to metric and imperial rounding issues, so a buffer was built into this setting to prevent unexpected results. For more information on this issue, see [[WME segment length display]].
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->

Latest revision as of 23:45, 1 June 2017

This is a documentation subpage for [[::Routing penalties/U-turn minimum]].
It contains usage information, categories and other content that is not part of the original article.

This template is used to display the minimum distance required to allow two left turns, or two right turns to generate a U-turn in a route. This template enables this number to be changed if necessary over time without having to change the individual pages.

Other conditions will also contribute to u-turn allowance or prevention. For more information see preventing medial u-turns.

The template has two possible outputs to display the minimum distance required to enable a u-turn and the maximum distance to disable a u-turn. The default output is the minimum distance to enable a u-turn.


Parameters

When the template is used with |less, |below, or |disable, the output will be the distance below the threshold and therefore the maximum distance that will disable a u-turn.

When the template is used without any parameter (or any other undefined parameter), the output will be the minimum distance above the threshold that will allow a u-turn.

Usage

Place {{[[::Routing_penalties/U-turn_minimum|:Routing_penalties/U-turn_minimum]]}} on any page where you want to display the minimum segment length to allow a u-turn:

52.49 ft (16 m)


Place {{[[::Routing_penalties/U-turn_minimum|:Routing_penalties/U-turn_minimum]]|less}} (or one of the other parameters listed above) anywhere you want to display the maximum length of a segment that will disable a u-turn.

45.93 ft (14 m)


The gap in the two thresholds is due to metric and imperial rounding issues, so a buffer was built into this setting to prevent unexpected results. For more information on this issue, see WME segment length display.