Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Infobox river/doc

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Joy (talk | contribs) at 16:46, 16 November 2024 (Mapframe parameters: document type default). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
{{{name}}}
{{{name_other}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1]]
{{{image_caption}}}
[[File:{{{map}}}|{{{map_size}}}|alt={{{map_alt}}}]]
{{{map_caption}}}
Lua error in Module:Location_map at line 526: Unable to find the specified location map definition: "Module:Location map/data/&" does not exist.
Etymology{{{etymology}}}
Nickname(s){{{nickname}}}
Native name{{{native_name}}} Error {{native name checker}}: parameter value is malformed (help)
Location
{{{subdivision_type1}}}{{{subdivision_name1}}}
{{{subdivision_type2}}}{{{subdivision_name2}}}
{{{subdivision_type3}}}{{{subdivision_name3}}}
{{{subdivision_type4}}}{{{subdivision_name4}}}
{{{subdivision_type5}}}{{{subdivision_name5}}}
Physical characteristics
Source{{{source1}}}
 • location{{{source1_location}}}
 • coordinates{{{source1_coordinates}}}{{{source1_coord_ref}}}
 • elevation{{{source1_elevation}}}
5th source{{{source5}}}
 • location{{{source5_location}}}
 • coordinates{{{source5_coordinates}}}{{{source5_coord_ref}}}
 • elevation{{{source5_elevation}}}
Source confluence{{{source_confluence}}}
 • location{{{source_confluence_location}}}
 • coordinates{{{source_confluence_coordinates}}}
 • elevation{{{source_confluence_elevation}}}
Mouth{{{mouth}}}
 • location
{{{mouth_location}}}
 • coordinates
{{{mouth_coordinates}}}{{{mouth_coord_ref}}}
 • elevation
{{{mouth_elevation}}}
Length{{{length}}}
Basin size{{{basin_size}}}{{{basin_size_ref}}}
Width 
 • minimum{{{width_min}}}
 • average{{{width_avg}}}
 • maximum{{{width_max}}}
Depth 
 • minimum{{{depth_min}}}
 • average{{{depth_avg}}}
 • maximum{{{depth_max}}}
Discharge 
 • location{{{discharge1_location}}}
 • average{{{discharge1_avg}}}
 • minimum{{{discharge1_min}}}
 • maximum{{{discharge1_max}}}
Discharge 
 • location{{{discharge5_location}}}
 • average{{{discharge5_avg}}}
 • minimum{{{discharge5_min}}}
 • maximum{{{discharge5_max}}}
Basin features
Progression{{{progression}}}
River system{{{river_system}}}
Landmarks{{{basin_landmarks}}}
Cities{{{city}}}
Population{{{basin_population}}}
Tributaries 
 • left{{{tributaries_left}}}
 • right{{{tributaries_right}}}
Waterbodies{{{waterbodies}}}
Waterfalls{{{waterfalls}}}
Bridges{{{bridges}}}
Inland ports{{{ports}}}
{{{custom_label}}}{{{custom_data}}}
{{{extra}}}

Usage

