Template:Locking Standard/Sandbox/doc View history

mNo edit summary
(Add documentation of |note=, |append= and use them in a few samples (which further clarifies the design, too!))
Line 7: Line 7:
|title2= Second Column
|title2= Second Column
|title3= Third Column
|title3= Third Column
}}
|note=This sample uses all defaults, but maxes out all the columns and adds a "note"}}


{{Locking Standard/Sandbox
{{Locking Standard/Sandbox
Line 18: Line 18:
|Fwy2=5
|Fwy2=5
|Fwy3=5
|Fwy3=5
|append=This sample is the same as the previous. However:
* Freeway is set to 5 instead of to 4
* All Freeway values are set to be the same manually, though the additional columns would have inherited the same value (5) anyway from the first column, i.e., the default for columns 2 and 3 is to be the same as column 1, whether column 1 inherits the ''unspecified'' default or is set to a different value. The purpose of that is to allow the caller to specify the minimal number of changes from column to column.
* The "note" is changed to the "attend" parameter, which functions similarly except without the bolded "Note: " prefix
}}
}}



Revision as of 19:41, 18 January 2015

This is a documentation subpage for Template:Locking Standard/Sandbox.
It contains usage information, categories and other content that is not part of the original template page.
x3 - All Default
Segment Type First Column  Second Column  Third Column
 Freeway  4
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5

Note: This sample uses all defaults, but maxes out all the columns and adds a "note"


x3 All 5 (manual)
Segment Type First Column  Second Column  Third Column
 Freeway  5
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5

This sample is the same as the previous. However:

  • Freeway is set to 5 instead of to 4
  • All Freeway values are set to be the same manually, though the additional columns would have inherited the same value (5) anyway from the first column, i.e., the default for columns 2 and 3 is to be the same as column 1, whether column 1 inherits the unspecified default or is set to a different value. The purpose of that is to allow the caller to specify the minimal number of changes from column to column.
  • The "note" is changed to the "attend" parameter, which functions similarly except without the bolded "Note: " prefix


x3 A=custom, B=same custom, C=default
Segment Type First Column  Second Column  Third Column
 Freeway  5
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5



x3 A=custom, B=default, C=same custom
Segment Type First Column  Second Column  Third Column
 Freeway  5
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x3 Region 1 & 2 Match (manual)
Segment Type First Column  Second Column  Third Column
 Freeway  5 3
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x3 Region 2 & 3 Match
Segment Type First Column  Second Column  Third Column
 Freeway  4 5
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x3 All Different
Segment Type First Column  Second Column  Third Column
 Freeway  4 5 3
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x3 A/C match (manual)
Segment Type First Column  Second Column  Third Column
 Freeway  99 5 99
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x3 A/C match (default C)
Segment Type First Column  Second Column  Third Column
 Freeway  313 5 313
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x3 A/C default
Segment Type First Column  Second Column  Third Column
 Freeway  4 144 4
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5



x2 All Different
Segment Type First Column  Second Column
 Freeway  4 5
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x2 All Default
Segment Type First Column  Second Column
 Freeway  4
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x2 Manual Match
Segment Type First Column  Second Column
 Freeway  5
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5


x1 Default - no table params
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


x1 Custom lock
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


x1 custom title and lock
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


private
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
 Private Road  3


private and plr
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
 Private Road  2
 Parking Lot Road  1


private and plr (default 1, custom 2)
Segment Type Default locks  custom plr
 Freeway  4
 Ramp  Highest rank of connected segment
 Major Highway  3
 Minor Highway  2
 Primary Street  1
 Street  1
 :|:|:|:|:Railroad:|:|:|:|:  2
 Ferry  5
 Private Road  2
 Parking Lot Road  1 2


plr
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
 Parking Lot Road  3