User:Voludu2/sandbox/U-turn minimum View history

No edit summary
(greater returns)
 
(24 intermediate revisions by the same user not shown)
Line 17: Line 17:
--><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>
--><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>


</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,  
-->{{#switch: {{{1|}}}<!--  
THE base value can be changed in the subpage /raw -->
  if the parameter is set to greater provide an output which is 1 meter greater than the default  
{{#switch: {{{1|}}}<!--  
-->|greater = {{{#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 the parameter is set to greater provide an output which is 1 meter greater than the default -->
    if the parameter is set to less provide an output which is 1 meter less than the default -->
|greater = {{#expr: {{:User:Voludu2/sandbox/U-turn_minimum/raw|meters}} + 1}} meters ({{#expr: {{:User:Voludu2/sandbox/U-turn_minimum/raw|feet}} + 1}} feet)<!--  
|less = {{#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 the parameter is set to less provide an output which is 1 meter less than the default -->
   if no parameter is set provide the default output set the threshold length here -->
|less = {{#expr: {{:User:Voludu2/sandbox/U-turn_minimum/raw|meters}} - 1}} meters ({{#expr: {{:User:Voludu2/sandbox/U-turn_minimum/raw|feet}} - 1}} feet)<!--
|#default =  15&nbsp;meters (49.21&nbsp;feet)}}<noinclude>{{documentation}}</noinclude>
   if no parameter is set provide the default output
  set the threshold length in the subpage /raw
-->  
|exact
|#default =  {{:User:Voludu2/sandbox/U-turn_minimum/raw|meters}} meters ({{:User:Voludu2/sandbox/U-turn_minimum/raw|feet}} feet)}}

Latest revision as of 18:34, 19 March 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)