m (fixed fwy end if positions) |
m (transposed first end if, with if not (|}} instead of }}|)) |
||
Line 14: | Line 14: | ||
|- | |- | ||
| {{Freeway}} | | {{Freeway}} | ||
|{{#if:{{{title2|}}}|{{#if:{{{title3|}}}|{{#ifeq:{{{Fwy|4}}}|{{{Fwy2|4}}}|{{#ifeq:{{{Fwy2|4}}}|{{{Fwy3|4}}}|colspan=3{{!}}{{{Fwy|4}}}|colspan=2{{!}}{{{Fwy|4}}}{{!}}{{!}}{{{Fwy3|4}}} | |{{#if:{{{title2|}}}|{{#if:{{{title3|}}}|{{#ifeq:{{{Fwy|4}}}|{{{Fwy2|4}}}|{{#ifeq:{{{Fwy2|4}}}|{{{Fwy3|4}}}|colspan=3{{!}}{{{Fwy|4}}}|colspan=2{{!}}{{{Fwy|4}}}{{!}}{{!}}{{{Fwy3|4}}}}}|{{#ifeq:{{{Fwy2|4}}}|{{{Fwy3|4}}}|{{{Fwy|4}}}{{!}}{{!}}colspan=2{{!}}{{{Fwy2|4}}}|{{{Fwy|4}}}{{!}}{{!}}{{{Fwy2|4}}}{{!}}{{!}}{{{Fwy3|4}}}}}}}|{{#ifeq:{{{Fwy|4}}}|{{{Fwy2|4}}}|colspan=2{{!}}{{{Fwy|4}}}|{{{Fwy|4}}}{{!}}{{!}}{{{Fwy2|4}}}}}}}|{{{Fwy|4}}}}} | ||
|- | |- | ||
| {{Ramp}} | | {{Ramp}} |
Revision as of 00:07, 9 January 2015
Documentation for Template:Locking Standard/Sandbox, which is the test version of Template:Locking Standard
Parameters
Note: Exact capitalization of parameter names matters:
- lede: Lead-in 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.
- note, append: text to be added below the table, which can include full wiki markup. If you use note, the text is automatically started with "Note: " in bold (the rest is not automatically bold
- Fwy, Fwy2, Fwy3: The Freeway values, defaults to 4; Fwy is the first column, Fwy2 and Fwy3 are the second and third columns
- MH, MH2, MH3: Major Highway values; defaults to 3 (note that the "m" is uppercase)
- mH, mH2, mH3: Minor highway values, defaults to 2 (note that the "m" is lowercase)
- PS, Street, PS2, Street2, PS3, Street3: Primary Street values and Street values; defaults to 1
- RR, RR2, RR3: Railroad values; defaults to 2
- Ferry, Ferry2, Ferry3: Ferry values; defaults to 5
- Private, Private2, Private3: Private Road segment values. If you do not specify any of these three values, no row will display for Private. If you specify Private2 and/or Private3, but not Private, then Private defaults to 1
Samples
In Locking Standard we have a set minimum standards 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 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 performing the FC Upgrade of an area. Lock the roads based on type after they've been set to FC standards.
Segment Type | Default locks |
---|---|
Freeway | 4 |
Ramp | highest rank of connected segment |
Major Highway | 3 |
Minor Highway | 2 |
Primary Street | 1 |
Street | 1 |
:|:|:|:|:Railroad:|:|:|:|: | 2 |
Ferry | 5 |
- The above first sample calls the template with no parameters at all, and displays completely default behavior.
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 4 | |||||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 5 | |||||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 5 | 4 | ||||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 5 | 4 | 5 | |||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 5 | 3 | ||||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 4 | 5 | ||||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 4 | 5 | 3 | |||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 99 | 5 | 99 | |||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 313 | 5 | 4 | |||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | Third Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 4 | 144 | 4 | |||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | 2 | |||||||||
Primary Street | 1 | 1 | 1 | |||||||||
Street | 1 | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | |||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 4 | 5 | |||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | |||||||||
Primary Street | 1 | 1 | |||||||||
Street | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | ||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 4 | ||||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | |||||||||
Primary Street | 1 | 1 | |||||||||
Street | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | ||||||||||
Ferry | 5 |
Segment Type | First Column | Second Column | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 5 | ||||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | |||||||||
Primary Street | 1 | 1 | |||||||||
Street | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | ||||||||||
Ferry | 5 |
Segment Type | Default locks |
---|---|
Freeway | 4 |
Ramp | highest rank of connected segment |
Major Highway | 3 |
Minor Highway | 2 |
Primary Street | 1 |
Street | 1 |
:|:|:|:|:Railroad:|:|:|:|: | 2 |
Ferry | 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 |
Segment Type | custom |
---|---|
Freeway | 5 |
Ramp | highest rank of connected segment |
Major Highway | 3 |
Minor Highway | 2 |
Primary Street | 1 |
Street | 1 |
:|:|:|:|:Railroad:|:|:|:|: | 2 |
Ferry | 5 |
Segment Type | Default locks |
---|---|
Freeway | 4 |
Ramp | highest rank of connected segment |
Major Highway | 3 |
Minor Highway | 2 |
Primary Street | 1 |
Street | 1 |
:|:|:|:|:Railroad:|:|:|:|: | 2 |
Ferry | 5 |
Segment Type | Default locks |
---|---|
Freeway | 4 |
Ramp | highest rank of connected segment |
Major Highway | 3 |
Minor Highway | 2 |
Primary Street | 1 |
Street | 1 |
:|:|:|:|:Railroad:|:|:|:|: | 2 |
Ferry | 5 |
Segment Type | Default locks | custom plr | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Freeway | 4 | ||||||||||
Ramp | highest rank of connected segment | highest rank of connected segment | |||||||||
Major Highway | 3 | 3 | |||||||||
Minor Highway | 2 | 2 | |||||||||
Primary Street | 1 | 1 | |||||||||
Street | 1 | 1 | |||||||||
:|:|:|:|:Railroad:|:|:|:|: | 2 | ||||||||||
Ferry | 5 |
Segment Type | Default locks |
---|---|
Freeway | 4 |
Ramp | highest rank of connected segment |
Major Highway | 3 |
Minor Highway | 2 |
Primary Street | 1 |
Street | 1 |
:|:|:|:|:Railroad:|:|:|:|: | 2 |
Ferry | 5 |
The above documentation is transcluded from Template:Locking Standard/Sandbox/doc. Please add categories to the /doc subpage. Subpages of this template. |
In Locking Standard we have a set minimum standards 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 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 performing the FC Upgrade of an area. Lock the roads based on type after they've been set to FC standards.
Segment Type | Default locks |
---|---|
Freeway | 4 |
Ramp | highest rank of connected segment |
Major Highway | 3 |
Minor Highway | 2 |
Primary Street | 1 |
Street | 1 |
:|:|:|:|:Railroad:|:|:|:|: | 2 |
Ferry | 5 |