(updated all of PLN to standards) |
Kentsmith9 (talk | contribs) (Fixed grammar on a few entries due to state name variances with templates.) |
||
Line 100: | Line 100: | ||
| SOUTHWEST = {{Locking Standard <!-- per Jemay - 2015-11-25 --> | | SOUTHWEST = {{Locking Standard <!-- per Jemay - 2015-11-25 --> | ||
|Fwy=5|Ramp=4|MH=4|mH=3|PS=2|Street=1 | |Fwy=5|Ramp=4|MH=4|mH=3|PS=2|Street=1 | ||
|lede=Actual locks used may be more or less than values in the table, depending on area circumstance. Please consult RC, SM, or appropriate AM for guidance. | |lede=Actual locks used may be more or less than values in the table, depending on area circumstance. Please consult the RC, SM, or appropriate AM for guidance. | ||
}} | }} | ||
| AZ = {{Locking Standard <!-- per nnote - 2017-01-25 --> | | AZ = {{Locking Standard <!-- per nnote - 2017-01-25 --> | ||
Line 125: | Line 125: | ||
|Fwy=5|Ramp=4|MH=3|mH=2|PS=1 | |Fwy=5|Ramp=4|MH=3|mH=2|PS=1 | ||
|lede=Actual locks used may be more or less than values in the table below, depending on area circumstance | |lede=Actual locks used may be more or less than values in the table below, depending on area circumstance | ||
Please consult RC, SM, or appropriate AM for guidance | Please consult the RC, SM, or appropriate AM for guidance | ||
}} | }} | ||
| VA = {{Locking Standard | | VA = {{Locking Standard | ||
Line 132: | Line 132: | ||
|title2=Rural|MH2=3|mH2=2|PS2=1 | |title2=Rural|MH2=3|mH2=2|PS2=1 | ||
|lede=Actual locks used may be more or less than values in the table below, depending on area circumstance | |lede=Actual locks used may be more or less than values in the table below, depending on area circumstance | ||
Please consult RC, SM, or appropriate AM for guidance | Please consult the RC, SM, or appropriate AM for guidance | ||
}} | }} | ||
| WASHDC = {{Locking Standard | | WASHDC = {{Locking Standard | ||
Line 138: | Line 138: | ||
|Fwy=5|MH=4|mH=3|PS=2 | |Fwy=5|MH=4|mH=3|PS=2 | ||
|lede=Actual locks used may be more or less than values in the table below, depending on area circumstance | |lede=Actual locks used may be more or less than values in the table below, depending on area circumstance | ||
Please consult RC, SM, or appropriate AM for guidance | Please consult the RC, SM, or appropriate AM for guidance | ||
}} | }} | ||
| SOUTHERN = {{Locking Standard | | SOUTHERN = {{Locking Standard | ||
Line 190: | Line 190: | ||
It is understood that more rural or inactive areas may not yet meet this standard: editors are encouraged to recruit and mentor additional editors to build state-wide coverage. | It is understood that more rural or inactive areas may not yet meet this standard: editors are encouraged to recruit and mentor additional editors to build state-wide coverage. | ||
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 [ | 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 [[Road types#Quick_reference_chart|US Road Type Standards]]. | ||
|caption={{RootPage2}} Minimum Road Locking Standard|title={{Spaces|5}}Two-way{{Spaces|4}}|title2={{Spaces|5}}One-way{{Spaces|5}}|title3=Chicago Zone|Fwy=5|MH=3|mH=3|PS=2|PS2=3|PS3=3|Street=1|Street2=2|Street3=3|Private=1|Private2=2|Private3=2|PLR=1|PLR2=1<sup>see note</sup>|PLR3=2|Ferry=5|RR=2|Runway=5|Other=1|Other2=3|Other3=3|Construction=3|note=One-way PLRs used outside of parking lots, such as alleys and streets through apartment complexes, should be locked at 2. The ''Chicago Zone'' is bordered by Lake Michigan on the east, the Chicago River on the north and west and Polk on the south. See [[USA/Great Lakes/Major roads|the GLR major roads page]] for additional information on the standards listed here.}} | |caption={{RootPage2}} Minimum Road Locking Standard|title={{Spaces|5}}Two-way{{Spaces|4}}|title2={{Spaces|5}}One-way{{Spaces|5}}|title3=Chicago Zone|Fwy=5|MH=3|mH=3|PS=2|PS2=3|PS3=3|Street=1|Street2=2|Street3=3|Private=1|Private2=2|Private3=2|PLR=1|PLR2=1<sup>see note</sup>|PLR3=2|Ferry=5|RR=2|Runway=5|Other=1|Other2=3|Other3=3|Construction=3|note=One-way PLRs used outside of parking lots, such as alleys and streets through apartment complexes, should be locked at 2. The ''Chicago Zone'' is bordered by Lake Michigan on the east, the Chicago River on the north and west and Polk on the south. See [[USA/Great Lakes/Major roads|the GLR major roads page]] for additional information on the standards listed here.}} | ||
| KY = {{Locking Standard | | KY = {{Locking Standard | ||
Line 199: | Line 199: | ||
|title=Statewide | |title=Statewide | ||
|Fwy=5|MH=4|mH=3|PS=2 | |Fwy=5|MH=4|mH=3|PS=2 | ||
|note=Certain areas may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or | |note=Certain areas may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or SM of {{RootPage2}}.}} | ||
| SC = {{Locking Standard | | SC = {{Locking Standard | ||
|title=Statewide | |title=Statewide | ||
|Fwy=5|MH=4|mH=3|PS=2 | |Fwy=5|MH=4|mH=3|PS=2 | ||
|note=Certain areas may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or | |note=Certain areas may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or SM of {{RootPage2}}.}} <!-- a/p crazycaveman SC SM --> | ||
| TN = {{Locking Standard | | TN = {{Locking Standard | ||
|title=Statewide | |title=Statewide | ||
Line 219: | Line 219: | ||
|PS=2 | |PS=2 | ||
|Street=1 | |Street=1 | ||
|note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or | |note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or SM of {{RootPage2}}.}} | ||
| ID = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | | ID = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | ||
|title=Statewide | |title=Statewide | ||
Line 228: | Line 228: | ||
|PS=2 | |PS=2 | ||
|Street=1 | |Street=1 | ||
|note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or | |note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or SM of {{RootPage2}}.}} | ||
| MT = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | | MT = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | ||
|title=Statewide | |title=Statewide | ||
Line 237: | Line 237: | ||
|PS=2 | |PS=2 | ||
|Street=1 | |Street=1 | ||
|note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or | |note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or SM of {{RootPage2}}.}} | ||
| OR = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | | OR = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | ||
|title=Statewide | |title=Statewide | ||
Line 246: | Line 246: | ||
|PS=2 | |PS=2 | ||
|Street=1 | |Street=1 | ||
|note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or | |note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or SM of {{RootPage2}}.}} | ||
| WA = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | | WA = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | ||
|title=Statewide | |title=Statewide | ||
Line 255: | Line 255: | ||
|PS=2 | |PS=2 | ||
|Street=1 | |Street=1 | ||
|note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or | |note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or SM of {{RootPage2}}.}} | ||
| AK = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | | AK = {{Locking Standard <!-- Approved by all NWR SMs and RC - TheChrisK, 2017-09-26 --> | ||
|title=Statewide | |title=Statewide | ||
Line 264: | Line 264: | ||
|PS=2 | |PS=2 | ||
|Street=1 | |Street=1 | ||
|note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or | |note=Certain roads may be locked higher than the above minimums. Please do not lower locks unless approved by the RC or SM of {{RootPage2}}.}} | ||
|lede=In {{RootPage2}} we have a set minimum standard for [[Best_map_editing_practice#Locking_Segments|locking roads]] based on the segment type. Any road of a certain segment type must be locked to '''at least''' the [[Your_Rank_and_Points#Map_Editing_Rank|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. | |lede=In {{RootPage2}} we have a set minimum standard for [[Best_map_editing_practice#Locking_Segments|locking roads]] based on the segment type. Any road of a certain segment type must be locked to '''at least''' the [[Your_Rank_and_Points#Map_Editing_Rank|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. | ||
Revision as of 05:48, 26 September 2019
This template is transcluded into many state pages to define their locking standards. Any errant changes to this page can affect lots of state wiki pages relying on this template. Please be sure you fully comprehend this template and how parser switch functions work before editing it. If you need help please ask someone.
|
This template simplifies calls to the Locking Standard template. The parameter list is somewhat long, and easy to confuse should there be multiple variations of locking standards within the state. To simplify this, a second template -- this one -- can be used to can the call for each area. You put all the complex code for your states locks in here, and just add the simple one line code to call this template on your states page.
You call this template as follows:
{{Lock Standard State|XY}}
...where XY is use a USPS state abbreviation or the like. But the list of abbreviations "and the like" must be predefined in this template.
Defining a new states locks
The template is a large "switch" statement that shows all the "states" (or provinces, regions, etc.) for which it is programmed.
To program a new state, you must first know how to use the {{Locking Standard}} template -- this template doesn't eliminate that work. This template just self-documents the resulting code, makes your states wiki page code look much cleaner, and less likely to accidentally break. (However, anyone touching the code here can break a lot of state pages!)
Once you have developed the code to define your states locking table using the {{Locking Standard}} template, use the following guidance to add a new state/region/group of localities/etc to this template.
- Each state abbreviation must be in all UPPER CASE, and entered on a new line starting with a pipe character (the vertical bar |).
- Multiple states or regions can be set to use a single definition using the "fall through" technique. If you want this state to use the same values as another defined state/region; do not put the equals sign (=) following the state/region name, make sure this state/region name is added above the defined state/region you want to use. When there is no (=) after the name, it will use the next defined set of values below.
- Do not add any new states below the default settings at the bottom of the template.
- To define this state put a equals sign (=) after the state abbreviation and then start the {{Locking Standard}} template code.
- Now add a wiki comment describing the source of the information, your username, and the date. These comments are only visible in the code, and displayed in the wiki, they help to keep track of changes and for maintenance. To start a comment use anything after this is displayed in the wiki.
- For example
XX|{{Locking Standard <!-- as per state forum http://www.waze.com/forum/... Username, 2015-01-27 -->
- For example
- On the next line start adding in the parameters to build your state table for the {{Locking Standard}} template. To make this template easy to read you can add line breaks and indents before new parameters. You can start each parameter or group of parameters with the pipe on a new line, and use regular spaces to indent before the pipe, showing context.
- Remember to end your defining template code with a closing pair of braces (}}).
- Now add a wiki comment describing the source of the information, your username, and the date. These comments are only visible in the code, and displayed in the wiki, they help to keep track of changes and for maintenance. To start a comment use anything after this is displayed in the wiki.
- Now add the
{{Lock Standard State|XX}}
template code to your states wiki page. - After saving any changes to this template, please check the output for your state, and all the examples listed in the /doc page, to ensure they are producing the correct output.
- If you notice that the output for your state or some of the examples listed here in the doc page are wrong, please "UNDO" your changes using the link by your edit on the history tab.
|AB = {{Locking Standard <!--comment explaining source of information, etc., the dashes, ! and LT/GT are part of the wiki code and must be present--> |parameterA = value value value |parameterB = text text text |Fwy = 1 | Fwy2 = 2 |MH = 4 | mH = 3 |MH2 = 5 | mH2 = 5}} |FG = {{Locking Standard <!-- comment explaining source of information, etc., the dashes, ! and LT/GT are part of the wiki code and must be present--> |Title1 = value value value |Fwy = 1 | MH = 2 | mH = 3 |Title2 = text text text |Fwy2 = 5 |MH2 = 5 | mH2 = 5}} | CD = {{Locking Standard}} <!--simple case, uses no parameters, only defaults--> | REGION9 | REGION9PROVINCE1 | REGION9PROVINCE2 | REGION9PROVINCE3 = {{Locking Standard |lede=This locking standard applies to the entire Region 9 (all three member provinces, Province1, Province2, Province3) |Fwy=5}} | NEW SMALLVILLE | NEW BIGVILLE = {{Locking Standard <!--New Smallville and New Bigville share the same setup, so only one of them has to actually have the code (always the last one), and the others don't have an {{=}} {{Locking Standard... the wiki understands to just pick the next one actually specified. (Just as Region 9 above) This is called "Fall through".--> |Fwy = 4}}
Examples
Note that due to the peculiarities of the underlying Locking Standard template, the state name is only picked up correctly when used as intended in State Pages. It otherwise picks up the rather nonsensical (in context) name of the current page for the caption/lede.
{{Lock Standard State|CA}}
In Lock Standard State 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.
|
{{Lock Standard State|NM}}
Actual locks used may be more or less than values in the table, depending on area circumstance. Please consult the RC, SM, or appropriate AM for guidance.
|
{{Lock Standard State|NEW ENGLAND}}
In Lock Standard State 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.
Note: Do Not Mass Edit just to update locks to these standards, these can be adjusted as you find them while editing other aspects of the segments such as FC, speed limits, naming, etc. Some segments still warrant higher locks and care should be taken when setting segment lock to these standards to look for and protect these special setups with higher locks. Some examples; segments which are part of BDP, U-turn prevention, or using micro-doglegs, or other complex intersection setups. |
{{Lock Standard State|NORTHEAST}}
In Lock Standard State 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.
Note: Do Not Mass Edit just to update locks to these standards, these can be adjusted as you find them while editing other aspects of the segments such as FC, speed limits, naming, etc. Some segments still warrant higher locks and care should be taken when setting segment lock to these standards to look for and protect these special setups with higher locks. Some examples; segments which are part of BDP, U-turn prevention, or using micro-doglegs, or other complex intersection setups. |
{{Lock Standard State|NY}}
In Lock Standard State 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.
Note: Do Not Mass Edit just to update locks to these standards, these can be adjusted as you find them while editing other aspects of the segments such as FC, speed limits, naming, etc. Some segments still warrant higher locks and care should be taken when setting segment lock to these standards to look for and protect these special setups with higher locks. Some examples; segments which are part of BDP, U-turn prevention, or using micro-doglegs, or other complex intersection setups. |
The above documentation is transcluded from Template:Lock Standard State/doc. Please add categories to the /doc subpage. Subpages of this template. |