Difference between revisions of "Template:Infobox state highway system/sandbox"

From blackwiki
Jump to navigation Jump to search
(Fixing formatting issue)
imported>Morriswa
m (Reverted 1 edit by 66.50.50.151 (talk) to last revision by MusikBot (TW))
 
Line 16: Line 16:
 
|data5  = {{{notes|}}}
 
|data5  = {{{notes|}}}
 
|header10 = {{{section0|{{#if:{{{interstate|}}}{{{us|}}}{{{state|}}}{{{field1|}}}|Highway names|}}}}}
 
|header10 = {{{section0|{{#if:{{{interstate|}}}{{{us|}}}{{{state|}}}{{{field1|}}}|Highway names|}}}}}
|label11  = [[Interstate Highway System|Eolgi]]
+
|label11  = [[Interstate Highway System|Interstate]]s
 
|data11  = {{{interstate|}}}
 
|data11  = {{{interstate|}}}
 
|label12  = [[United States Numbered Highway System|US Highways]]
 
|label12  = [[United States Numbered Highway System|US Highways]]

Latest revision as of 17:22, 23 December 2019

Lua error in Module:Infobox_road/map at line 15: attempt to index field 'wikibase' (a nil value).
Template documentation[view] [edit] [history] [purge]

Usage

Copy and paste the following code below:

Template:Parameter names example

{{infobox state highway system
|title=
|shields=
|caption=
|map=
|map_alt=
|map_notes=
|maint=
|formed=
|length_mi=
|length_ref=
|interstate=
|us=
|state=
|notes=
|links=
}}

Then fill in the fields as follows:

  • title: This is the (official) title of the system
  • shields: Put the shields the state uses here.
  • caption: This is the shields' description.
  • map: Put a map of the state here.
  • map_notes: This is the map's description.
  • map_alt: This is the map's alt text.
  • maint: This is the agency or agencies that maintain the system.
  • formed: This is the date of the system's formation (Alternate parameter: formed)
  • length_mi: or length_km: This is the length of the system. length_ref is used for the reference for this piece of information, and the template converts the given length into both systems of measurement.
    • length_notes, if defined, appears as a note below the length. This can be used to show former length, or future length, etc.
  • interstate: This is usually "Interstate X (I-X)", but it can also be "Route X", etc.
  • us: This is usually "U.S. Route X (US X)", but it can also be "Route X", etc.
  • state: This is what the state calls its state highways.
  • notes: Additional information about the state highway system.
  • links: Optional. Adds links to state highway system (links=state abbreviation); for Canada, use the provincial abbreviation; for certain US national networks, use I, US, NHS, or BL/BS as appropriate
    • type: Optional. Customizes the links displayed for some states based on roadway type.
    • county: Optional. Customized the links displayed for some states based on county, for county roads.
  • field1–6 Optional. Allows up to six additional types of highways to be added to the list.
  • label1–6 Required only if using field1–6. Adds a label for the field1–6 lines.

See also