[edit]
{{Infobox river
| name               = 
| native_name        = <!-- {{native name|<tag>|<name>}} or {{native name list |tag1=<tag>|name1=<name> |tag2=<tag>|name2=<name> ... }} -->
| name_other         = 
| name_etymology     = 
| nickname           = 
<!---------------------- IMAGE-->
| image              = 
| image_size         = 
| image_caption      = 
| image_alt          = 
<!---------------------- MAPS -->
| map                = 
| map_size           = 
| map_caption        = 
| map_alt            = 
| pushpin_map        = 
| pushpin_map_size   = 
| pushpin_map_caption= 
| pushpin_map_alt    = 
| mapframe = yes<!-- see below for more mapframe parameters -->
<!---------------------- LOCATION -->
| subdivision_type1  = 
| subdivision_name1  = 
| subdivision_type2  = 
| subdivision_name2  = 
| subdivision_type3  = 
| subdivision_name3  = 
| subdivision_type4  = 
| subdivision_name4  = 
| subdivision_type5  = 
| subdivision_name5  = 
<!---------------------- PHYSICAL CHARACTERISTICS -->
| length             = 
| width_min          = 
| width_avg          = 
| width_max          = 
| depth_min          = 
| depth_avg          = 
| depth_max          = 
| discharge1_location= 
| discharge1_min     = 
| discharge1_avg     = 
| discharge1_max     = 
<!---------------------- BASIN FEATURES -->
| source1            = 
| source1_location   = 
| source1_coordinates= <!-- {{Coord|...}} -->
| source1_elevation  = 
| mouth              = 
| mouth_location     = 
| mouth_coordinates  = <!-- {{Coord|...|display=inline,title}} -->
| mouth_elevation    = 
| progression        = 
| river_system       = 
| basin_size         = 
| basin_landmarks    = 
| basin_population   = 
| tributaries_left   = 
| tributaries_right  = 
| waterbodies        = 
| waterfalls         = 
| bridges            = 
| ports              = 
| custom_label       = 
| custom_data        = 
| extra              = 
}}

Parameter names and descriptions

