Template:Infobox highway system/doc: Difference between revisions
m (syntaxhighlight lang="wikitext") |
m (1 revision imported) |
(No difference)
|
Latest revision as of 03:19, 15 February 2024
File:Edit-copy green.svg | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
Usage
Copy and paste the following code below:
{{{title}}} | |
---|---|
{{{translation}}} | |
{{{markers}}} | |
[[File:{{{map}}}|frameless|alt={{{map_alt}}}]] | |
System information | |
Maintained by {{{maint}}} | |
Length | 0 km{{{length_ref}}} (0 mi; 0 ft) |
Formed | {{{formed}}} |
Notes | {{{notes}}} |
Highway names | |
{{{label1}}} | {{{field1}}} |
{{{label2}}} | {{{field2}}} |
{{{label3}}} | {{{field3}}} |
{{{label4}}} | {{{field4}}} |
{{{label5}}} | {{{field5}}} |
{{{label6}}} | {{{field6}}} |
System links | |
<syntaxhighlight lang="wikitext" style="overflow: auto;">
Highway names |
---|
</syntaxhighlight>
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}}