Template:Infobox road: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Drew R. Smith
No edit summary
imported>Drew R. Smith
m (oops. forgot to take something quite important out...)
 
(20 intermediate revisions by the same user not shown)
Line 8: Line 8:
| 1_data        = '''{{{alternate_name|}}}'''
| 1_data        = '''{{{alternate_name|}}}'''


| 2_label      = Established
| 2_label      = Location
| 2_data        = {{{established|}}}
| 2_data        = {{{country|}}}
{{{city|}}}{{#if:{{{city|}}}|, }}{{{state|}}}{{{province|}}}


| 3_label      = Length
| 3_label      = Established
| 3_data        = {{convert|{{{length_mi|}}}|mi|km}}
| 3_data        = {{{established|}}}


| 4_label      = Direction
| 4_label      = Length
| 4_data        = {{{direction_a|}}}-{{{direction_b}}}
| 4_data        = {{convert|{{{length_mi|}}}|mi|km}}


| 5_label      = {{{direction_a|}}} end
| 5_label      = Direction
| 5_data        = {{{starting_terminus|}}}
| 5_data        = {{{direction_a|}}}-{{{direction_b}}}


| 6_label      = {{{direction_b|}}} end
| 6_label      = {{{direction_a|}}} end
| 6_data        = {{{ending_terminus|}}}
| 6_data        = {{{starting_terminus|}}}


| 7_label      = Junction
| 7_label       = {{{direction_b|}}} end
| 7_label       = {{{junction|}}}
| 7_data        = {{{ending_terminus|}}}
 
| 8_label       = Junction
| 8_label       = {{{junction|}}}
 
| 9_label      =
| 9_datasyle    = colspan="2" align="center"
| 9_data        = <span style="white-space:nowrap;">[[Image:{{{map|}}}|290x172px]]</span>
}}
}}
</includeonly><noinclude>{{TlDoc}}</noinclude>
</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 04:34, 22 July 2009

This documentation is transcluded from Template:Infobox road/doc (edit | history)

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
}}