Template:Infobox road: Difference between revisions
Jump to navigation
Jump to search
imported>Drew R. Smith mNo edit summary |
imported>Drew R. Smith m (oops. forgot to take something quite important out...) |
||
(30 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{Infobox | {{Infobox | ||
| title = {{#if:{{{marker_image|}}}|[[Image:{{{marker_image}}}|{{{marker_image_size| | | title = {{#if:{{{marker_image|}}}|[[Image:{{{marker_image}}}|{{{marker_image_size|275x75px}}}]]}} | ||
| subtitle = {{{Road_name|}}} | | subtitle = <big>'''{{{Road_name|}}}'''</big> | ||
| 1_label = | | 1_label = | ||
| 1_data = {{{ | | 1_datastyle = text-align:center; padding:0.5em; | ||
| 1_data = '''{{{alternate_name|}}}''' | |||
| 2_label = {{{ | | 2_label = Location | ||
| | | 2_data = {{{country|}}} | ||
{{{city|}}}{{#if:{{{city|}}}|, }}{{{state|}}}{{{province|}}} | |||
| 3_label = Established | |||
| 3_data = {{{established|}}} | |||
| 4_label = Length | |||
| 4_data = {{convert|{{{length_mi|}}}|mi|km}} | |||
| 5_label = Direction | |||
| 5_data = {{{direction_a|}}}-{{{direction_b}}} | |||
| 6_label = {{{direction_a|}}} end | |||
| 6_data = {{{starting_terminus|}}} | |||
| 7_label = {{{direction_b|}}} end | |||
| 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 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 | Interstate H-1 in Honolulu |
{{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 }}