Template:Infobox LA Highway/doc
From Wikipedia, the free encyclopedia
This is the basic syntax you need to get a complete routebox on the article page, just place this before any other text and fill in the variables. Copy and paste the following code from the box, not the source. Any parameters that do not apply to a particular route can be omitted.
{{Infobox LA Highway |type= |route= |length_mi= |length_round= |length_ref= |formed= |dir1= |from= |junction= |dir2= |to= |previous_type= |previous_route= |next_type= |next_route= }}
The following parameters are accepted by this template:
- shields: Use to specify a custom shield. Full image markup is required.
- name: Use to specify a custom name.
- type: the type of route that the article is about (US for U.S. Routes, LA for state highways. Do not use this template for Interstate Highways.)
- route: This is the number of the route the article is about (ex. 88)
- alternate_name: alternate name of the road. Please limit to only a couple of well-known names to avoid making the infobox larger than necessary.
- map: Name of map over at Wikimedia Commons
- length_mi: This is the length of the route in miles. If you specify beyond integers (i.e. add a decimal value) you will need to set the following parameter, length_round
- length_round: If your value for length_mi is a whole number, you can omit this. Otherwise it needs to be set to the decimal precision of the length_mi parameter.
- length_ref: To do what a good article writer should, provide your reference for the length of the route using standard <ref> method. For example: <ref name="nyr">[http://www.gribblenation.net/nyroutes/ind/500_599.htm#590i New York Routes - Interstate 590]</ref>
- length_notes: For any notes regarding the length.
- formed: This is the date the route was commissioned, assigned to its current alignment, or completed
- decommissioned: the date the route was decommissioned, if applicable.
- dir1: This should be either south or west to keep in accordance with the U.S. Roads parent project, which lists termini and junctions in progression travelling from West to East and South to North.
- from: This is where the route begins and is either at the southern terminus or western terminus.
- junction: See WP:IH for directions regarding this parameter.
- dir2: The opposite of direction_a
- to: Where the route ends, in accordance with the guidelines set forth with starting_terminus
- previous_type: This is the type of route that precedes the current one in the system. The value for this is: Interstate, US, or LA for Interstates, U.S. Routes and state highways, respectively.
- previous_route: The number of the route preceding this one
- next_type: Same as previous_type but for the route following this one
- next_route: The number of the route succeeding this one
- browse: Extra browse rows can be added here using the {{la browse}} template. See WP:USRD for a full explanation regarding these templates.