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

From blackwiki
Jump to navigation Jump to search
imported>Imzadi1979
(removing randomization; it strikes me as a gimmick to avoid normal editorial processes to handle which graphics to display)
imported>Imzadi1979
m (dropping colons at the end of labels for consistency with other infoboxes)
Line 9: Line 9:
 
|header1 = {{#if:{{{formed|}}}{{{length_mi|}}}{{{length_km|}}}{{{notes|}}}{{{maint|}}}|System information|}}
 
|header1 = {{#if:{{{formed|}}}{{{length_mi|}}}{{{length_km|}}}{{{notes|}}}{{{maint|}}}|System information|}}
 
|data2= {{#if:{{{maint|}}}|Maintained by {{{maint}}}|}}
 
|data2= {{#if:{{{maint|}}}|Maintained by {{{maint}}}|}}
|label3  = Length:
+
|label3  = Length
 
|data3  = {{#invoke:Infobox road/length|length}}
 
|data3  = {{#invoke:Infobox road/length|length}}
|label4  = Formed:
+
|label4  = Formed
 
|data4  = {{{formed|{{{established|}}}}}}
 
|data4  = {{{formed|{{{established|}}}}}}
|label5  = Notes:
+
|label5  = Notes
 
|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|Interstate]]s:
+
|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]]
 
|data12  = {{{us|}}}
 
|data12  = {{{us|}}}
|label13  = [[State highway|State]]:
+
|label13  = [[State highway|State]]
 
|data13  = {{{state|}}}
 
|data13  = {{{state|}}}
 
|label14  = {{{label1}}}
 
|label14  = {{{label1}}}

Revision as of 04:27, 20 February 2018

Template:Pp-semi-template

[[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 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

es:Plantilla:Ficha de sistema de vías de transporte simple:Template:Infobox state highway system