Difference between revisions of "Template:Infobox highway system"
Jump to navigation
Jump to search
imported>Imzadi1979 m (→top: fix) |
imported>Imzadi1979 m (dropping colons at the end of labels for consistency with other infoboxes) |
||
| Line 9: | Line 9: | ||
|header1 = {{#if:{{{maint|}}}{{{formed|}}}{{{length_mi|}}}{{{length_km|}}}{{{notes|}}}|System information|}} | |header1 = {{#if:{{{maint|}}}{{{formed|}}}{{{length_mi|}}}{{{length_km|}}}{{{notes|}}}|System information|}} | ||
|data2= {{#if:{{{maint|}}}|Maintained by {{{maint}}}|}} | |data2= {{#if:{{{maint|}}}|Maintained by {{{maint}}}|}} | ||
| − | |label3 = Length | + | |label3 = Length |
|data3 = {{#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|}}}}}|}} | |data3 = {{#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 = Formed | + | |label4 = Formed |
|data4 = {{{formed|{{{established|}}}}}} | |data4 = {{{formed|{{{established|}}}}}} | ||
| − | |label5 = Notes | + | |label5 = Notes |
|data5 = {{{notes|}}} | |data5 = {{{notes|}}} | ||
|header10 = Highway names | |header10 = Highway names | ||
Latest revision as of 04:28, 20 February 2018
| Highway names |
|---|
[[Category:Infobox templates|Template:Remove first word]]
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
- {{infobox road}}, an infobox for individual routes
- {{infobox state highway system}}, an infobox for systems in the US or Canada}}
| The above documentation is transcluded from Template:Infobox highway system/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |