Wikipedia talk:WikiProject Washington State Highways/old infobox
From Wikipedia, the free encyclopedia
The following is instructions on how to use the old {{Routeboxwa}} infobox, replaced as of July 2006. -- NORTH talk 02:18, 24 July 2006 (UTC)
Contents |
[edit] Infoboxes
{{Routeboxwa}}
[[Image:{{routeboxwa/{{{type}}}|num={{{article_route}}}}}|85px]] | |||
Route {{{article_route}}} | |||
[[Image:Map-WA-{{{article_route}}}.svg|150px]] | |||
RCW {{{section}}} | |||
{{routeboxwa/{{{child}}}|parent={{{parent}}}}} | |||
Length: | {{{length_mi}}} mi ({{{length_km}}} km) | ||
---|---|---|---|
Formed: | {{{yrcom}}} | ||
Major cities: | {{{cities}}} | ||
Direction: | {{{direction}}} | ||
|
|||
Legend | |||
Washington State Routes | |||
< [[Image:{{routeboxwa/{{{previous_type}}}|num={{{previous_route}}}}}|20px]] [[State Route {{{previous_route}}} (Washington)|Route {{{previous_route}}}]] | [[State Route {{{next_route}}} (Washington)|Route {{{next_route}}}]] [[Image:{{routeboxwa/{{{next_type}}}|num={{{next_route}}}}}|20px]] > |
[edit] Examples
Route 7 | |||||||||||||||||||||||
RCW 47.17.030 | |||||||||||||||||||||||
Primary State Route | |||||||||||||||||||||||
Length: | 55.26 mi (88.93 km) | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Formed: | {{{yrcom}}} | ||||||||||||||||||||||
Major cities: | Spanaway Parkland Tacoma |
||||||||||||||||||||||
Direction: | North-South | ||||||||||||||||||||||
|
|||||||||||||||||||||||
Legend | |||||||||||||||||||||||
Washington State Routes | |||||||||||||||||||||||
< Route 6 | Route 8 > |
Route 405 | |||||||||||||||||||||||||||||||||
RCW 47.17.595 | |||||||||||||||||||||||||||||||||
Child of Image:Interstate 5.svg I-5 | |||||||||||||||||||||||||||||||||
Length: | 30.3 mi (48.76 km) | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Formed: | {{{yrcom}}} | ||||||||||||||||||||||||||||||||
Major cities: | Renton Bellevue Bothell Lynnwood |
||||||||||||||||||||||||||||||||
Direction: | North-South | ||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
Legend | |||||||||||||||||||||||||||||||||
Washington State Routes | |||||||||||||||||||||||||||||||||
< Route 401 | Route 410 > |
[edit] What these arguments do
Parameters:
- previous_route: The route that numerically comes before the article route. (e.g. Route 6 precedes Route 7)
- next_route: The route that numerically comes after the article route. (e.g. Route 8 follows 7)
- previous_type: Interstate (for ALL interstates), Highway (for state highways), U.S. Highway (for US highways). This field specifies whether the previous route (for the browse box) .
- next_type: Same as above except this field is for the next highway.
- type: Same as above but this field is for the article route.
- child: What is this highway a child of? (See List of Washington State Routes for help) Enter Primary for primary routes, WASR if the parent is a state route, Int if the parent is an Interstate, and US if the parent is a US Highway.
- parent: If the route is a secondary route then enter what the parent is (like this: "101" if the parent is US-101). If you entered Primary above then you need to enter this parameter but leave the field empty; otherwise funny symbols will appear after Primary State Route.
- article_route: The article route number.
- section: The section of the RCW that describes the article route. Use List of State Route RCW Entries to look it up. For spurs not listed in the code, use the section for the mainline route instead.
- junction: The junctions and mile posts of the article route. See below for instructions on the table.
- length_mi: The length of the route, in miles.
- length_km: The length of the route, in kilometers.
- cities : List of linked cities/towns that the route passes along, delimited using a HTML linebreak(<br>)
- direction: The route's direction, either North-South or East-West.
[edit] What goes in the browse part
Example: For WA-3, US-2 is the previous route and WA-4 is the next route.
US Highways and Interstates are placed in numerical order with the state routes (including 3dis). Spurs are placed after their mainline route (for example, WA-16: previous route would be WA-15 and next route would be WA-16 Spur, and the spur's next route would be WA-17).
[edit] Junctions and Mile Posts Columns
To create these columns, simply add the following to the "junction" parameter:
<tr><td align=right>Junction route number and link to its article<td align=left>Milepost
To add more routes, simply copy and paste this code into the "junction" parameter as many times as needed. The code will in turn form two columns: The right column, titled MILE POST, which gives the status of the article route according to its legal definition; and the left column, titled JUNCTION, which gives the status of the junction route it meets. The right column lists the point along the article route (in miles) where it meets the junction route. Generally, if the right column is white, it means that the article route physically exists (it is constructed, traversable, state-maintained and signed as a state highway) and that it meets the junction route at the given county and milepost. The left column lists the junction routes. If the left column is white, it means that the respective junction route physically meets the article route at an interchange. Also, junction routes in bold denote the start, discontinuities, and the end of the route as defined by law and may include a route, a street, a city boundary, or a point of interest.
Background colors in any of the JUNCTION or MILE POST columns' boxes designates a different status of the junction route or the article route, respectively. In this case, either the junction route or article route does not meet the other at the given milepost, for a variety of reasons. These background colors should be added in the "td" section of the tables (Example: <td align=left bgcolor=#d3d3d3>). The following is the key:
Web Colors | Junction route... | Article route at this milepost... |
lightgrey #d3d3d3 | ...is deleted. | ...is deleted. |
plum #dda0dd | ...is unconstructed. | ...is unconstructed. |
lightyellow #ffffe0 | ...is closed to traffic. | ...is closed traffic. |
navajowhite #ffdead | ...does not have an interchange with the article route. | ...does not have an interchange with junction route. |
paleturquoise #afeeee | ...shares alignment with the article route. If this route number is in bold letters, then the shared alignment belongs the junction route. If this route number is in "regular" letters, then the shared alignment belongs to the article route. If the first entry is "bold" and the second "regular" or vise-versa the shared alignment is shared. | ...merges with the junction route and shares alignment. |
...alights from the junction route and continues. |
[edit] How to do the county headings
For Pierce County:
{{routeboxwa/county|Pierce}}
This will produce:
Pierce County |