(More sensible second example, no third example after all) |
(Inconsistency between example text and actual example) |
||
Line 9: | Line 9: | ||
Complex, has three columns, changes many defaults, including interactions of defaults for the same type across the three columns (but does use default lede and caption; ; note that the caption "state name" is pulled from the template/documentation page, as is not representative of a normal configuration) | Complex, has three columns, changes many defaults, including interactions of defaults for the same type across the three columns (but does use default lede and caption; ; note that the caption "state name" is pulled from the template/documentation page, as is not representative of a normal configuration) | ||
<nowiki>{{Locking Standard|title=Variant 1 - Urban|title2=Variant 2 - Rural|title3=Variant 3 - Everywhere else|Fwy=5|MH=5|Fwy2=4|MH2=3|MH3=4|mH3=2|ramp2=second highest connected segment lock}}</nowiki> | <nowiki>{{Locking Standard|title=Variant 1 - Urban|title2=Variant 2 - Rural|title3=Variant 3 - Everywhere else|Fwy=5|MH=5|Fwy2=4|MH2=3|MH3=4|mH3=2|ramp2=2|ramp3=second highest connected segment lock}}</nowiki> | ||
Revision as of 02:57, 31 December 2014
Examples:
Simplest, using only defaults except for eliminating the lede, changing captions and changing one lock level (Freeway=5 instead of 4)
{{Locking Standard|lede=|caption=Simple Sample Locking Table|Fwy=5}}
Segment Type | Default locks |
---|---|
Freeway | 5 |
Ramp | Highest rank of connected segment |
Major Highway | 3 |
Minor Highway | 2 |
Primary Street | 1 |
Street | 1 |
|-|-|-|-|-|-|-|-|-| Railroad |-|-|-|-|-|-|-|-|-| | 2 |
• • • • Ferry • • • • | 5 |
Complex, has three columns, changes many defaults, including interactions of defaults for the same type across the three columns (but does use default lede and caption; ; note that the caption "state name" is pulled from the template/documentation page, as is not representative of a normal configuration)
{{Locking Standard|title=Variant 1 - Urban|title2=Variant 2 - Rural|title3=Variant 3 - Everywhere else|Fwy=5|MH=5|Fwy2=4|MH2=3|MH3=4|mH3=2|ramp2=2|ramp3=second highest connected segment lock}}
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.
Segment Type | Variant 1 - Urban | Variant 2 - Rural | Variant 3 - Everywhere else | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 5 | 4 | 5 | |||||||||
Ramp | Highest rank of connected segment | |||||||||||
Major Highway | 5 | 3 | 4 | |||||||||
Minor Highway | 2 | |||||||||||
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 (exact capitalization matters):
- 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