Template:Locking Standard/doc View history

(Draft)
 
(Caption)
Line 1: Line 1:
Example:
Example:


<nowiki>{{Locking Standard|TableTitle=Sample Lock Std|title2=Variant 2|title3=Variant 3|MH=5|MH2=3|MH3=4|mH3=3}}</nowiki>
<nowiki>{{Locking Standard|caption=Sample Lock Std|title2=Variant 2|title3=Variant 3|MH=5|MH2=3|MH3=4|mH3=3}}</nowiki>




{{Locking Standard|TableTitle=Sample Lock Std|title2=Variant 2|title3=Variant 3|MH=5|MH2=3|MH3=4|mH3=3}}
{{Locking Standard|caption=Sample Lock Std|title2=Variant 2|title3=Variant 3|MH=5|MH2=3|MH3=4|mH3=3}}




Line 16: Line 16:


* Lede: Lede paragraph. There is some default text otherwise. To have no lede paragraph, make sure to set it to a blank value: |Lede=|
* Lede: Lede paragraph. There is some default text otherwise. To have no lede paragraph, make sure to set it to a blank value: |Lede=|
* tableTitle: The title above the table (not a wiki heading). Defaults to Xyzyz Locking Standard, where Xyzyz is taking from the page title (and would be the state name if you use Kent's state template scheme)
* caption: The title above the table (not a wiki heading). Defaults to Xyzyz Locking Standard, where Xyzyz is taking from the page title (and would be the state name if you use Kent's state template scheme)
* title: The title of the first column of lock values (sometimes the only column). Default value is "Default lock"
* title: The title of the first column of lock values (sometimes the only column). Default value is "Default lock"
* Title2, Title3: Column titles for second and third variants. If you do not specify a title, the column will not appear. No default.
* Title2, Title3: Column titles for second and third variants. If you do not specify a title, the column will not appear. No default.

Revision as of 01:23, 31 December 2014

Example:

{{Locking Standard|caption=Sample Lock Std|title2=Variant 2|title3=Variant 3|MH=5|MH2=3|MH3=4|mH3=3}}


In Locking Standard we have a set minimum standard for locking roads based on segment type. Any road of a certain segment type must be locked at least to the rank (level) in the chart below. Roads may be locked higher for protection and special situations (areas with construction, tricky design, frequent mistakes, imaging inaccuracies, and the like), but should not be locked lower.

A great time to implement these locks is while bringing the road types of an area into compliance with the current US road type standards (FC and highway systems). Lock the roads based on type after they've been set to current US road type standards.

Sample Lock Std
Segment Type Default locks  Variant 2  Variant 3
 Freeway  4
 Ramp  Highest rank of connected segment
 Major Highway  5 3 4
 Minor Highway  2 3
 Primary Street  1
 Street  1
 |-|-|-|-|-|-|-|-|-| Railroad |-|-|-|-|-|-|-|-|-|  2
 • • • • Ferry • • • •   5


Supports up to three variations per state, with only one required. To add a second, make sure to specify the title for the second variant column e.g., |title2=Urban areas|. To add a third, make sure to add the title for the third variant column e.g., |title3=NYC Only|.

For the first variant, the defaults are 4,3,2,1,1 (Fwy,MH,mH,PS,Street), plus Ramp has the text "highest rank of connected segment," RR=2, Ferry=5. You can override individual values, no values, or all values.

For the second and third columns, if you don't specify them, they take the value of the first column. That may be a value you specified, or the default value if you didn't specify one. If you wish to specify a custom value in the first column, and a default value in a different column, you can't -- you must specify both.

Parameters:

  • Lede: Lede paragraph. There is some default text otherwise. To have no lede paragraph, make sure to set it to a blank value: |Lede=|
  • caption: The title above the table (not a wiki heading). Defaults to Xyzyz Locking Standard, where Xyzyz is taking from the page title (and would be the state name if you use Kent's state template scheme)
  • title: The title of the first column of lock values (sometimes the only column). Default value is "Default lock"
  • Title2, Title3: Column titles for second and third variants. If you do not specify a title, the column will not appear. No default.
  • Fwy, Fwy2, Fwy3: The Freeway values, defaults to 4
  • MH, MH2, MH3: Major highway values, defaults to 3
  • mH, mH2, mH3: Minor highway values, defaults to 2
  • PS, Street, PS2, Street2, PS3, Street3: Primary values and Street, defaults to 1