[edit]
Parameter name Description
name The common name of the river.
native_name
or name_native
The name in its official or de facto language. Use {{native name}} or, for multiple names, use {{native name list}}
name_other
or other_name
Other name(s) of the river. Use commas to enter multiple. Displayed under the infobox heading.
nickname Local name(s) for the river. Use commas to enter multiple.
name_etymology
or etymology
Person, event or other entity the body is named after
image Image filename without the File: or Image: prefix.
image_size Width of the image in pixels (i.e. 200px). Common sizes are usually around 280px to 300px.
image_caption Caption for the main image.
image_alt Alt text for the main image.
map Map image filename without the File: or Image: prefix.
map_size Width of the image in pixels (i.e. 200px). Common sizes are usually around 280px to 300px.
map_caption Caption for the map image.
map_alt Alt text for the map image.
pushpin_map The name of a location map to be used with {{location map}}, with the pin placed at the location specified by the mouth_coordinates parameter, or the value from wikidata if no mouth coordinates are provided. Manually add parameter pushpin_map_relief = 0 to disable the use of a relief location map.
pushpin_map_size The width of the location map in pixels as a raw number, without any px suffix
pushpin_map_caption Caption for the location map
pushpin_map_alt Alt text for the location map image.
pushpin_map_relief A pushpin map will be displayed in relief by default. Use pushpin_map_relief = 0 for a plain map.
mapframe A mapframe map can be enabled with this. See #Mapframe parameters below for more information.
subdivision_type1 Primary political region(s), typically Country or Countries.
subdivision_name1 Used with above. The country/ies in which the river flows in/through. Use commas for multiple.
subdivision_type2 Secondary political region(s). States, Provinces, Districts, or Regions, in which the river flows through.
subdivision_name2 Used with above. The secondary political region(s) in which the river flows through. Use commas for multiple.
subdivision_type3 Tertiary political region(s), such as the Cities along the river.
subdivision_name3 Used with above. The tertiary political region(s) through which the river flows. Use commas for multiple.
subdivision_type4 Other types of political subdivisions.
subdivision_name4 Used with above. Other political subdivisions through which the river flows. Use commas for multiple.
subdivision_type5 Other types of political subdivisions.
subdivision_name5 Used with above. Other political subdivisions through which the river flows. Use commas for multiple.
PHYSICAL CHARACTERISTICS
length The total length of the river's main stem. Consider using {{Convert|1234|km|mi|abbr=on}}
length_km Total length of the river's main stem, measured in kilometers.
length_mi Total length of the river's main stem, measured in miles.
length_ref References or other notes for length of river, used only if |length_km= or |length_mi= are used.
width_min Minimum width between banks of the river. Rarely used as it is often difficult to determine the exact source of the river. Consider using {{Convert|1234|m|ft|abbr=on}}
width_avg Average width of the river. Consider using {{Convert|1234|m|ft|abbr=on}}
width_max Maximum width of the river before the mouth. Consider using {{Convert|1234|m|ft|abbr=on}}
depth_min Minimum depth of the river. Rarely used as it is often difficult to determine the exact source of the river. Consider using {{Convert|1234|m|ft|abbr=on}}
depth_avg Average depth of the river. Consider using {{Convert|1234|m|ft|abbr=on}}
depth_max Maximum depth of the river before the mouth. Consider using {{Convert|1234|m|ft|abbr=on}}
discharge1_location Location or gauge/sensor name at which the below details are recorded. Commonly at the River mouth.
discharge1_min Minimum discharge rate. Rarely used. Consider using {{Convert|1234|m3/s|ft3/s|abbr=on}}
discharge1_avg Average discharge rate (also use if a source provides only one discharge rate without a minimum or maximum). Consider using {{Convert|1234|m3/s|ft3/s|abbr=on}}
discharge1_max Maximum discharge rate before flooding occurs in the surrounding areas. Consider using {{Convert|1234|m3/s|ft3/s|abbr=on}}
discharge2_* ⇒ 5_* Up to four more sets of discharge parameters. You may add up to discharge5_*.
BASIN FEATURES
source1 Landform or waterbody of the primary source. For a source that is a confluence, you may add as: Confluence of [[River-A]] and [[River-B]].
source1_location Political details of the source location, such as Province, District, State, etc.
source1_elevation Elevation at the main source of water
source1_coordinates Coordinates of the main source, using the {{coord}} template. Use |display=inline only.
source1_coord_ref Reference for the coordinates of the main source.
source1_length Length from the main source.
source2 ⇒ source5 Landform or waterbody of further sources. You may add up to source5. Also source2_location, source2_elevation, source2_coordinates, source2_coord_ref, source2_length etc.
mouth Landform or waterbody of the river mouth.
mouth_location Political details of the mouth location, such as Province, District, State, etc.
mouth_coordinates Coordinates of the river mouth, using the {{coord}} template. Use |display=inline,title if possible.
mouth_elevation Elevation at the river mouth.
progression Progression from the mouth of the river in the article to the sea. For example, the Pegnitz in Germany flows into the Regnitz, which flows into the Main, which flows into the Rhine, which flows into the North Sea. This is entered into the progression field with a special template {{RRegnitz}}, but could be hard-coded as [[Regnitz]]→ [[Main (river)|Main]]→ [[Rhine]]→ [[North Sea]]. These both render as RegnitzMainRhineNorth Sea in the Infobox. See Category:Drainage basin succession templates for a list of templates that can be used with this parameter.
river_system
or parent
Name of the river system.
basin_landmarks
or landmark
Popular landmarks along the river. Use commas for multiple.
basin_population Population within the river basin.
basin_size Size of the river's drainage basin. Consider using {{Convert|1234|km2|mi2|abbr=on}}
basin_size_km2 Size of the river's drainage basin, in square kilometers.
basin_size_mi2 Size of the river's drainage basin, in square miles.
tributaries_left Tributaries located on the left bank of the river flowing towards the mouth. List in order from source to mouth.
tributaries_right Tributaries located on the right bank of the river flowing towards the mouth. List in order from source to mouth.
waterbodies Water bodies located along the river (such as lakes, reservoirs, etc). List in order from source to mouth.
waterfalls Waterfalls along the river. List in order from source to mouth.
bridges Bridges along the river. List in order from source to mouth.
ports Inland ports along the river. List in order from source to mouth.
city or cities Cities along the river. List in order from source to mouth. Use city or cities, not both.
custom_label Use this to enter a custom label (such as bridges). To be used with the field below.
custom_data Custom data parameter. See above.
extra Use this parameter to add content to the very bottom of the infobox. Useful for adding maps, charts, and so on.

Mapframe parameters

