Changes

Jump to navigation Jump to search

Template:Infobox Road

409 bytes added, 22:01, 15 June 2019
no edit summary
!bgcolor="#EFEFEF" align=right{{!}}'''Direction:'''
{{!}}bgcolor="#EFEFEF"{{!}}{{{direction}}}}}
|-
{{#if:{{{former_names|}}}|
!bgcolor="#E6E6FF" align=right{{!}}Former names:
{{!}}bgcolor="#E6E6FF"{{!}}{{{former_names}}}|}}
|-
{{#if:{{{starting_terminus|}}}|
!bgcolor="#EFEFEF" align=right{{!}}{{#if:{{{direction_b|}}}|{{{direction_b}}} end:|To:}}
{{!}}bgcolor="#EFEFEF"{{!}}{{{ending_terminus}}}|}}
|-
{{#if:{{{namesake|}}}|
!bgcolor="#E6E6FF" align=right{{!}}Namesake:
{{!}}bgcolor="#E6E6FF"{{!}}{{{namesake}}}|}}
|-
{{#if:{{{map|}}}|
|-
{{#if:{{{mapcode|}}}|
{{!}}colspan="2" align="center"{{!}}{{{!mapcode}} width=100% style="background:transparent"{{{mapcode}}}
|}<noinclude>
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. Note that this is a complete list of every variable that can be used with Infobox road and that many are unnecessary in most cases. Variables that are empty can be omitted.
|decommissioned=
|direction_a=
|former_names=
|starting_terminus=
|junction=
|direction_b=
|ending_terminus=
|namesake=
|map=
|mapcode=
* '''decommissioned:''' date the route was decommissioned
* '''direction_a:''' 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.
* '''former_names:''' Use in situations where the route or part of the route had another name historically
* '''starting_terminus:''' This is where the route begins and is either at the '''southern''' terminus or '''western''' terminus.
* '''junction:''' a list of major junctions.
* '''direction_b:''' The opposite of ''direction_a''
* '''ending_terminus:''' where the route ends, in accordance with the guidelines set forth with starting_terminus
* '''namesake:''' person or thing for which the road is named
* '''map:''' image name of a map for the route, width should be 290px; see the [[Wikipedia:USRD/MTF|Wikipedia's maps task force]] for maps; Google Maps solution (below) is preferred.
* '''mapcode:''' code inserted via the [[Pensapedia:Google maps|Google maps]] feature. Click a starting point, then "start path here", then add points along the path, and finally save the path. A good width is 288px.

Navigation menu