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

imported>Eljefe
m (11 revisions imported)
imported>Wottem
No edit summary
Line 1: Line 1:
<!--
<noinclude><!--
  #####-----#####-----#####-----#####-----#####-----#####-----#####-----#####-----
  #####-----#####-----#####-----#####-----#####-----#####-----#####-----#####-----
  ####    This page has been curated  ####
  ####    This page has been curated  ####
Line 15: Line 15:
  ####        viewforum.php?f=276      ####
  ####        viewforum.php?f=276      ####
  #####-----#####-----#####-----#####-----#####-----#####-----#####-----#####--><!--
  #####-----#####-----#####-----#####-----#####-----#####-----#####-----#####--><!--
--><noinclude><small>''(To allow the U-turn prevention mechanism to kick in, the median crossover segment in a box U-turn must be less than:)''</small>
--><small>''(To allow the U-turn prevention mechanism to kick in, the median crossover segment in a box U-turn must be less than:)''</small>


</noinclude><!-- This template has three possible outputs, the threshold length, or 1 meter greater, or 1 meter less. the default is the threshold length, the other 2 can be obtained using a variable. The greater or less than outputs are calculated automatically, ONLY UPDATE THE MAIN THRESHOLD LENGTH BELOW  
</noinclude><!-- This template has three possible outputs, the threshold length, or 1 meter greater, or 1 meter less. the default is the threshold length, the other 2 can be obtained using a variable. The greater or less than outputs are calculated automatically, ONLY UPDATE THE MAIN THRESHOLD LENGTH BELOW  
-->{{#ifeq:{{{1|}}}|greater|<!-- if the parameter is set to greater provide an output which is 1 meter greater than the default -->{{#expr: {{padleft:|2|{{:Routing_penalties/U-turn_minimum}}}} + 1}}&nbsp;meters ({{#expr: {{#expr: {{padleft:|2|{{:Routing_penalties/U-turn_minimum}}}} + 1}} * 3.2808 round 2}}&nbsp;feet)
-->{{#switch: {{{1|}}}
|{{#ifeq:{{{1|}}}|less|<!-- if the parameter is set to less provide an output which is 1 meter less than the default -->{{#expr: {{padleft:|2|{{:Routing_penalties/U-turn_minimum}}}} - 1}}&nbsp;meters ({{#expr: {{#expr: {{padleft:|2|{{:Routing_penalties/U-turn_minimum}}}} - 1}} * 3.2808 round 2}}&nbsp;feet)
| greater = <!-- if the parameter is set to greater provide an output which is 1 meter greater than the default -->{{#expr: {{padleft:|2|{{:Routing_penalties/U-turn_minimum}}}} + 1}}&nbsp;meters ({{#expr: {{#expr: {{padleft:|2|{{:Routing_penalties/U-turn_minimum}}}} + 1}} * 3.2808 round 2}}&nbsp;feet)
| less = <!-- if the parameter is set to less provide an output which is 1 meter less than the default -->{{#expr: {{padleft:|2|{{:Routing_penalties/U-turn_minimum}}}} - 1}}&nbsp;meters ({{#expr: {{#expr: {{padleft:|2|{{:Routing_penalties/U-turn_minimum}}}} - 1}} * 3.2808 round 2}}&nbsp;feet)
|<!-- if no parameter is set provide the default output
|<!-- if no parameter is set provide the default output


set the threshold length here  
set the threshold length here  


--> 15&nbsp;meters (49.21&nbsp;feet)}}}}<noinclude>{{documentation}}</noinclude>
--> 15&nbsp;meters (49.21&nbsp;feet)}}<noinclude>{{documentation}}</noinclude>

Revision as of 19:15, 21 June 2018

(To allow the U-turn prevention mechanism to kick in, the median crossover segment in a box U-turn must be less than:)

15 meters (49.21 feet)Template:Documentation/start box

Template:Documentation/end box