[edit]
  • Basic parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: Shown (onByDefault) unless one of these parameters has a value: |map=, |pushpin_map=.
    • 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={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata
    • 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 to inverse. Default: not specified
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. 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 or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • auto – 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 parameter
      • zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 250
    • 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: #0000ff
    • 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: water
      • Can also be set to blank to override any default marker symbol
    • 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
Amazon River (dummy data)
Apurímac, Ene, Tambo, Ucayali, Amazonas, Solimões
Alt text for image
Aerial view of the Amazon River
Alt text for map
Map of the Amazon basin
Map showing the location of the river mouth in Brazil
Map showing the location of the river mouth in Brazil
Location of the mouth in Brazil
EtymologyNamed after the Amazon Rainforest
Native nameAmazonia (Portuguese)
Location
CountriesBrazil, Colombia, Peru, Ecuador
StatesLoreto (Peru);
Amazonas (Columbia);
North Region (Brazil)
CitiesIquitos (Peru); Leticia (Colombia);
Tabatinga (Brazil); Tefé (Brazil);
Itacoatiara (Brazil); Parintins (Brazil);
Óbidos (Brazil); Santarém (Brazil);
Almeirim (Brazil); Macapá (Brazil)
Physical characteristics
SourceNevado Mismi, Peru
 • locationArequipa Region
 • coordinates15°31′05″S 71°45′55″W / 15.51806°S 71.76528°W / -15.51806; -71.76528
 • elevation5,170 m (16,960 ft)
MouthAtlantic Ocean
 • location
State of Amapá, State of Pará
 • coordinates
00°42′28″S 50°05′22″W / 0.70778°S 50.08944°W / -0.70778; -50.08944
 • elevation
0 m (0 ft)
Length6,992 km (4,345 mi)
Basin size7,050,000 km2 (2,720,000 sq mi)
Width 
 • minimum4 km (2.5 mi)
 • average6 km (3.7 mi)
 • maximum8 km (5.0 mi)
Depth 
 • minimum3 m (9.8 ft)
 • average15 m (49 ft)
 • maximum30 m (98 ft)
Discharge 
 • locationSantarém, Pará
 • average209,000 m3/s (7,400,000 cu ft/s)
 • minimum109,000 m3/s (3,800,000 cu ft/s)
 • maximum309,000 m3/s (10,900,000 cu ft/s)
Basin features
ProgressionApurímacSolimõesMarañón
River systemAmazon Basin
LandmarksAmazon Arena
Population1,234,567
Tributaries 
 • left
 • right
WaterbodiesLake Lawriqucha
WaterfallsAhlfeld Waterfall
BridgesManaus–Iranduba Bridge
Inland portsPort of Manaus
Custom labelCustom data

Example

[edit]
{{Infobox river
| name               = Amazon River (dummy data)
| name_native        = {{Native name|pt|Amazonia}}
| name_other         = Apurímac, Ene, Tambo, Ucayali, Amazonas, Solimões
| name_etymology     = Named after the Amazon Rainforest
| image              = Aerial view of the Amazon Rainforest.jpg
| image_size         = 300px
| image_caption      = Aerial view of the Amazon River
| image_alt          = Alt text for image
| map                = Amazonrivermap.svg
| map_size           = 300px
| map_caption        = Map of the Amazon basin
| map_alt            = Alt text for map
| pushpin_map        = Brazil
| pushpin_map_size   = 300
| pushpin_map_caption= Location of the mouth in Brazil
| pushpin_map_alt    = Map showing the location of the river mouth in Brazil
| subdivision_type1  = Countries
| subdivision_name1  = [[Brazil]], [[Colombia]], [[Peru]], [[Ecuador]]
| subdivision_type2  = States
| subdivision_name2  = [[Loreto Region|Loreto]] (Peru);<br />[[Amazonas (Colombian department)|Amazonas]] (Columbia);<br />[[North Region, Brazil|North Region]] (Brazil)
| subdivision_type3  = Cities
| subdivision_name3  = [[Iquitos]] (Peru); [[Leticia, Amazonas|Leticia]] (Colombia);<br /> [[Tabatinga]] (Brazil); [[Tefé]] (Brazil);<br /> [[Itacoatiara, Amazonas|Itacoatiara]] (Brazil); [[Parintins]] (Brazil);<br /> [[Óbidos, Pará|Óbidos]] (Brazil); [[Santarém, Pará|Santarém]] (Brazil);<br /> [[Almeirim, Pará|Almeirim]] (Brazil); [[Macapá]] (Brazil)
<!---------------------- PHYSICAL CHARACTERISTICS -->
| length             = {{Convert|6992|km|mi|abbr=on}}
| width_min          = {{Convert|4|km|mi|abbr=on}}
| width_avg          = {{Convert|6|km|mi|abbr=on}}
| width_max          = {{Convert|8|km|mi|abbr=on}}
| depth_min          = {{Convert|3|m|ft|abbr=on}}
| depth_avg          = {{Convert|15|m|ft|abbr=on}}
| depth_max          = {{Convert|30|m|ft|abbr=on}}
| discharge1_location= [[Santarém, Pará]]
| discharge1_min     = {{Convert|109000|m3/s|ft3/s|abbr=on}}
| discharge1_avg     = {{Convert|209000|m3/s|ft3/s|abbr=on}}
| discharge1_max     = {{Convert|309000|m3/s|ft3/s|abbr=on}}
<!---------------------- BASIN FEATURES -->
| source1            = [[Nevado Mismi]], [[Peru]]
| source1_location   = [[Arequipa Region]]
| source1_coordinates= {{coord|15|31|05|S|71|45|55|W}}
| source1_elevation  = {{Convert|5170|m|ft|abbr=on}}
| mouth              = [[Atlantic Ocean]]
| mouth_location     = [[Amapá|State of Amapá]], [[Pará|State of Pará]]
| mouth_coordinates  = {{coord|00|42|28|S|50|05|22|W|display=inline,title}}
| mouth_elevation    = {{Convert|0|m|ft|abbr=on}}
| progression        = [[Apurímac River|Apurímac]][[Solimões River|Solimões]][[Marañón River|Marañón]]
| river_system       = [[Amazon Basin]]
| basin_size         = {{Convert|7050000|km2|mi2|abbr=on}}
| basin_landmarks    = [[Arena da Amazônia|Amazon Arena]]
| basin_population   = 1,234,567
| tributaries_left   = {{hlist|[[Marañón River|Marañón]]|[[Japurá River|Japurá]]|[[Rio Negro (Amazon)|Rio Negro]]|[[Putumayo River|Putumayo]]}}
| tributaries_right  = {{hlist|[[Ucayali River|Ucayali]]|[[Purus River|Purus]]|[[Madeira River|Madeira]]|[[Tapajós]]|[[Xingu River|Xingu]]}}
| waterbodies        = [[Lawriqucha|Lake Lawriqucha]]
| waterfalls         = [[Noel Kempff Mercado National Park|Ahlfeld Waterfall]]
| bridges            = [[Manaus–Iranduba Bridge]]
| ports              = [[Port of Manaus]]
| custom_label       = '''''Custom label'''''
| custom_data        = ''Custom data''
| extra              = ''(optional content at the bottom – centred)''
}}

Template Data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox river in articles based on its TemplateData.

TemplateData for Infobox river

Template Data

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
embedembed

no description

Unknownoptional
namename

no description

Unknownoptional
qidqid

no description

Unknownoptional
suppressfieldssuppressfields

no description

Unknownoptional
fetchwikidatafetchwikidata

no description

Unknownoptional
imageimage

no description

Fileoptional
image_sizeimage_size

no description

Unknownoptional
image_uprightimage_upright

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
image_captionimage_caption

no description

Unknownoptional
mapmap

no description

Unknownoptional
map_sizemap_size

no description

Unknownoptional
map_altmap_alt

no description

Unknownoptional
map_captionmap_caption

no description

Unknownoptional
mouth_coordinatesmouth_coordinates

no description

Unknownoptional
pushpin_mappushpin_map

no description

Unknownoptional
pushpin_map_altpushpin_map_alt

no description

Unknownoptional
pushpin_map_sizepushpin_map_size

no description

Unknownoptional
pushpin_map_reliefpushpin_map_relief

no description

Unknownoptional
pushpin_map_captionpushpin_map_caption

no description

Unknownoptional
name_nativename_native

no description

Unknownoptional
native_namenative_name

no description

Unknownoptional
name_othername_other

no description

Unknownoptional
other_nameother_name

no description

Unknownoptional
nicknamenickname

no description

Unknownoptional
etymologyetymology

no description

Unknownoptional
name_etymologyname_etymology

no description

Unknownoptional
subdivision_type1subdivision_type1

no description

Unknownoptional
country_typecountry_type

no description

Unknownoptional
subdivision_name1subdivision_name1

no description

Unknownoptional
countrycountry

no description

Unknownoptional
subdivision_type2subdivision_type2

no description

Unknownoptional
state_typestate_type

no description

Unknownoptional
subdivision_name2subdivision_name2

no description

Unknownoptional
statestate

no description

Unknownoptional
subdivision_type3subdivision_type3

no description

Unknownoptional
region_typeregion_type

no description

Unknownoptional
subdivision_name3subdivision_name3

no description

Unknownoptional
regionregion

no description

Unknownoptional
subdivision_type4subdivision_type4

no description

Unknownoptional
district_typedistrict_type

no description

Unknownoptional
subdivision_name4subdivision_name4

no description

Unknownoptional
districtdistrict

no description

Unknownoptional
subdivision_type5subdivision_type5

no description

Unknownoptional
municipality_typemunicipality_type

no description

Unknownoptional
subdivision_name5subdivision_name5

no description

Unknownoptional
municipalitymunicipality

no description

Unknownoptional
citiescities

no description

Unknownoptional
citycity

no description

Unknownoptional
source1source1

no description

Unknownoptional
source1_locationsource1_location

no description

Unknownoptional
source1_lengthsource1_length

no description

Unknownoptional
source1_elevationsource1_elevation

no description

Unknownoptional
source1_coordinatessource1_coordinates

no description

Unknownoptional
source1_coord_refsource1_coord_ref

no description

Unknownoptional
source2source2

no description

Unknownoptional
source2_locationsource2_location

no description

Unknownoptional
source2_lengthsource2_length

no description

Unknownoptional
source2_elevationsource2_elevation

no description

Unknownoptional
source2_coordinatessource2_coordinates

no description

Unknownoptional
source2_coord_refsource2_coord_ref

no description

Unknownoptional
source3source3

no description

Unknownoptional
source3_locationsource3_location

no description

Unknownoptional
source3_lengthsource3_length

no description

Unknownoptional
source3_elevationsource3_elevation

no description

Unknownoptional
source3_coordinatessource3_coordinates

no description

Unknownoptional
source3_coord_refsource3_coord_ref

no description

Unknownoptional
source4source4

no description

Unknownoptional
source4_locationsource4_location

no description

Unknownoptional
source4_lengthsource4_length

no description

Unknownoptional
source4_elevationsource4_elevation

no description

Unknownoptional
source4_coordinatessource4_coordinates

no description

Unknownoptional
source4_coord_refsource4_coord_ref

no description

Unknownoptional
source5source5

no description

Unknownoptional
source5_locationsource5_location

no description

Unknownoptional
source5_lengthsource5_length

no description

Unknownoptional
source5_elevationsource5_elevation

no description

Unknownoptional
source5_coordinatessource5_coordinates

no description

Unknownoptional
source5_coord_refsource5_coord_ref

no description

Unknownoptional
source_confluencesource_confluence

no description

Unknownoptional
source_confluence_locationsource_confluence_location

no description

Unknownoptional
source_confluence_elevationsource_confluence_elevation

no description

Unknownoptional
source_confluence_coordinatessource_confluence_coordinates

no description

Unknownoptional
source_confluence_coord_refsource_confluence_coord_ref

no description

Unknownoptional
mouthmouth

no description

Unknownoptional
mouth_locationmouth_location

no description

Unknownoptional
mouth_elevationmouth_elevation

no description

Unknownoptional
mouth_elevation_metricmouth_elevation_metric

no description

Unknownoptional
mouth_elevation_imperialmouth_elevation_imperial

no description

Unknownoptional
mouth_coord_refmouth_coord_ref

no description

Unknownoptional
lengthlength

no description

Unknownoptional
length_metriclength_metric

no description

Unknownoptional
length_imperiallength_imperial

no description

Unknownoptional
width_minwidth_min

no description

Unknownoptional
width_min_metricwidth_min_metric

no description

Unknownoptional
width_min_imperialwidth_min_imperial

no description

Unknownoptional
width_avgwidth_avg

no description

Unknownoptional
width_avg_metricwidth_avg_metric

no description

Unknownoptional
width_avg_imperialwidth_avg_imperial

no description

Unknownoptional
width_maxwidth_max

no description

Unknownoptional
width_max_metricwidth_max_metric

no description

Unknownoptional
width_max_imperialwidth_max_imperial

no description

Unknownoptional
depth_mindepth_min

no description

Unknownoptional
depth_avgdepth_avg

no description

Unknownoptional
depth_maxdepth_max

no description

Unknownoptional
discharge1_locationdischarge1_location

no description

Unknownoptional
discharge1_mindischarge1_min

no description

Unknownoptional
discharge1_avgdischarge1_avg

no description

Unknownoptional
discharge1_maxdischarge1_max

no description

Unknownoptional
discharge1discharge1

no description

Unknownoptional
discharge1_min_metricdischarge1_min_metric

no description

Unknownoptional
discharge1_min_imperialdischarge1_min_imperial

no description

Unknownoptional
discharge1_avg_metricdischarge1_avg_metric

no description

Unknownoptional
discharge1_avg_imperialdischarge1_avg_imperial

no description

Unknownoptional
discharge1_max_metricdischarge1_max_metric

no description

Unknownoptional
discharge1_max_imperialdischarge1_max_imperial

no description

Unknownoptional
discharge2discharge2

no description

Unknownoptional
discharge2_locationdischarge2_location

no description

Unknownoptional
discharge2_mindischarge2_min

no description

Unknownoptional
discharge2_avgdischarge2_avg

no description

Unknownoptional
discharge2_maxdischarge2_max

no description

Unknownoptional
discharge3discharge3

no description

Unknownoptional
discharge3_locationdischarge3_location

no description

Unknownoptional
discharge3_mindischarge3_min

no description

Unknownoptional
discharge3_avgdischarge3_avg

no description

Unknownoptional
discharge3_maxdischarge3_max

no description

Unknownoptional
discharge4discharge4

no description

Unknownoptional
discharge4_locationdischarge4_location

no description

Unknownoptional
discharge4_mindischarge4_min

no description

Unknownoptional
discharge4_avgdischarge4_avg

no description

Unknownoptional
discharge4_maxdischarge4_max

no description

Unknownoptional
discharge5discharge5

no description

Unknownoptional
discharge5_locationdischarge5_location

no description

Unknownoptional
discharge5_mindischarge5_min

no description

Unknownoptional
discharge5_avgdischarge5_avg

no description

Unknownoptional
discharge5_maxdischarge5_max

no description

Unknownoptional
progressionprogression

no description

Unknownoptional
river_systemriver_system

no description

Unknownoptional
basin_sizebasin_size

no description

Unknownoptional
basin_landmarksbasin_landmarks

no description

Unknownoptional
basin_populationbasin_population

no description

Unknownoptional
tributaries_lefttributaries_left

no description

Unknownoptional
tributaries_righttributaries_right

no description

Unknownoptional
waterbodieswaterbodies

no description

Unknownoptional
waterfallswaterfalls

no description

Unknownoptional
bridgesbridges

no description

Unknownoptional
portsports

no description

Unknownoptional
landmarklandmark

no description

Unknownoptional
custom_datacustom_data

no description

Unknownoptional
parentparent

no description

Unknownoptional
custom_labelcustom_label

no description

Unknownoptional
extraextra

no description

Unknownoptional
Show mapframe mapmapframe

Specify yes or no to show or hide the map, overriding the default

Default
no
Example
yes
Stringsuggested
Mapframe captionmapframe-caption

Caption for the map. If mapframe-geomask is set, then the default is "Location in <<geomask's label>>"

Stringoptional
Custom mapframemapframe-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, other mapframe parameters will be ignored.

Templateoptional
Mapframe Wikidata itemmapframe-id id qid

Id (Q-number) of Wikidata item to use.

Default
(item for current page)
Stringoptional
Mapframe coordinates mapframe-coordinates mapframe-coord coordinates coord

Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.

Default
(coordinates from Wikidata)
Example
{{Coord|12.34|N|56.78|E}}
Templateoptional
Mapframe shapes from Wikidatamapframe-wikidata

et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter

Example
yes
Stringoptional
Mapframe shape featuremapframe-shape

Override display of mapframe shape feature. Turn off by setting to "none". Use an inverse shape (geomask) instead of a regular shape by setting to "inverse"

Stringoptional
Mapframe point featuremapframe-point

Override display of mapframe point feature. Turn off display of point feature by setting to "none". Force point marker to be displayed by setting to "on"

Stringoptional
Mapframe geomaskmapframe-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, or P131 for located in the administrative territorial entity)

