Difference between revisions of "Template:Infobox highway system/doc"
Jump to navigation
Jump to search
imported>Izkala (ce) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
Copy and paste the following code below: | Copy and paste the following code below: | ||
| − | {{Parameter names example|title|markers|caption|map|map_alt|map_notes|header_color|country|state|province|type|subtype|header_type|maint|formed|length_mi=|length_km=0|notes|length_ref|length_round|established|label1|field1|label2|field2|label3|field3|label4|field4|label5|field5|label6|field6|system|county|route}} | + | {{Parameter names example|title|markers|caption|map|map_alt|map_notes|header_color|country|state|province|type|subtype|header_type|maint|formed|length_mi=|length_km=0|notes|length_ref|length_round=0|established|label1|field1|label2|field2|label3|field3|label4|field4|label5|field5|label6|field6|system|county|route}} |
<pre style="overflow: auto;"> | <pre style="overflow: auto;"> | ||
{{Infobox highway system | {{Infobox highway system | ||
| Line 33: | Line 33: | ||
* '''notes:''' Additional information about the highway system. | * '''notes:''' Additional information about the highway system. | ||
*'''country''', '''state''', or '''province:''' just as with {{tl|infobox road}}, but used to display the appropriate links at the bottom of the infobox. | *'''country''', '''state''', or '''province:''' just as with {{tl|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. | **'''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. | * '''field1–6''' Optional. Allows up to six additional types of highways to be added to the list. | ||
| Line 41: | Line 41: | ||
*{{tl|infobox road}}, an infobox for individual routes | *{{tl|infobox road}}, an infobox for individual routes | ||
*{{tl|infobox state highway system}}, an infobox for systems in the US or Canada}} | *{{tl|infobox state highway system}}, an infobox for systems in the US or Canada}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Highway infobox templates|*]] | [[Category:Highway infobox templates|*]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 19:39, 25 April 2020
| 40px | This is a documentation subpage for Template:Infobox highway system. It contains usage information, categories and other content that is not part of the original template page. |
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}}