User:Kentsmith9/Test3/doc View history

Revision as of 07:38, 24 May 2017 by Kentsmith9 (talk | contribs) (Initial doc page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for User:Kentsmith9/Test3.
It contains usage information, categories and other content that is not part of the original user template page.
The Wazopedia transition caused a problem in one of the expression extensions which causes an error when using the |great or |less parameters. It is being worked on by the devs now. This message will be removed once the error is corrected. In the mean time, we have modified the template to no longer produce an error since the fix is taking longer than anticipated.

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 greater 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 greater 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:

52.49 ft (16 m)

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:

52.49 ft (16 m)

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:

45.93 ft (14 m)