Template:Infobox road/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Drew R. Smith
imported>John Stephenson
(rm image with no real name)
 
(6 intermediate revisions by one other user not shown)
Line 9: Line 9:
*'''state'''-This is the state that the road is located in.
*'''state'''-This is the state that the road is located in.
*'''city'''-This is the city that the road is located in.
*'''city'''-This is the city that the road is located in.
*'''city_on'''-This tells the template whether there is a city or not. This is used to add in the ", " in City, State or City, Province
*'''length_mi'''-This is the length of the road in miles. It will display as a {{tl|convert}}ed figure, including both miles and kilometres
*'''length_mi'''-This is the length of the road in miles. It will display as a {{tl|convert}}ed figure, including both miles and kilometres
*'''established'''-This is the date the road was established. Precise dates are best, but approximations are ok as well.
*'''established'''-This is the date the road was established. Precise dates are best, but approximations are ok as well.
Line 18: Line 17:
*'''junction'''-This is a list of major junctions.
*'''junction'''-This is a list of major junctions.
*'''map'''-This displays a map of the road and its surroundings.
*'''map'''-This displays a map of the road and its surroundings.
==Examples==
==Examples==
 
{{Infobox road
<pre>{{Infobox road
|marker_image=Nimitzhighway.jpg
|Road_name=Hawaii route 92
|Road_name=Hawaii route 92
|alternate_name=Nimitz Highway
|alternate_name=Nimitz Highway
|location_on=yes
|country=United States of America
|country=United States of America
|state=Hawaii
|state=Hawaii
|city=Honolulu
|city=Honolulu
|city_on=yes
|length=mi
|length_mi=9.3
|length_mi=9.3
|established=1940's
|established=1940's
Line 39: Line 32:
|ending_terminus=[[Image:I-H1.jpg|20px]] [[Interstate H-1]] in [[Honolulu, Hawaii|Honolulu]]
|ending_terminus=[[Image:I-H1.jpg|20px]] [[Interstate H-1]] in [[Honolulu, Hawaii|Honolulu]]
|map=Nimitz highway.jpg
|map=Nimitz highway.jpg
}}</pre>
}}


{{Infobox road
<pre>{{Infobox road
|marker_image=Nimitzhighway.jpg
|marker_image=Nimitzhighway.jpg
|Road_name=Hawaii route 92
|Road_name=Hawaii route 92
|alternate_name=Nimitz Highway
|alternate_name=Nimitz Highway
|location_on=yes
|country=United States of America
|country=United States of America
|state=Hawaii
|state=Hawaii
|city=Honolulu
|city=Honolulu
|city_on=yes
|length=mi
|length_mi=9.3
|length_mi=9.3
|established=1940's
|established=1940's
Line 59: Line 49:
|ending_terminus=[[Image:I-H1.jpg|20px]] [[Interstate H-1]] in [[Honolulu, Hawaii|Honolulu]]
|ending_terminus=[[Image:I-H1.jpg|20px]] [[Interstate H-1]] in [[Honolulu, Hawaii|Honolulu]]
|map=Nimitz highway.jpg
|map=Nimitz highway.jpg
}}
}}</pre>

Latest revision as of 02:33, 21 January 2011

This template is to be used on articles concerning roads, streets, highways, freeways, or any other notable path.

Parameters

  • marker_image-This parameter is used to display the marker attributed to the subject road.
  • Road_name-This is the official name of the road
  • alternate_name-This is the commonly used name of the road
  • country-This is the country the road is located in.
  • province-This is the province the road is located in.
  • state-This is the state that the road is located in.
  • city-This is the city that the road is located in.
  • length_mi-This is the length of the road in miles. It will display as a {{convert}}ed figure, including both miles and kilometres
  • established-This is the date the road was established. Precise dates are best, but approximations are ok as well.
  • direction_a-This is the direction the road is traveling.
  • direction_b-This is the alternate direction of the road. Usually the opposite of direction_a.
  • starting_terminus-This is where the road officially begins.
  • ending_terminus-This is where the road officially ends.
  • junction-This is a list of major junctions.
  • map-This displays a map of the road and its surroundings.

Examples

Hawaii route 92
Nimitz Highway
Location United States of America

Honolulu, Hawaii

Established 1940's
Length 9.3 mi (14.97 km)
Direction East-West
East end 0.6 miles east of the Ala Wai Canal in Waikiki
West end I-H1.jpg Interstate H-1 in Honolulu
Nimitz highway.jpg


{{Infobox road
|marker_image=Nimitzhighway.jpg
|Road_name=Hawaii route 92
|alternate_name=Nimitz Highway
|country=United States of America
|state=Hawaii
|city=Honolulu
|length_mi=9.3
|established=1940's
|direction_a=East
|starting_terminus=0.6 miles east of the Ala Wai Canal in [[Waikiki]]
|junction=
|direction_b=West
|ending_terminus=[[Image:I-H1.jpg|20px]] [[Interstate H-1]] in [[Honolulu, Hawaii|Honolulu]]
|map=Nimitz highway.jpg
}}