This is a documentation subpage for Template:Infobox canal. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
edit{{{name}}} | |||||
---|---|---|---|---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |||||
[[File:{{{map}}}|{{{map_size}}}|alt={{{map_alt}}}]] | |||||
Location | {{{location}}} | ||||
Country | {{{country}}} | ||||
Coordinates | {{{coordinates}}} | ||||
Specifications | |||||
Length | 1 km (0.62 miles) (originally 1 km or 0.62 mi) ({{{length_note}}}) | ||||
Lock length | 1 km (0.62 miles) (originally 1 km or 0.62 mi) ({{{lock_length_note}}}) | ||||
Lock width | 1 m (3.3 ft) (originally 1 m or 3.3 ft) ({{{lock_width_note}}}) | ||||
Maximum boat length | 1 m (3 ft 3.37 in) (originally 1 m or 3 ft 3.37 in) ({{{len_note}}}) | ||||
Maximum boat beam | 1 m (3 ft 3.4 in) (originally 1 m or 3 ft 3.4 in) ({{{beam_note}}}) | ||||
Maximum boat draft | {{{max_boat_draft}}} | ||||
Minimum boat draft | {{{min_boat_draft}}} | ||||
Maximum boat air draft | {{{max_boat_air_draft}}} | ||||
Minimum boat air draft | {{{min_boat_air_draft}}} | ||||
Locks | {{{locks}}} (originally {{{original_num_locks}}}) ({{{lock_note}}}) | ||||
Number of lifts | {{{current_num_lifts}}} | ||||
Maximum height above sea level | 1 m (3.3 ft) ({{{elev_note}}}) | ||||
Minimum height above sea level | 1 m (3.3 ft) ({{{min_elev_note}}}) | ||||
Total rise | {{{total_rise}}} | ||||
Status | {{{status}}} | ||||
Navigation authority | {{{navigation_authority}}} | ||||
{{{xfield1}}} | {{{xvalue1}}} | ||||
History | |||||
Former names | {{{former_names}}} | ||||
Modern name | {{{modern_name}}} | ||||
Current owner | {{{present_owner}}} | ||||
Original owner | {{{original_owner}}} | ||||
Principal engineer | {{{engineer}}} | ||||
Other engineer(s) | {{{other_engineer}}} | ||||
Date approved | {{{date_approved}}} | ||||
Date of act | {{{date_act}}} | ||||
Construction began | {{{date_began}}} | ||||
Date of first use | {{{date_use}}} | ||||
Date completed | {{{date_completed}}} | ||||
Date extended | {{{date_extended}}} | ||||
Date closed | {{{date_closed}}} | ||||
Date restored | {{{date_restored}}} | ||||
{{{xfield2}}} | {{{xvalue2}}} | ||||
Geography | |||||
Direction | {{{direction}}} | ||||
Start point | {{{start_point}}} (originally {{{original_start}}}) ({{{start_note}}}) | ||||
End point | {{{end_point}}} (originally {{{original_end}}}) ({{{end_note}}}) | ||||
Beginning coordinates | {{{begin_coord}}} | ||||
Ending coordinates | {{{end_coord}}} | ||||
Branch(es) | {{{branch}}} | ||||
Branch of | {{{branch_of}}} | ||||
Connects to | {{{connects_to}}} | ||||
{{{xfield3}}} | {{{xvalue3}}} | ||||
{{{module}}} | |||||
|
{{Infobox canal
| name =
<!------------------------- IMAGE -->
| image =
| image_size =
| alt =
| image_caption =
<!------------------------- MAP -->
| map =
| map_size =
| map_alt =
| map_caption =
| pushpin_map =
| pushpin_map_alt =
| pushpin_map_size =
| pushpin_map_relief =
| pushpin_map_caption =
| mapframe = <!-- "yes" to show an interactive map -->
<!------------------------- LOCATION -->
| location =
| country =
| coordinates =
<!------------------------- SPECIFICATIONS -->
| length_mi =
| length_km =
| lock_length_mi =
| lock_length_km =
| lock_length =
| lock_width_m =
| lock_width_ft =
| len_ft =
| len_m =
| max_boat_length =
| beam_ft =
| beam_m =
| max_boat_beam =
| max_boat_draft =
| min_boat_draft =
| max_boat_air_draft =
| min_boat_air_draft =
| locks =
| current_num_locks =
| original_num_locks =
| current_num_lifts =
| elev_ft =
| elev_m =
| max_elev =
| min_elev_ft =
| min_elev_m =
| min_elev =
| total_rise =
| status =
| navigation_authority =
| original_length_km =
| original_length_mi =
| length_note =
| original_lock_length_km =
| original_lock_length_mi =
| lock_length_note =
| original_lock_width_m =
| original_lock_width_ft =
| lock_width_note =
| lock_width =
| len_in =
| original_boat_length_m =
| original_boat_length_ft =
| original_boat_length_in =
| len_note =
| beam_in =
| original_beam_m =
| original_beam_ft =
| original_beam_in =
| beam_note =
| lock_note =
| elev_note =
| min_elev_note =
| xfield1 =
| xvalue1 =
<!------------------------- HISTORY -->
| former_names =
| modern_name =
| present_owner =
| original_owner =
| engineer =
| other_engineer =
| date_approved =
| date_act =
| date_began =
| date_use =
| date_completed =
| date_extended =
| date_closed =
| date_restored =
| xvalue2 =
| xfield2 =
<!------------------------- GEOGRAPHY -->
| direction =
| begin_coord =
| end_coord =
| branch =
| branch_of =
| connects_to =
| start_point =
| original_start =
| start_note =
| end_point =
| original_end =
| end_note =
| xfield3 =
| xvalue3 =
| module =
| routemap =
| routemap_state =
| routemap_name =
}}
Mapframe maps
edit- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- mapframe-caption – Caption for the map. Default: blank (or if
|mapframe-geomask=
is set, "Location in geomask's label") - mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a
{{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified - mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
- mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to
yes
to show shape/line features from the wikidata item, if any, when|coord=
is set. Default: not specified
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to
none
. Use an inverse shape (geomask) instead of a regular shape by setting toinverse
. Default: not specified - mapframe-point – Turn off display of point feature by setting to
none
. Force point marker to be displayed by setting toon
. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none
. Default: not specified - mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g.
P17
for country (P17),P131
for located in the administrative territorial entity (P131)). Default: not specified - mapframe-switcher – set to
auto
orgeomasks
orzooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto
– switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of3
), "zoomed out" is1
, and "zoomed midway" is the average
- mapframe-shape – Turn off display of shape feature by setting to
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 270
- mapframe-frame-height or mapframe-height – Frame height. Default: 200
- mapframe-shape-fill – Color used to fill shape features. Default: #606060
- mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
- Can also be set to
blank
to override any default marker symbol
- Can also be set to
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
- mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
- mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
- mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
- mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
- mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
- mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
Tracking category
editTemplate Data
editTemplateData for Infobox canal
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No description.
|