Template:Infobox river/doc: Difference between revisions

wiki>Zackmann08
 
Remove unsupported imported template links from documentation
 
(6 intermediate revisions by 2 users not shown)
Line 86: Line 86:
|-
|-
! scope="row" | '''name'''
! scope="row" | '''name'''
| The [[WP:COMMONNAME|common name]] of the river.
| The common name of the river.
|-
|-
! scope="row" | '''native_name'''<br> or '''name_native'''
! scope="row" | '''native_name'''<br> or '''name_native'''
Line 110: Line 110:
|-
|-
! scope="row" | '''image_alt'''
! scope="row" | '''image_alt'''
| [[Wikipedia:Alternative text for images|Alt text]] for the main image.
| Alt text for the main image.
|-
|-
! scope="row" | '''map'''
! scope="row" | '''map'''
Line 122: Line 122:
|-
|-
! scope="row" | '''map_alt'''
! scope="row" | '''map_alt'''
| [[Wikipedia:Alternative text for images|Alt text]] for the map image.
| Alt text for the map image.
|-
|-
! scope="row" | '''pushpin_map'''
! scope="row" | '''pushpin_map'''
Line 134: Line 134:
|-
|-
! scope="row" | '''pushpin_map_alt'''
! scope="row" | '''pushpin_map_alt'''
| [[Wikipedia:Alternative text for images|Alt text]] for the location map image.
| Alt text for the location map image.
|-
|-
! scope="row" | '''pushpin_map_relief'''
! scope="row" | '''pushpin_map_relief'''
Line 175: Line 175:
|-
|-
! scope="row" | '''length'''
! scope="row" | '''length'''
| The total length of the river's [[main stem]]. Consider using '''<code><nowiki>{{</nowiki>[[Template:Convert|Convert]]|1234|km|mi|abbr=on<nowiki>}}</nowiki></code>'''
| The total length of the river's main stem. Consider using '''<code><nowiki>{{</nowiki>[[Template:Convert|Convert]]|1234|km|mi|abbr=on<nowiki>}}</nowiki></code>'''
|-
|-
! scope="row" | '''length_km'''
! scope="row" | '''length_km'''
Line 193: Line 193:
|-
|-
! scope="row" | '''width_max'''
! scope="row" | '''width_max'''
| Maximum width of the river before the [[river mouth|mouth]]. Consider using '''<code><nowiki>{{</nowiki>[[Template:Convert|Convert]]|1234|m|ft|abbr=on<nowiki>}}</nowiki></code>'''
| Maximum width of the river before the mouth. Consider using '''<code><nowiki>{{</nowiki>[[Template:Convert|Convert]]|1234|m|ft|abbr=on<nowiki>}}</nowiki></code>'''
|-
|-
! scope="row" | '''depth_min'''
! scope="row" | '''depth_min'''
Line 202: Line 202:
|-
|-
! scope="row" | '''depth_max'''
! scope="row" | '''depth_max'''
| Maximum depth of the river before the [[river mouth|mouth]]. Consider using '''<code><nowiki>{{</nowiki>[[Template:Convert|Convert]]|1234|m|ft|abbr=on<nowiki>}}</nowiki></code>'''
| Maximum depth of the river before the mouth. Consider using '''<code><nowiki>{{</nowiki>[[Template:Convert|Convert]]|1234|m|ft|abbr=on<nowiki>}}</nowiki></code>'''
|-
|-
! scope="row" | '''discharge1_location'''
! scope="row" | '''discharge1_location'''
Line 222: Line 222:
|-
|-
! scope="row" | '''source1'''
! scope="row" | '''source1'''
| Landform or waterbody of the primary source. For a source that is a [[confluence]], you may add as: <code><nowiki>Confluence of [[River-A]] and [[River-B]]</nowiki></code>.
| Landform or waterbody of the primary source. For a source that is a confluence, you may add as: <code><nowiki>Confluence of River-A and River-B</nowiki></code>.
|-
|-
! scope="row" | '''source1_location'''
! scope="row" | '''source1_location'''
Line 243: Line 243:
|-
|-
! scope="row" | '''mouth'''
! scope="row" | '''mouth'''
| Landform or waterbody of the [[river mouth]].
| Landform or waterbody of the river mouth.
|-
|-
! scope="row" | '''mouth_location'''
! scope="row" | '''mouth_location'''
Line 255: Line 255:
|-
|-
! scope="row" | '''progression'''
! scope="row" | '''progression'''
| Progression from the mouth of the river in the article to the sea. For example, the [[Pegnitz (river)|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 {{tl|RRegnitz}}, but could be hard-coded as <code><nowiki>[[Regnitz]]→ [[Main (river)|Main]]→ [[Rhine]]→ [[North Sea]]</nowiki></code>. These both render as [[Regnitz]]→ [[Main (river)|Main]]→ [[Rhine]]→ [[North Sea]] in the Infobox. See {{Cl|Drainage basin succession templates}} for a list of templates that can be used with this parameter.
| 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 <code>Template:RRegnitz</code>, but could be hard-coded as <code><nowiki>Regnitz→ Main→ Rhine→ North Sea</nowiki></code>. These both render as Regnitz→ Main→ Rhine→ North Sea in the Infobox. See {{Cl|Drainage basin succession templates}} for a list of templates that can be used with this parameter.
|-
|-
! scope="row" | '''river_system'''<br> or '''parent'''
! scope="row" | '''river_system'''<br> or '''parent'''
| Name of the [[Drainage system (geomorphology)|river system]].
| Name of the river system.
|-
|-
! scope="row" | '''basin_landmarks'''<br> or '''landmark'''
! scope="row" | '''basin_landmarks'''<br> or '''landmark'''
Line 267: Line 267:
|-
|-
! scope="row" | '''basin_size'''
! scope="row" | '''basin_size'''
| Size of the river's [[drainage basin]]. Consider using '''<code><nowiki>{{</nowiki>[[Template:Convert|Convert]]|1234|km2|mi2|abbr=on<nowiki>}}</nowiki></code>'''
| Size of the river's drainage basin. Consider using '''<code><nowiki>{{</nowiki>[[Template:Convert|Convert]]|1234|km2|mi2|abbr=on<nowiki>}}</nowiki></code>'''
|-
|-
! scope="row" | '''basin_size_km2'''
! scope="row" | '''basin_size_km2'''
Line 276: Line 276:
|-
|-
! scope="row" | '''tributaries_left'''
! scope="row" | '''tributaries_left'''
| [[Tributary|Tributaries]] located on the left bank of the river flowing towards the mouth. List in order from source to mouth.
| Tributaries located on the left bank of the river flowing towards the mouth. List in order from source to mouth.
|-
|-
! scope="row" | '''tributaries_right'''
! scope="row" | '''tributaries_right'''
| [[Tributary|Tributaries]] located on the right bank of the river flowing towards the mouth. List in order from source to mouth.
| Tributaries located on the right bank of the river flowing towards the mouth. List in order from source to mouth.
|-
|-
! scope="row" | '''waterbodies'''
! scope="row" | '''waterbodies'''
Line 285: Line 285:
|-
|-
! scope="row" | '''waterfalls'''
! scope="row" | '''waterfalls'''
| [[Waterfall]]s along the river. List in order from source to mouth.
| Waterfalls along the river. List in order from source to mouth.
|-
|-
! scope="row" | '''bridges'''
! scope="row" | '''bridges'''
| [[Bridge]]s along the river. List in order from source to mouth.
| Bridges along the river. List in order from source to mouth.
|-
|-
! scope="row" | '''ports'''
! scope="row" | '''ports'''
| [[Inland port]]s along the river. List in order from source to mouth.
| Inland ports along the river. List in order from source to mouth.
|-
|-
! scope="row" | '''city''' or '''cities'''
! scope="row" | '''city''' or '''cities'''
Line 327: Line 327:
| name_etymology    = Named after the Amazon Rainforest
| name_etymology    = Named after the Amazon Rainforest
| image = Amazon River ESA387332.jpg
| image = Amazon River ESA387332.jpg
| image_caption = Satellite image of the [[Amazon Delta]]
| image_caption = Satellite image of the Amazon Delta
| image_alt          = Alt text for image
| image_alt          = Alt text for image
| map                = Amazonrivermap.svg
| map                = Amazonrivermap.svg
Line 338: Line 338:
| mapframe-id = Q3783
| mapframe-id = Q3783
| subdivision_type1  = Countries
| subdivision_type1  = Countries
| subdivision_name1  = [[Brazil]], [[Colombia]], [[Peru]], [[Ecuador]]
| subdivision_name1  = Brazil, Colombia, Peru, Ecuador
| subdivision_type2  = States
| subdivision_type2  = States
| subdivision_name2  = [[Loreto Region|Loreto]] (Peru);<br />[[Amazonas (Colombian department)|Amazonas]] (Columbia);<br />[[North Region, Brazil|North Region]] (Brazil)
| subdivision_name2  = Loreto (Peru);<br />Amazonas (Columbia);<br />North Region (Brazil)
| subdivision_type3  = Cities
| 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)
| subdivision_name3  = Iquitos (Peru); Leticia (Colombia);<br /> Tabatinga (Brazil); Tefé (Brazil);<br /> Itacoatiara (Brazil); Parintins (Brazil);<br /> Óbidos (Brazil); Santarém (Brazil);<br /> Almeirim (Brazil); Macapá (Brazil)
<!---------------------- PHYSICAL CHARACTERISTICS -->
<!---------------------- PHYSICAL CHARACTERISTICS -->
| length_km          = 6992
| length_km          = 6992
Line 351: Line 351:
| depth_avg          = {{Convert|15|m|ft|abbr=on}}
| depth_avg          = {{Convert|15|m|ft|abbr=on}}
| depth_max          = {{Convert|30|m|ft|abbr=on}}
| depth_max          = {{Convert|30|m|ft|abbr=on}}
| discharge1_location= [[Santarém, Pará]]
| discharge1_location= Santarém, Pará
| discharge1_min    = {{Convert|109000|m3/s|ft3/s|abbr=on}}
| discharge1_min    = {{Convert|109000|m3/s|ft3/s|abbr=on}}
| discharge1_avg    = {{Convert|209000|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}}
| discharge1_max    = {{Convert|309000|m3/s|ft3/s|abbr=on}}
<!---------------------- BASIN FEATURES -->
<!---------------------- BASIN FEATURES -->
| source1            = [[Nevado Mismi]], [[Peru]]
| source1            = Nevado Mismi, Peru
| source1_location  = [[Arequipa Region]]
| source1_location  = Arequipa Region
| source1_coordinates= {{coord|15|31|05|S|71|45|55|W}}
| source1_coordinates= {{coord|15|31|05|S|71|45|55|W}}
| source1_elevation  = {{Convert|5170|m|ft|abbr=on}}
| source1_elevation  = {{Convert|5170|m|ft|abbr=on}}
| mouth              = [[Atlantic Ocean]]
| mouth              = Atlantic Ocean
| mouth_location    = [[Amapá|State of Amapá]], [[Pará|State of Pará]]
| mouth_location    = State of Amapá, State of Pará
| mouth_coordinates  = {{coord|00|42|28|S|50|05|22|W}}
| mouth_coordinates  = {{coord|00|42|28|S|50|05|22|W}}
| mouth_elevation    = {{Convert|0|m|ft|abbr=on}}
| mouth_elevation    = {{Convert|0|m|ft|abbr=on}}
| progression        = [[Apurímac River|Apurímac]]—[[Solimões River|Solimões]]—[[Marañón River|Marañón]]
| progression        = Apurímac—Solimões—Marañón
| river_system      = [[Amazon Basin]]
| river_system      = Amazon Basin
| basin_size_km2    = 7050000
| basin_size_km2    = 7050000
| basin_landmarks    = [[Arena da Amazônia|Amazon Arena]]
| basin_landmarks    = Amazon Arena
| basin_population  = 1,234,567
| 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_left  = {{hlist|Marañón|Japurá|Rio Negro|Putumayo}}
| tributaries_right  = {{hlist|[[Ucayali River|Ucayali]]|[[Purus River|Purus]]|[[Madeira River|Madeira]]|[[Tapajós]]|[[Xingu River|Xingu]]}}
| tributaries_right  = {{hlist|Ucayali|Purus|Madeira|Tapajós|Xingu}}
| waterbodies        = [[Lawriqucha|Lake Lawriqucha]]
| waterbodies        = Lake Lawriqucha
| waterfalls        = [[Noel Kempff Mercado National Park|Ahlfeld Waterfall]]
| waterfalls        = Ahlfeld Waterfall
| bridges            = [[Manaus–Iranduba Bridge]]
| bridges            = Manaus–Iranduba Bridge
| ports              = [[Port of Manaus]]
| ports              = Port of Manaus
| custom_label      = '''''Custom label'''''
| custom_label      = '''''Custom label'''''
| custom_data        = ''Custom data''
| custom_data        = ''Custom data''
Line 387: Line 387:
| name_etymology    = Named after the Amazon Rainforest
| name_etymology    = Named after the Amazon Rainforest
| image = Amazon River ESA387332.jpg
| image = Amazon River ESA387332.jpg
| image_caption = Satellite image of the [[Amazon Delta]]
| image_caption = Satellite image of the Amazon Delta
| image_alt          = Alt text for image
| image_alt          = Alt text for image
| map                = Amazonrivermap.svg
| map                = Amazonrivermap.svg
Line 397: Line 397:
| mapframe = yes
| mapframe = yes
| subdivision_type1  = Countries
| subdivision_type1  = Countries
| subdivision_name1  = [[Brazil]], [[Colombia]], [[Peru]], [[Ecuador]]
| subdivision_name1  = Brazil, Colombia, Peru, Ecuador
| subdivision_type2  = States
| subdivision_type2  = States
| subdivision_name2  = [[Loreto Region|Loreto]] (Peru);<br />[[Amazonas (Colombian department)|Amazonas]] (Columbia);<br />[[North Region, Brazil|North Region]] (Brazil)
| subdivision_name2  = Loreto (Peru);<br />Amazonas (Columbia);<br />North Region (Brazil)
| subdivision_type3  = Cities
| 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)
| subdivision_name3  = Iquitos (Peru); Leticia (Colombia);<br /> Tabatinga (Brazil); Tefé (Brazil);<br /> Itacoatiara (Brazil); Parintins (Brazil);<br /> Óbidos (Brazil); Santarém (Brazil);<br /> Almeirim (Brazil); Macapá (Brazil)
<!---------------------- PHYSICAL CHARACTERISTICS -->
<!---------------------- PHYSICAL CHARACTERISTICS -->
| length_km          = 6992
| length_km          = 6992
Line 410: Line 410:
| depth_avg          = {{Convert|15|m|ft|abbr=on}}
| depth_avg          = {{Convert|15|m|ft|abbr=on}}
| depth_max          = {{Convert|30|m|ft|abbr=on}}
| depth_max          = {{Convert|30|m|ft|abbr=on}}
| discharge1_location= [[Santarém, Pará]]
| discharge1_location= Santarém, Pará
| discharge1_min    = {{Convert|109000|m3/s|ft3/s|abbr=on}}
| discharge1_min    = {{Convert|109000|m3/s|ft3/s|abbr=on}}
| discharge1_avg    = {{Convert|209000|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}}
| discharge1_max    = {{Convert|309000|m3/s|ft3/s|abbr=on}}
<!---------------------- BASIN FEATURES -->
<!---------------------- BASIN FEATURES -->
| source1            = [[Nevado Mismi]], [[Peru]]
| source1            = Nevado Mismi, Peru
| source1_location  = [[Arequipa Region]]
| source1_location  = Arequipa Region
| source1_coordinates= {{coord|15|31|05|S|71|45|55|W}}
| source1_coordinates= {{coord|15|31|05|S|71|45|55|W}}
| source1_elevation  = {{Convert|5170|m|ft|abbr=on}}
| source1_elevation  = {{Convert|5170|m|ft|abbr=on}}
| mouth              = [[Atlantic Ocean]]
| mouth              = Atlantic Ocean
| mouth_location    = [[Amapá|State of Amapá]], [[Pará|State of Pará]]
| mouth_location    = State of Amapá, State of Pará
| mouth_coordinates  = {{coord|00|42|28|S|50|05|22|W|display=inline,title}}
| mouth_coordinates  = {{coord|00|42|28|S|50|05|22|W|display=inline,title}}
| mouth_elevation    = {{Convert|0|m|ft|abbr=on}}
| mouth_elevation    = {{Convert|0|m|ft|abbr=on}}
| progression        = [[Apurímac River|Apurímac]]—[[Solimões River|Solimões]]—[[Marañón River|Marañón]]
| progression        = Apurímac—Solimões—Marañón
| river_system      = [[Amazon Basin]]
| river_system      = Amazon Basin
| basin_size_km2    = 7050000
| basin_size_km2    = 7050000
| basin_landmarks    = [[Arena da Amazônia|Amazon Arena]]
| basin_landmarks    = Amazon Arena
| basin_population  = 1,234,567
| 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_left  = {{hlist|Marañón|Japurá|Rio Negro|Putumayo}}
| tributaries_right  = {{hlist|[[Ucayali River|Ucayali]]|[[Purus River|Purus]]|[[Madeira River|Madeira]]|[[Tapajós]]|[[Xingu River|Xingu]]}}
| tributaries_right  = {{hlist|Ucayali|Purus|Madeira|Tapajós|Xingu}}
| waterbodies        = [[Lawriqucha|Lake Lawriqucha]]
| waterbodies        = Lake Lawriqucha
| waterfalls        = [[Noel Kempff Mercado National Park|Ahlfeld Waterfall]]
| waterfalls        = Ahlfeld Waterfall
| bridges            = [[Manaus–Iranduba Bridge]]
| bridges            = Manaus–Iranduba Bridge
| ports              = [[Port of Manaus]]
| ports              = Port of Manaus
| custom_label      = '''''Custom label'''''
| custom_label      = '''''Custom label'''''
| custom_data        = ''Custom data''
| custom_data        = ''Custom data''
Line 442: Line 442:


== Template Data ==
== Template Data ==
{{TemplateData header}}
{{collapse top|bg=#ccc|title=Template Data}}
{{collapse top|bg=#ccc|title=Template Data}}
<templatedata>
 
{
    "params": {
        "embed": {},
        "name": {},
        "qid": {},
        "suppressfields": {},
        "fetchwikidata": {},
        "image": {
            "type": "wiki-file-name"
        },
        "image_size": {},
        "image_upright": {},
        "image_alt": {},
        "image_caption": {},
        "map": {},
        "map_size": {},
        "map_alt": {},
        "map_caption": {},
        "mouth_coordinates": {},
        "pushpin_map": {},
        "pushpin_map_alt": {},
        "pushpin_map_size": {},
        "pushpin_map_relief": {},
        "pushpin_map_caption": {},
        "name_native": {},
        "native_name": {},
        "name_other": {},
        "other_name": {},
        "nickname": {},
        "etymology": {},
        "name_etymology": {},
        "subdivision_type1": {},
        "country_type": {},
        "subdivision_name1": {},
        "country": {},
        "subdivision_type2": {},
        "state_type": {},
        "subdivision_name2": {},
        "state": {},
        "subdivision_type3": {},
        "region_type": {},
        "subdivision_name3": {},
        "region": {},
        "subdivision_type4": {},
        "district_type": {},
        "subdivision_name4": {},
        "district": {},
        "subdivision_type5": {},
        "municipality_type": {},
        "subdivision_name5": {},
        "municipality": {},
        "cities": {},
        "city": {},
        "source1": {},
        "source1_location": {},
        "source1_length": {},
        "source1_elevation": {},
        "source1_coordinates": {},
        "source1_coord_ref": {},
        "source2": {},
        "source2_location": {},
        "source2_length": {},
        "source2_elevation": {},
        "source2_coordinates": {},
        "source2_coord_ref": {},
        "source3": {},
        "source3_location": {},
        "source3_length": {},
        "source3_elevation": {},
        "source3_coordinates": {},
        "source3_coord_ref": {},
        "source4": {},
        "source4_location": {},
        "source4_length": {},
        "source4_elevation": {},
        "source4_coordinates": {},
        "source4_coord_ref": {},
        "source5": {},
        "source5_location": {},
        "source5_length": {},
        "source5_elevation": {},
        "source5_coordinates": {},
        "source5_coord_ref": {},
        "source_confluence": {},
        "source_confluence_location": {},
        "source_confluence_elevation": {},
        "source_confluence_coordinates": {},
        "source_confluence_coord_ref": {},
        "mouth": {},
        "mouth_location": {},
        "mouth_elevation": {},
        "mouth_elevation_metric": {},
        "mouth_elevation_imperial": {},
        "mouth_coord_ref": {},
        "length": {},
        "length_metric": {},
        "length_imperial": {},
        "width_min": {},
        "width_min_metric": {},
        "width_min_imperial": {},
        "width_avg": {},
        "width_avg_metric": {},
        "width_avg_imperial": {},
        "width_max": {},
        "width_max_metric": {},
        "width_max_imperial": {},
        "depth_min": {},
        "depth_avg": {},
        "depth_max": {},
        "discharge1_location": {},
        "discharge1_min": {},
        "discharge1_avg": {},
        "discharge1_max": {},
        "discharge1": {},
        "discharge1_min_metric": {},
        "discharge1_min_imperial": {},
        "discharge1_avg_metric": {},
        "discharge1_avg_imperial": {},
        "discharge1_max_metric": {},
        "discharge1_max_imperial": {},
        "discharge2": {},
        "discharge2_location": {},
        "discharge2_min": {},
        "discharge2_avg": {},
        "discharge2_max": {},
        "discharge3": {},
        "discharge3_location": {},
        "discharge3_min": {},
        "discharge3_avg": {},
        "discharge3_max": {},
        "discharge4": {},
        "discharge4_location": {},
        "discharge4_min": {},
        "discharge4_avg": {},
        "discharge4_max": {},
        "discharge5": {},
        "discharge5_location": {},
        "discharge5_min": {},
        "discharge5_avg": {},
        "discharge5_max": {},
        "progression": {},
        "river_system": {},
        "basin_size": {},
        "basin_landmarks": {},
        "basin_population": {},
        "tributaries_left": {},
        "tributaries_right": {},
        "waterbodies": {},
        "waterfalls": {},
        "bridges": {},
        "ports": {},
        "landmark": {},
        "custom_data": {},
        "parent": {},
        "custom_label": {},
        "extra": {},
"mapframe": {
"label": "Show mapframe map",
"description": "Specify yes or no to show or hide the map, overriding the default",
"example": "yes",
"type": "string",
"default": "no",
"suggested": true
},
"mapframe-caption": {
"label": "Mapframe caption",
"description": "Caption for the map. If mapframe-geomask is set, then the default is \"Location in <<geomask's label>>\"",
"type": "string"
},
"mapframe-custom": {
"label": "Custom mapframe",
"description": "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.",
"type": "wiki-template-name"
},
"mapframe-id": {
"aliases": [
"id",
"qid"
],
"label": "Mapframe Wikidata item",
"description": "Id (Q-number) of Wikidata item to use.",
"type": "string",
"default": "(item for current page)"
},
"mapframe-coordinates": {
"aliases": [
"mapframe-coord",
"coordinates",
"coord"
],
"label": "Mapframe coordinates ",
"description": "Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.",
"example": "{{Coord|12.34|N|56.78|E}}",
"type": "wiki-template-name",
"default": "(coordinates from Wikidata)"
},
"mapframe-wikidata": {
"label": "Mapframe shapes from Wikidata",
"description": "et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter",
"example": "yes",
"type": "string"
},
"mapframe-shape": {
"label": "Mapframe shape feature",
"description": "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\"",
"type": "string"
},
"mapframe-point": {
"label": "Mapframe point feature",
"description": "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\"",
"type": "string"
},
"mapframe-geomask": {
"label": "Mapframe geomask",
"description": "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",
"type": "wiki-page-name"
},
"mapframe-switcher": {
"label": "Mapframe switcher",
"description": "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.",
"type": "string"
},
"mapframe-frame-width": {
"aliases": [
"mapframe-width"
],
"label": "Mapframe width",
"description": "Frame width in pixels",
"type": "number",
"default": "270"
},
"mapframe-frame-height": {
"aliases": [
"mapframe-height"
],
"label": "Mapframe height",
"description": "Frame height in pixels",
"type": "number",
"default": "200"
},
"mapframe-shape-fill": {
"label": "Mapframe shape fill",
"description": "Color used to fill shape features",
"type": "string",
"default": "#606060"
},
"mapframe-shape-fill-opacity": {
"label": "Mapframe shape fill opacity",
"description": "Opacity level of shape fill, a number between 0 and 1",
"type": "number",
"default": "0.5"
},
"mapframe-stroke-color": {
"aliases": [
"mapframe-stroke-colour"
],
"label": "Mapframe stroke color",
"description": "Color of line features, and outlines of shape features",
"type": "string",
"default": "#ff0000"
},
"mapframe-stroke-width": {
"label": "Mapframe stroke width",
"description": "Width of line features, and outlines of shape features",
"type": "number",
"default": "5"
},
"mapframe-marker": {
"label": "Mapframe marker",
"description": "Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options",
"example": "museum",
"type": "string"
},
"mapframe-marker-color": {
"aliases": [
"mapframe-marker-colour"
],
"label": "Mapframe marker color",
"description": "Background color for the marker",
"type": "string",
"default": "#5E74F3"
},
"mapframe-geomask-stroke-color": {
"aliases": [
"mapframe-geomask-stroke-colour"
],
"label": "Mapframe geomask stroke color",
"description": "Color of outline of geomask shape",
"type": "string",
"default": "#555555"
},
"mapframe-geomask-stroke-width": {
"label": "Mapframe geomask stroke width",
"description": "Width of outline of geomask shape",
"type": "number",
"default": "2"
},
"mapframe-geomask-fill": {
"label": "Mapframe geomask fill",
"description": "Color used to fill outside geomask features",
"type": "string",
"default": "#606060"
},
"mapframe-geomask-fill-opacity": {
"label": "Mapframe geomask fill opacity",
"description": "Opacity level of fill outside geomask features, a number between 0 and 1",
"type": "number",
"default": "0.5"
},
"mapframe-zoom": {
"label": "Mapframe zoom",
"description": "Set the zoom level, from \"1\" to \"18\", to used if the zoom level cannot be determined automatically from object length or area",
"example": "12",
"type": "number",
"default": "10"
},
"mapframe-length_km": {
"label": "Mapframe length (km)",
"description": "Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area",
"type": "number"
},
"mapframe-length_mi": {
"label": "Mapframe length (mi)",
"description": "Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area",
"type": "number"
},
"mapframe-area_km2": {
"label": "Mapframe area (km^2)",
"description": "Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area",
"type": "number"
},
"mapframe-area_mi2": {
"label": "Mapframe area (mi^2)",
"description": "Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area",
"type": "number"
},
"mapframe-frame-coordinates": {
"aliases": [
"mapframe-frame-coord"
],
"label": "Mapframe frame coordinates",
"description": "Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}",
"example": "{{Coord|12.35|N|56.71|E}}",
"type": "wiki-template-name"
},
"mapframe-line": {}
    },
    "format": "block"
}
</templatedata>
{{collapse bottom}}
{{collapse bottom}}


Line 810: Line 458:
{{When on basepage|
{{When on basepage|
<!--Categories below this line, please; interwikis at Wikidata-->
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Place infobox templates|River]]
 
[[Category:WikiProject Rivers]]
[[Category:WikiProject Rivers]]
[[Category:WikiProject Rivers templates]]
[[Category:WikiProject Rivers templates]]
[[Category:Embeddable templates]]
 
[[Category:Templates that add a tracking category]]
 


}}
}}