Difference between revisions of "Template:Infobox highway system"

From blackwiki
Jump to navigation Jump to search
imported>Imzadi1979
m (fix)
imported>Imzadi1979
m (match infobox state highway system a bit)
Line 29: Line 29:
 
|data16  = {{{field6|}}}
 
|data16  = {{{field6|}}}
 
|header20 = {{#if:{{{state|}}}{{{province|}}}{{{country|}}}{{{type|}}}{{{system|}}}|{{#switch: {{{country|}}}
 
|header20 = {{#if:{{{state|}}}{{{province|}}}{{{country|}}}{{{type|}}}{{{system|}}}|{{#switch: {{{country|}}}
  |GBR|IRL= Road network
+
  |GBR|IRL= Network links
 
  |AUS= {{#switch:{{{type|}}}
 
  |AUS= {{#switch:{{{type|}}}
   |freeway|highway|city highway=Highway system
+
   |freeway|highway|city highway=System links
 
   |#default=}}
 
   |#default=}}
  |#default=Highway system}}
+
  |#default=System links}}
 
}}
 
}}
 
|class21 = hlist
 
|class21 = hlist

Revision as of 11:22, 25 June 2014

Highway names

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Copy and paste the following code below: Template:Parameter names example

{{Infobox highway system
| title      = 
| markers    = 
| caption    = 
| map        = 
| map_alt    = 
| map_notes  = 
| maint      = 
| formed     = <!-- or | established = -->
| length_km  = <!-- or | length_mi = -->
| length_ref = 
| notes      = 
| links      = 
}}

Then fill in the fields as follows:

  • title: This is the (official) title of the system.
  • markers: Put some examples of the markers the system uses here.
  • caption: This is the markers' description, as a caption.
  • map: Put a map of the system here.
  • map_notes: This is the map's description.
  • map_alt: This is the map's alt text.
  • maint: This is the name of the agency or organization that maintains 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.
  • notes: Additional information about the highway system.
  • country, state, or province: just as with {{infobox road}}, but used to display the appropriate links at the bottom of the infobox.
    • type: Optional. Customizes the links displayed for some jurisditions 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