Difference between revisions of "Template:Infobox highway system"

From blackwiki
Jump to navigation Jump to search
imported>Happy5214
(Padlock should be provided by {{documentation}} once protected.)
imported>Imzadi1979
m (fix)
Line 13: Line 13:
 
|label4  = Length:
 
|label4  = Length:
 
|data4  = {{#if:{{{length_mi|}}}{{{length_km|}}}|{{Infobox road/meta/length|{{#if:{{{length_mi|}}}|mi|km}}|length={{#if:{{{length_mi|}}}|{{{length_mi|}}}|{{{length_km|}}}}}|length_ref={{{length_ref|}}}|round={{{length_round|}}}}}|}}
 
|data4  = {{#if:{{{length_mi|}}}{{{length_km|}}}|{{Infobox road/meta/length|{{#if:{{{length_mi|}}}|mi|km}}|length={{#if:{{{length_mi|}}}|{{{length_mi|}}}|{{{length_km|}}}}}|length_ref={{{length_ref|}}}|round={{{length_round|}}}}}|}}
|label4 = Notes:
+
|label5 = Notes:
|data4   = {{{notes|}}}
+
|data5   = {{{notes|}}}
 
|header10 = Highway names
 
|header10 = Highway names
 
|label11  = {{{label1}}}
 
|label11  = {{{label1}}}

Revision as of 03:14, 25 April 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