Example
Q100
Page nameoptional
Mapframe switchermapframe-switcher

Set to "auto" or "geomasks" or "zooms" to enable Template:Switcher-style switching between multiple mapframes. IF SET TO auto – 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. IF SET TO geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter. IF SET TO zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average.

Stringoptional
Mapframe widthmapframe-frame-width mapframe-width

Frame width in pixels

Default
270
Numberoptional
Mapframe heightmapframe-frame-height mapframe-height

Frame height in pixels

Default
200
Numberoptional
Mapframe shape fillmapframe-shape-fill

Color used to fill shape features

Default
#606060
Stringoptional
Mapframe shape fill opacitymapframe-shape-fill-opacity

Opacity level of shape fill, a number between 0 and 1

Default
0.5
Numberoptional
Mapframe stroke colormapframe-stroke-color mapframe-stroke-colour

Color of line features, and outlines of shape features

Default
#ff0000
Stringoptional
Mapframe stroke widthmapframe-stroke-width

Width of line features, and outlines of shape features

Default
5
Numberoptional
Mapframe markermapframe-marker

Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options

Example
museum
Stringoptional
Mapframe marker colormapframe-marker-color mapframe-marker-colour

Background color for the marker

Default
#5E74F3
Stringoptional
Mapframe geomask stroke colormapframe-geomask-stroke-color mapframe-geomask-stroke-colour

Color of outline of geomask shape

Default
#555555
Stringoptional
Mapframe geomask stroke widthmapframe-geomask-stroke-width

Width of outline of geomask shape

Default
2
Numberoptional
Mapframe geomask fillmapframe-geomask-fill

Color used to fill outside geomask features

Default
#606060
Stringoptional
Mapframe geomask fill opacitymapframe-geomask-fill-opacity

Opacity level of fill outside geomask features, a number between 0 and 1

Default
0.5
Numberoptional
Mapframe zoommapframe-zoom

Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area

Default
10
Example
12
Numberoptional
Mapframe length (km)mapframe-length_km

Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe length (mi)mapframe-length_mi

Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe area (km^2)mapframe-area_km2

Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe area (mi^2)mapframe-area_mi2

Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe frame coordinatesmapframe-frame-coordinates mapframe-frame-coord

Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}

Example
{{Coord|12.35|N|56.71|E}}
Templateoptional
mapframe-linemapframe-line

no description

Unknownoptional

Subtemplates

[edit]

Tracking categories

[edit]