User:Wottem/template:Editing Routing penalties View history

No edit summary
No edit summary
 
Line 1: Line 1:
<!--
{{#ifeq:{{{1|}}}|great|{{#expr: {{padleft:|2|{{:User:Wottem/template:Editing Routing penalties}}}} + 1}}&nbsp;meters ({{#expr: {{#expr: {{padleft:|2|{{:User:Wottem/template:Editing Routing penalties}}}} + 1}} * 3.2808 round 2}}&nbsp;feet)
#####-----#####-----#####-----#####-----#####-----#####-----#####-----#####-----
####    This page has been curated  ####
####    to be included in the new    ####
####    Wazeopedia - GLOBAL Wiki.  ####
####    Please do not make any      ####
####    edits on this page without  ####
####    PRIOR CONSENSUS in the Wiki  ####
####    Updates and Discussions      ####
####    forum thread for this page.  ####
####    If a specific forum thread  ####
####    for this page doesn't exist  ####
####    please start one.            ####
####        www.waze.com/forum/      ####
####        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>
 
</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|}}}|great|{{#expr: {{padleft:|2|{{:User:Wottem/template:Editing Routing penalties}}}} + 1}}&nbsp;meters ({{#expr: {{#expr: {{padleft:|2|{{:User:Wottem/template:Editing Routing penalties}}}} + 1}} * 3.2808 round 2}}&nbsp;feet)
|{{#ifeq:{{{1|}}}|less|{{#expr: {{padleft:|2|{{:User:Wottem/template:Editing Routing penalties}}}} - 1}}&nbsp;meters ({{#expr: {{#expr: {{padleft:|2|{{:User:Wottem/template:Editing Routing penalties}}}} - 1}} * 3.2808 round 2}}&nbsp;feet)
|{{#ifeq:{{{1|}}}|less|{{#expr: {{padleft:|2|{{:User:Wottem/template:Editing Routing penalties}}}} - 1}}&nbsp;meters ({{#expr: {{#expr: {{padleft:|2|{{:User:Wottem/template:Editing Routing penalties}}}} - 1}} * 3.2808 round 2}}&nbsp;feet)
|15&nbsp;meters (49.21&nbsp;feet)}}}}<noinclude>{{documentation}}</noinclude>
|15&nbsp;meters (49.21&nbsp;feet)}}}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 17:38, 20 February 2017

15 meters (49.21 feet)

Documentation[view] [edit] [history] [purge]

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.

The template has three possible outputs to enable it to be used in documentation and guidance using less than, or great than measurements. The default output is the minimum distance, the other outputs can be obtained using an unnamed parameter.


Parameters

|great when placed in this template will provide an output which is 1 meter great than the minimum length defined here.
|less when placed in this template will provide an output which is 1 meter less than the minimum length defined here.

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.


Usage

Place {{[[::Routing_penalties/U-turn_minimum|:Routing_penalties/U-turn_minimum]]}} on any page where you want to display the following:

15 meters (49.21 feet)

Place {{[[::Routing_penalties/U-turn_minimum|: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:

Expression error: Unexpected < operator. meters (Expression error: Unexpected < operator. feet)

Place {{[[::Routing_penalties/U-turn_minimum|: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:

Expression error: Unexpected < operator. meters (Expression error: Unexpected < operator. feet)
The above documentation is transcluded from User:Wottem/template:Editing Routing penalties/doc.
Please add categories to the /doc subpage.
Subpages of this page.