Difference between revisions of "Template:Infobox body of water/doc"
imported>Pigsonthewing (agency) |
imported>TerraCyprus (geography is a science concerned with places and processes, this infobox is to be used on articles about specific places) |
||
| (82 intermediate revisions by 34 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
| − | {{ | + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Coordinates|Module:Infobox body of water tracking|Module:Check for unknown parameters}} |
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | This template can be used to add comparative, at-a-glance material to articles on lakes and similar water bodies. If there is a single article for the reservoir and the dam, please use | + | This template can be used to add comparative, at-a-glance material to articles on lakes, oceans, bays, and similar water bodies. If there is a single article for the reservoir and the dam, then please use the integrated {{tl|infobox dam}} template, instead of this template. |
| − | + | == Usage == | |
| + | {{Parameter names example | ||
| + | | name | ||
| + | | native_name | ||
| + | | native_name_lang | ||
| + | | other_name | ||
| + | | image | ||
| + | | alt | ||
| + | | caption | ||
| + | | image_bathymetry | ||
| + | | alt_bathymetry | ||
| + | | caption_bathymetry | ||
| + | | location | ||
| + | | group | ||
| + | | coordinates | ||
| + | | type | ||
| + | | etymology | ||
| + | | part_of | ||
| + | | inflow | ||
| + | | rivers | ||
| + | | outflow | ||
| + | | oceans | ||
| + | | catchment | ||
| + | | basin_countries | ||
| + | | agency | ||
| + | | designation | ||
| + | | date-built | ||
| + | | engineer | ||
| + | | date-flooded | ||
| + | | length | ||
| + | | width | ||
| + | | area | ||
| + | | depth | ||
| + | | max-depth | ||
| + | | volume | ||
| + | | residence_time | ||
| + | | salinity | ||
| + | | shore | ||
| + | | elevation | ||
| + | | temperature_high | ||
| + | | temperature_low | ||
| + | | frozen | ||
| + | | islands | ||
| + | | sections | ||
| + | | trenches | ||
| + | | benches | ||
| + | | cities | ||
| + | | website | ||
| + | | reference | ||
| + | }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
| − | {{Infobox | + | {{Infobox body of water |
| − | | | + | | name = {{subst:PAGENAMEBASE}} |
| − | | | + | | native_name = |
| − | | | + | | native_name_lang = |
| − | | | + | | other_name = |
| + | <!-- Images --> | ||
| + | | image = | ||
| + | | alt = | ||
| + | | caption = | ||
| image_bathymetry = | | image_bathymetry = | ||
| alt_bathymetry = | | alt_bathymetry = | ||
| caption_bathymetry = | | caption_bathymetry = | ||
| + | <!-- Stats --> | ||
| location = | | location = | ||
| − | | | + | | group = |
| + | | coordinates = <!-- {{coord|DD|MM|SS|N|DD|MM|SS|W|region:ZZ_type:waterbody|display =inline,title}} --> | ||
| type = | | type = | ||
| + | | etymology = | ||
| + | | part_of = | ||
| inflow = | | inflow = | ||
| + | | rivers = | ||
| outflow = | | outflow = | ||
| − | | catchment = | + | | oceans = |
| + | | catchment = <!-- {{convert|VALUE|UNITS}} must be used --> | ||
| basin_countries = | | basin_countries = | ||
| − | | date-built = <!-- {{Start date|YYYY|MM|DD}} For man-made and other recent | + | | agency = |
| − | | date-flooded = <!-- {{Start date|YYYY|MM|DD}} For man-made and other recent | + | | designation = |
| − | | | + | | date-built = <!-- {{Start date|YYYY|MM|DD}} For man-made and other recent bodies of water --> |
| − | | | + | | engineer = |
| − | | width = | + | | date-flooded = <!-- {{Start date|YYYY|MM|DD}} For man-made and other recent bodies of water --> |
| − | | area = | + | | length = <!-- {{convert|VALUE|UNITS}} must be used --> |
| − | | depth = | + | | width = <!-- {{convert|VALUE|UNITS}} must be used --> |
| − | | max-depth = | + | | area = <!-- {{convert|VALUE|UNITS}} must be used --> |
| − | | volume = | + | | depth = <!-- {{convert|VALUE|UNITS}} must be used --> |
| + | | max-depth = <!-- {{convert|VALUE|UNITS}} must be used --> | ||
| + | | volume = <!-- {{convert|VALUE|UNITS}} must be used --> | ||
| residence_time = | | residence_time = | ||
| − | | shore = | + | | salinity = |
| − | | elevation = | + | | shore = <!-- {{convert|VALUE|UNITS}} must be used --> |
| + | | elevation = <!-- {{convert|VALUE|UNITS}} must be used --> | ||
| + | | temperature_high = <!-- {{convert|VALUE|UNITS}} must be used --> | ||
| + | | temperature_low = <!-- {{convert|VALUE|UNITS}} must be used --> | ||
| frozen = | | frozen = | ||
| islands = | | islands = | ||
| + | | islands_category = | ||
| + | | sections = | ||
| + | | trenches = | ||
| + | | benches = | ||
| cities = | | cities = | ||
| − | | reference = | + | <!-- Map --> |
| + | | pushpin_map = | ||
| + | | pushpin_label_position = | ||
| + | | pushpin_map_alt = | ||
| + | | pushpin_map_caption = | ||
| + | <!-- Below --> | ||
| + | | website = | ||
| + | | reference = | ||
}} | }} | ||
</pre> | </pre> | ||
| − | + | == Parameters == | |
| − | ;<code> | + | ; <code>name</code>: name of the body of water. Avoid using templates, boldface or italics in this field. |
| − | ;<code> | + | ; <code>native_name</code>: name in local language. If more than one, separate using {{tl|Plain list}} |
| − | ;<code> | + | ; <code>native_name_lang</code>: ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead |
| − | + | ; <code>other_name</code>: Local, alternative or former names. Separate multiple values by using {{tlx|plainlist}} or {{tlx|unbulleted list}}. | |
| − | + | ; <code>image</code>: characteristic_image.png Please avoid sunset pictures or maps (For maps, use image_bathymetry).<br />If missing, the article is added to [[:Category:Articles using infobox body of water without image]]<br />''see also:'' [[Wikipedia:WikiProject Lakes/Galleries]] | |
| − | ;<code> | + | ; <code>alt</code>: [[WP:ALT|Alt text]] describing the image, for visually impaired readers and other applications where the image cannot be seen. <br />If image is present and this field is empty, the article is placed in [[:Category:Articles using infobox body of water without alt]] |
| − | + | ; <code>caption</code>: Text about the image; avoid repeating the name of the body of water, it's already in the first field of the infobox. | |
| − | ;<code> | + | ; <code>image_bathymetry</code>: bathymetry_image.png (or other image, avoid maps showing only the location of the body of water)<br />If missing, the article is placed in [[:Category:Articles using infobox body of water without image bathymetry]] |
| − | ;<code> | + | ; <code>alt_bathymetry</code>: Alt text for the bathymetry (or other) image.<br />If image bathymetry is present and this field is empty, the article is placed in [[:Category:Articles using infobox body of water without alt bathymetry]] |
| − | + | ; <code>caption_bathymetry</code>: Text about the [[bathymetry]] (or other) image | |
| − | + | ; <code>location</code>: Text about the body of water's location. Note the town/state/region in which the body water is located. Names are listed in wikified form, without flags.<br />Add the country only if the body of water is located in several countries or if there are several basin countries, but only one country in which the body of water is located. | |
| − | + | ; <code>group</code>: Group of lakes that this body of water belongs to (e.g., [[Lake Erie]] is part of the [[Great Lakes]]) | |
| − | + | ; <code>coordinates</code>: Latitude and Longitude coordinates of the body of water. It is common to use the approximate ''center'' of the body of water, or simply any notable portion of the body of water, for the coordinates. Coordinates are generally displayed in the infobox and on the top corner of the articles. For more, see [[WP:GEO]] and [[WP:Obtaining geographic coordinates]]<br />Sample coordinates: {{tlc|coord|47|01|10|N|8|24|04|E|type:waterbody_region:CH|display {{=}}inline,title}}<br />If missing, the article is placed in [[:Category:Articles using infobox body of water without coordinates]] | |
| − | ;<code> | + | ; <code>type</code>: [[Body of water#Waterbody types|type of body of water]] / type of lake. If it's a reservoir, add "<nowiki>[[reservoir]]</nowiki>".<br />For typologies of lakes, see [[Wikipedia_talk:WikiProject_Lakes/Archive_1#Lake_types]] and [[Lake#Types of lakes]]<br />Samples values with wikimarkup (only one or a few may apply): <nowiki> [[periglacial]], [[subglacial lake]], [[artificial lake]] [[reservoir (water)|reservoir]], [[endorheic]], [[meromictic]], [[oxbow lake]], [[rift lake]], [[underground lake]], [[crater lake]], [[intermittent lake]], [[:Category:Former lakes|former lake]], [[:Category:Shrunken lakes|shrunken lake]]; [[oligotrophic]], [[mesotropic]], [[eutrophic lake]], [[hypertrophic]]</nowiki> |
| − | + | ; <code>part_of</code>: name of any parent basin or hydrology system | |
| − | ;<code> | + | ; <code>etymology</code>: person, event or other entity the body is named after |
| − | + | ; <code>inflow</code>: major inflow sources — rivers, aquifers, glacial runoff, etc.<br />Use italics for any terms that are not place names, e.g. ''none'' | |
| − | + | ; <code>outflow</code>: outflow waterway names.<br />If [[evaporation]] or [[seepage]] are notable outflows, they may be included.<br />Use italics for any terms that are not place names, e.g. ''evaporation'' | |
| − | + | ; <code>catchment</code>: the area of catchment (in square kilometres) which includes the entire area of the [[drainage basin]] for that body of water. This may include rivers and other bodies of water. If this can be accompanied with a map or drawing, include it with the article.<br />Sample value: {{tlc|convert|2124|km2|sqmi|abbr{{=}}on}} | |
| − | + | ; <code>basin_countries</code>: which countries have drainage to/from or border the body of water. To conform a standard, this should include ''all'' countries that are directly involved with the body of water's ecology; this would include inflows, outflows, or physically contact the body of water.<br />Countries are listed in unwikified form, without flags. For Antarctica, use "(Antarctica)". | |
| − | ;<code> | + | ; <code>agency</code>: managing or owning organisation |
| − | ;<code> | + | ; <code>designation</code>: protected status as a nature reserve, etc. |
| − | ;<code> | + | ; <code>date-built</code>: date construction the body of water/reservoir started, if man-made. |
| − | + | ; <code>date-flooded</code>: date the body of water/reservoir was first flooded, if man-made or otherwise recent. | |
| − | + | ; <code>length</code>: maximum length of the body of water in km, statute mile, and/or nautical miles; the length of the body of water at its longest dimension.<br />Sample value: {{tlc|convert|100|km|mi|abbr{{=}}on}} | |
| − | ;<code> | + | ; <code>width</code>: maximum width of the body of water in km, statute mile, and/or nautical miles; perpendicular to the angle used to calculate ''length''.<br />Sample value: {{tlc|convert|50|km|mi|abbr{{=}}on}} |
| − | + | ; <code>min_width</code>: minimum width of the [[strait]] in km, statute mile, and/or nautical miles; perpendicular to the angle used to calculate ''length''. Note: do not use this parameter for lakes, bays, or other bodies of water. | |
| − | + | ; <code>area</code>: total area of the body of water's [[Surface area|surface]] in square kilometres, square miles, acres, or hectares; if this value varies drastically (due to evaporation or changes in flow), attempt to find a documented ''average'' value.<br />Sample conversion for imperial units: {{tlc|convert|1234|acre|abbr{{=}}on}} this renders as: {{convert|1234|acre|abbr=on}} | |
| − | ;< | + | ; <code>depth</code>: Average depth of the body of water in metres, fathoms, and/or feet<br />Sample conversion for imperial units: {{tlc|convert|123|ft|abbr{{=}}on}} this renders as: {{convert|123|ft|abbr=on}} |
| − | + | ; <code>max-depth</code>: Maximum depth of the body of water in metres, fathoms, and/or feet.<br />Sample value: {{convert|10|m|ft|abbr=on}} | |
| − | ;<code> | + | ; <code>volume</code>: total volume of the body of water (cubic metres, cubic kilometres, cubic miles [cu mi], and/or acre-feet)<br />Sample value: 11.8 km³<br />To convert acre-feet, use {{tlc|convert|1234567|acre.ft|abbr{{=}}on}} this renders as {{convert|1234567|acre.ft|abbr=on}} |
| − | + | ; <code>residence_time</code>: [[Residence time (fluid dynamics)|residence time]] of the body of water or [[lake retention time]] (generally in years). This is the mean time water spends in the body of water. | |
| − | ;<code> | + | ; <code>shore</code>: length of the shoreline in kilometres and statute miles; this should ''not'' include values for waterways directly connected to the body of water, and should reflect the shore at ''average'' surface area.<br />Sample value: {{tlc|convert|75|km|mi|abbr{{=}}on}} |
| + | ; <code>elevation</code>: elevation above sea-level in meters; again, if this value varies due to variable inflow or outflow, attempt to use a documented ''average'' value. If at all possible, state the date at which the elevation was measured.<br />Sample value: {{tlc|convert|150|m|ft|abbr{{=}}on}} | ||
| + | ; <code>islands</code>: total number of islands in the body of water; it is common practice to also include the '''names''' of any ''[[WP:N|notable]]'' islands in the body of water. | ||
| + | ; <code>islands_category</code>: if there is a specific category for articles about islands in the body of water, it can be added in this field (e.g., [[:Category:Islands of the Caspian Sea|Islands of the Caspian Sea]], [[:Category:Lake islands]] or [[:Category:Islands by ocean or sea]]). "Islands" in the infobox then links to one of these categories instead of [[:Category:Islands by body of water]]. | ||
| + | ;<code>sections</code> | ||
| + | ;<code>trenches</code> | ||
| + | ;<code>benches</code> | ||
| + | ; <code>cities</code>: notable cities or settlements on or near the shore of the body of water. | ||
| + | ; <code>frozen</code>: Information about freezing: e.g. usual freezing date, months the body of water is frozen, last years the body of water was frozen, ''never'', etc. | ||
| + | ; <code>reference</code>: references for some or all of the values. Rather than including full references in any of the previous fields, <nowiki><ref name ="multiple"> and </ref></nowiki> should be used in this field and cross-referenced in the other fields with <nowiki><ref name ="multiple"/></nowiki>. See [[Help:Footnotes]] on how to use the tags. | ||
| + | ; <code>align</code>: "align =left" allows to align the infobox left (default is right). This avoids collision with another infobox. | ||
| + | ; <code>pushpin_map</code>: The name of a location map as per [[:Template:Location map]]. Requires coordinates in {{para|coordinates|{{tlf|coord|...}}}} format. An existing list of map names can be found via [[:Template:Location_map/List]]. <br />If missing, the article is placed in [[:Category:Articles using infobox body of water without pushpin map]] | ||
| + | ; <code>pushpin_label_position</code>: Location of the label to the pushpin. One of "left", "right", "top", or "bottom". | ||
| + | ; <code>pushpin_map_alt</code>: Pushpin map alt text. <br />If pushpin map is present and this field is empty, the article is placed in [[:Category:Articles using infobox body of water without pushpin map alt]] | ||
| + | ; <code>pushpin_map_caption</code>: Pushpin map caption. | ||
| − | Imperial units should be converted to metric units, preferably using {{tl|convert}}, e.g. | + | Imperial units should be converted to metric units, preferably using {{tl|convert}}, e.g. {{tlc|convert|1234|acre|abbr{{=}}on}} this renders as {{convert|1234|acre|abbr=on}} |
| − | == | + | == Tracking categories == |
| + | There are several tracking categories for maintenance of articles using this infobox: | ||
| + | * {{clc|Articles using infobox body of water without image}} – if image is missing | ||
| + | * {{clc|Articles using infobox body of water without alt}} – if image alt text is missing | ||
| + | * {{clc|Articles using infobox body of water without image bathymetry}} – if bathymetry image is missing | ||
| + | * {{clc|Articles using infobox body of water without alt bathymetry}} – if bathymetry image is present, but bathymetry image alt text is missing | ||
| + | * {{clc|Articles using infobox body of water without pushpin map}} – if no pushpin map is present | ||
| + | * {{clc|Articles using infobox body of water without pushpin map alt}} – if pushpin map is present, but alt text is missing | ||
| + | * {{clc|Articles using infobox body of water without coordinates}} – if coordinates are missing | ||
| + | * {{clc|Wikipedia infobox body of water articles needing maintenance}} – if specific fields are missing, or included, see category description | ||
| + | ** {{clc|Pages using infobox body of water with a non-automatically converted dimension}} - if {{tl|convert}} is not used for measurement fields | ||
| + | ** {{clc|Pages using infobox body of water with duplicate parameters}} – if specific duplicate fields are used | ||
| + | ** {{clc|Pages using infobox body of water with unknown parameters}} - if an unknown parameter is present in the infobox template | ||
| − | The | + | The categories are hidden, i.e. they are not visible in the standard display of the articles (see [[WP:Hidden categories]]). |
| − | + | ==TemplateData== | |
| − | + | {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} | |
| − | + | {{TemplateData header|noheader=1}} | |
| + | <templatedata> | ||
| + | { | ||
| + | "format": "{{_\n| __________________ = _\n}}\n", | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "required": true, | ||
| + | "label": "Name", | ||
| + | "type": "string", | ||
| + | "description": "Name of the Body of Water." | ||
| + | }, | ||
| + | "other_name": { | ||
| + | "required": false, | ||
| + | "label": "Other Name", | ||
| + | "type": "string", | ||
| + | "description": "Local, Alternative or Former Names" | ||
| + | }, | ||
| + | "image": { | ||
| + | "required": false, | ||
| + | "label": "Image", | ||
| + | "type": "wiki-page-name", | ||
| + | "description": "Image of the Body of Water" | ||
| + | }, | ||
| + | "alt": { | ||
| + | "required": false, | ||
| + | "label": "Image alternative text", | ||
| + | "type": "string", | ||
| + | "description": "Alt text to display if the image specified by image does not display for whatever reason" | ||
| + | }, | ||
| + | "caption": { | ||
| + | "required": false, | ||
| + | "label": "Image caption", | ||
| + | "type": "string", | ||
| + | "description": "Caption for the image." | ||
| + | }, | ||
| + | "image_bathymetry": { | ||
| + | "required": false, | ||
| + | "label": "Image Bathymetry", | ||
| + | "type": "wiki-page-name", | ||
| + | "description": "Bathymetry Image" | ||
| + | }, | ||
| + | "alt_bathymetry": { | ||
| + | "required": false, | ||
| + | "label": "Alt Bathymetry", | ||
| + | "type": "string", | ||
| + | "description": "Alternate text to display if image_bathymetry does not display for whatever reason" | ||
| + | }, | ||
| + | "caption_bathymetry": { | ||
| + | "required": false, | ||
| + | "label": "Caption Bathymetry", | ||
| + | "type": "string", | ||
| + | "description": "Image caption for image_bathymetry" | ||
| + | }, | ||
| + | "location": { | ||
| + | "required": false, | ||
| + | "label": "Location", | ||
| + | "type": "string", | ||
| + | "description": "Location of the Body of Water" | ||
| + | }, | ||
| + | "group": { | ||
| + | "required": false, | ||
| + | "label": "Group", | ||
| + | "type": "string", | ||
| + | "description": "Group of lakes that the body of water belongs to" | ||
| + | }, | ||
| + | "coordinates": { | ||
| + | "required": false, | ||
| + | "label": "Coordinates", | ||
| + | "type": "number", | ||
| + | "description": "Latitude and Longitude coordinates of the body of water", | ||
| + | "aliases": ["coords"] | ||
| + | }, | ||
| + | "type": { | ||
| + | "required": false, | ||
| + | "label": "Type", | ||
| + | "type": "string", | ||
| + | "description": "Type of the Body of Water" | ||
| + | }, | ||
| + | "etymology": { | ||
| + | "required": false, | ||
| + | "label": "Etymology", | ||
| + | "type": "string", | ||
| + | "description": "person, event, or other entity body is named after" | ||
| + | }, | ||
| + | "part_of": { | ||
| + | "required": false, | ||
| + | "label": "Part of", | ||
| + | "type": "string", | ||
| + | "description": "Name of any parent basin or hydrology system" | ||
| + | }, | ||
| + | "inflow": { | ||
| + | "required": false, | ||
| + | "label": "Inflow", | ||
| + | "type": "string", | ||
| + | "description": "Major inflow sources — rivers, aquifers, glacial runoff, etc." | ||
| + | }, | ||
| + | "outflow": { | ||
| + | "required": false, | ||
| + | "label": "Outflow", | ||
| + | "type": "string", | ||
| + | "description": "Outflow Waterway Names e.g. evaporation" | ||
| + | }, | ||
| + | "catchment": { | ||
| + | "required": false, | ||
| + | "label": "Catchment", | ||
| + | "type": "string", | ||
| + | "description": "The area of catchment (in square kilometres) which includes the entire area of the drainage basin for that body of water." | ||
| + | }, | ||
| + | "basin_countries": { | ||
| + | "required": false, | ||
| + | "label": "Basin Countries", | ||
| + | "type": "string", | ||
| + | "description": "Which countries have drainage to/from or border the body of water." | ||
| + | }, | ||
| + | "date-built": { | ||
| + | "required": false, | ||
| + | "label": "Date Built", | ||
| + | "type": "line", | ||
| + | "description": "Date of construction of the body of water/reservoir started, if man-made." | ||
| + | }, | ||
| + | "date-flooded": { | ||
| + | "required": false, | ||
| + | "label": "Date Flooded", | ||
| + | "type": "line", | ||
| + | "description": "Date of the body of water/reservoir was first flooded, if man-made or otherwise recent." | ||
| + | }, | ||
| + | "agency": { | ||
| + | "required": false, | ||
| + | "label": "Agency", | ||
| + | "type": "string", | ||
| + | "description": "Managing or owning organisation" | ||
| + | }, | ||
| + | "length": { | ||
| + | "required": false, | ||
| + | "label": "Length", | ||
| + | "type": "number", | ||
| + | "description": "Maximum length of the body of water in km" | ||
| + | }, | ||
| + | "width": { | ||
| + | "required": false, | ||
| + | "label": "Width", | ||
| + | "type": "number", | ||
| + | "description": "Maximum width of the body of water in km" | ||
| + | }, | ||
| + | "area": { | ||
| + | "required": false, | ||
| + | "label": "Area", | ||
| + | "type": "number", | ||
| + | "description": "Total area of the body of water's surface in square kilometres" | ||
| + | }, | ||
| + | "depth": { | ||
| + | "required": false, | ||
| + | "label": "Depth", | ||
| + | "type": "number", | ||
| + | "description": "Average depth of the body of water in metres, fathoms, and/or feet" | ||
| + | }, | ||
| + | "max-depth": { | ||
| + | "required": false, | ||
| + | "label": "Max Depth", | ||
| + | "type": "number", | ||
| + | "description": "Maximum depth of the body of water in metres, fathoms, and/or feet." | ||
| + | }, | ||
| + | "volume": { | ||
| + | "required": false, | ||
| + | "label": "Volume", | ||
| + | "type": "number", | ||
| + | "description": "Total volume of the body of water (cubic metres, cubic kilometres, cubic miles [cu mi], and/or acre-feet)" | ||
| + | }, | ||
| + | "residence_time": { | ||
| + | "required": false, | ||
| + | "label": "Residence Time", | ||
| + | "type": "number", | ||
| + | "description": "Time spent by water in the body of water." | ||
| + | }, | ||
| + | "shore": { | ||
| + | "required": false, | ||
| + | "label": "Shore", | ||
| + | "type": "number", | ||
| + | "description": "Length of the shoreline in kilometres and statute miles this should not include values for waterways directly connected to the body of water, and should reflect the shore at average surface area." | ||
| + | }, | ||
| + | "elevation": { | ||
| + | "required": false, | ||
| + | "label": "Elevation", | ||
| + | "type": "number", | ||
| + | "description": "Elevation above sea-level in meters." | ||
| + | }, | ||
| + | "frozen": { | ||
| + | "required": false, | ||
| + | "label": "Frozen", | ||
| + | "type": "string", | ||
| + | "description": "Information about freezing: e.g. usual freezing date, months the body of water is frozen, last years the body of water was frozen, never, etc." | ||
| + | }, | ||
| + | "islands": { | ||
| + | "required": false, | ||
| + | "label": "Islands", | ||
| + | "type": "number", | ||
| + | "description": "Total number of islands in the body of water" | ||
| + | }, | ||
| + | "cities": { | ||
| + | "required": false, | ||
| + | "label": "Cities", | ||
| + | "type": "number", | ||
| + | "description": "Notable cities or settlements on or near the shore of the body of water." | ||
| + | }, | ||
| + | "reference": { | ||
| + | "required": false, | ||
| + | "label": "Reference", | ||
| + | "type": "string", | ||
| + | "description": "references for some or all of the values." | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| + | {{Collapse bottom}} | ||
| − | + | == Microformat == | |
| − | |||
| − | |||
{{UF-hcard-geo}} | {{UF-hcard-geo}} | ||
| − | + | == See also == | |
| − | + | * List of {{subpages|page=Template:{{BASEPAGENAME}}}} | |
| − | * List of {{subpages}} | + | * [[Template:Infobox body of water/Bookmarklet]] |
| − | + | * [[Template:Infobox river]] | |
| − | * [[Template:Infobox | ||
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| − | |||
| − | + | <includeonly>{{basepage subpage| | |
| − | + | <!-- Categories below this line, please; interwikis at Wikidata --> | |
| − | + | {{DEFAULTSORT:Infobox Body Of Water}} | |
| − | + | [[Category:Place infobox templates|Body Of Water]] | |
| − | + | [[Category:Lake templates| ]] | |
| − | + | [[Category:Ocean and sea templates]] | |
| − | + | [[Category:WikiProject Oceans]] | |
| − | + | [[Category:Embeddable templates]] | |
| − | + | [[Category:Templates that add a tracking category]] | |
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| − | |||
| − | |||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| − | [[ | ||
| − | [[ | ||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 23:37, 20 September 2020
| This is a documentation subpage for Template:Infobox body of water. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template can be used to add comparative, at-a-glance material to articles on lakes, oceans, bays, and similar water bodies. If there is a single article for the reservoir and the dam, then please use the integrated {{infobox dam}} template, instead of this template.
Usage
Template:Parameter names example
{{Infobox body of water
| name = {{subst:PAGENAMEBASE}}
| native_name =
| native_name_lang =
| other_name =
<!-- Images -->
| image =
| alt =
| caption =
| image_bathymetry =
| alt_bathymetry =
| caption_bathymetry =
<!-- Stats -->
| location =
| group =
| coordinates = <!-- {{coord|DD|MM|SS|N|DD|MM|SS|W|region:ZZ_type:waterbody|display =inline,title}} -->
| type =
| etymology =
| part_of =
| inflow =
| rivers =
| outflow =
| oceans =
| catchment = <!-- {{convert|VALUE|UNITS}} must be used -->
| basin_countries =
| agency =
| designation =
| date-built = <!-- {{Start date|YYYY|MM|DD}} For man-made and other recent bodies of water -->
| engineer =
| date-flooded = <!-- {{Start date|YYYY|MM|DD}} For man-made and other recent bodies of water -->
| length = <!-- {{convert|VALUE|UNITS}} must be used -->
| width = <!-- {{convert|VALUE|UNITS}} must be used -->
| area = <!-- {{convert|VALUE|UNITS}} must be used -->
| depth = <!-- {{convert|VALUE|UNITS}} must be used -->
| max-depth = <!-- {{convert|VALUE|UNITS}} must be used -->
| volume = <!-- {{convert|VALUE|UNITS}} must be used -->
| residence_time =
| salinity =
| shore = <!-- {{convert|VALUE|UNITS}} must be used -->
| elevation = <!-- {{convert|VALUE|UNITS}} must be used -->
| temperature_high = <!-- {{convert|VALUE|UNITS}} must be used -->
| temperature_low = <!-- {{convert|VALUE|UNITS}} must be used -->
| frozen =
| islands =
| islands_category =
| sections =
| trenches =
| benches =
| cities =
<!-- Map -->
| pushpin_map =
| pushpin_label_position =
| pushpin_map_alt =
| pushpin_map_caption =
<!-- Below -->
| website =
| reference =
}}
Parameters
name- name of the body of water. Avoid using templates, boldface or italics in this field.
native_name- name in local language. If more than one, separate using {{Plain list}}
native_name_lang- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead
other_name- Local, alternative or former names. Separate multiple values by using
{{plainlist}}or{{unbulleted list}}. image- characteristic_image.png Please avoid sunset pictures or maps (For maps, use image_bathymetry).
If missing, the article is added to Category:Articles using infobox body of water without image
see also: Wikipedia:WikiProject Lakes/Galleries alt- Alt text describing the image, for visually impaired readers and other applications where the image cannot be seen.
If image is present and this field is empty, the article is placed in Category:Articles using infobox body of water without alt caption- Text about the image; avoid repeating the name of the body of water, it's already in the first field of the infobox.
image_bathymetry- bathymetry_image.png (or other image, avoid maps showing only the location of the body of water)
If missing, the article is placed in Category:Articles using infobox body of water without image bathymetry alt_bathymetry- Alt text for the bathymetry (or other) image.
If image bathymetry is present and this field is empty, the article is placed in Category:Articles using infobox body of water without alt bathymetry caption_bathymetry- Text about the bathymetry (or other) image
location- Text about the body of water's location. Note the town/state/region in which the body water is located. Names are listed in wikified form, without flags.
Add the country only if the body of water is located in several countries or if there are several basin countries, but only one country in which the body of water is located. group- Group of lakes that this body of water belongs to (e.g., Lake Erie is part of the Great Lakes)
coordinates- Latitude and Longitude coordinates of the body of water. It is common to use the approximate center of the body of water, or simply any notable portion of the body of water, for the coordinates. Coordinates are generally displayed in the infobox and on the top corner of the articles. For more, see WP:GEO and WP:Obtaining geographic coordinates
Sample coordinates:{{coord|47|01|10|N|8|24|04|E}}
If missing, the article is placed in Category:Articles using infobox body of water without coordinates type- type of body of water / type of lake. If it's a reservoir, add "[[reservoir]]".
For typologies of lakes, see Wikipedia_talk:WikiProject_Lakes/Archive_1#Lake_types and Lake#Types of lakes
Samples values with wikimarkup (only one or a few may apply): [[periglacial]], [[subglacial lake]], [[artificial lake]] [[reservoir (water)|reservoir]], [[endorheic]], [[meromictic]], [[oxbow lake]], [[rift lake]], [[underground lake]], [[crater lake]], [[intermittent lake]], [[:Category:Former lakes|former lake]], [[:Category:Shrunken lakes|shrunken lake]]; [[oligotrophic]], [[mesotropic]], [[eutrophic lake]], [[hypertrophic]] part_of- name of any parent basin or hydrology system
etymology- person, event or other entity the body is named after
inflow- major inflow sources — rivers, aquifers, glacial runoff, etc.
Use italics for any terms that are not place names, e.g. none outflow- outflow waterway names.
If evaporation or seepage are notable outflows, they may be included.
Use italics for any terms that are not place names, e.g. evaporation catchment- the area of catchment (in square kilometres) which includes the entire area of the drainage basin for that body of water. This may include rivers and other bodies of water. If this can be accompanied with a map or drawing, include it with the article.
Sample value:{{convert|2124|km2|sqmi|abbr=on}} basin_countries- which countries have drainage to/from or border the body of water. To conform a standard, this should include all countries that are directly involved with the body of water's ecology; this would include inflows, outflows, or physically contact the body of water.
Countries are listed in unwikified form, without flags. For Antarctica, use "(Antarctica)". agency- managing or owning organisation
designation- protected status as a nature reserve, etc.
date-built- date construction the body of water/reservoir started, if man-made.
date-flooded- date the body of water/reservoir was first flooded, if man-made or otherwise recent.
length- maximum length of the body of water in km, statute mile, and/or nautical miles; the length of the body of water at its longest dimension.
Sample value:{{convert|100|km|mi|abbr=on}} width- maximum width of the body of water in km, statute mile, and/or nautical miles; perpendicular to the angle used to calculate length.
Sample value:{{convert|50|km|mi|abbr=on}} min_width- minimum width of the strait in km, statute mile, and/or nautical miles; perpendicular to the angle used to calculate length. Note: do not use this parameter for lakes, bays, or other bodies of water.
area- total area of the body of water's surface in square kilometres, square miles, acres, or hectares; if this value varies drastically (due to evaporation or changes in flow), attempt to find a documented average value.
Sample conversion for imperial units:{{convert|1234|acre|abbr=on}}this renders as: 1,234 acres (499 ha) depth- Average depth of the body of water in metres, fathoms, and/or feet
Sample conversion for imperial units:{{convert|123|ft|abbr=on}}this renders as: 123 ft (37 m) max-depth- Maximum depth of the body of water in metres, fathoms, and/or feet.
Sample value: 10 m (33 ft) volume- total volume of the body of water (cubic metres, cubic kilometres, cubic miles [cu mi], and/or acre-feet)
Sample value: 11.8 km³
To convert acre-feet, use{{convert|1234567|acre.ft|abbr=on}}this renders as 1,234,567 acre⋅ft (1.522816×109 m3) residence_time- residence time of the body of water or lake retention time (generally in years). This is the mean time water spends in the body of water.
shore- length of the shoreline in kilometres and statute miles; this should not include values for waterways directly connected to the body of water, and should reflect the shore at average surface area.
Sample value:{{convert|75|km|mi|abbr=on}} elevation- elevation above sea-level in meters; again, if this value varies due to variable inflow or outflow, attempt to use a documented average value. If at all possible, state the date at which the elevation was measured.
Sample value:{{convert|150|m|ft|abbr=on}} islands- total number of islands in the body of water; it is common practice to also include the names of any notable islands in the body of water.
islands_category- if there is a specific category for articles about islands in the body of water, it can be added in this field (e.g., Islands of the Caspian Sea, Category:Lake islands or Category:Islands by ocean or sea). "Islands" in the infobox then links to one of these categories instead of Category:Islands by body of water.
sectionstrenchesbenchescities- notable cities or settlements on or near the shore of the body of water.
frozen- Information about freezing: e.g. usual freezing date, months the body of water is frozen, last years the body of water was frozen, never, etc.
reference- references for some or all of the values. Rather than including full references in any of the previous fields, <ref name ="multiple"> and </ref> should be used in this field and cross-referenced in the other fields with <ref name ="multiple"/>. See Help:Footnotes on how to use the tags.
align- "align =left" allows to align the infobox left (default is right). This avoids collision with another infobox.
pushpin_map- The name of a location map as per Template:Location map. Requires coordinates in
|coordinates={{coord|...}}format. An existing list of map names can be found via Template:Location_map/List.
If missing, the article is placed in Category:Articles using infobox body of water without pushpin map pushpin_label_position- Location of the label to the pushpin. One of "left", "right", "top", or "bottom".
pushpin_map_alt- Pushpin map alt text.
If pushpin map is present and this field is empty, the article is placed in Category:Articles using infobox body of water without pushpin map alt pushpin_map_caption- Pushpin map caption.
Imperial units should be converted to metric units, preferably using {{convert}}, e.g. {{convert|1234|acre|abbr=on}} this renders as 1,234 acres (499 ha)
Tracking categories
There are several tracking categories for maintenance of articles using this infobox:
- Category:Articles using infobox body of water without image (0) – if image is missing
- Category:Articles using infobox body of water without alt (0) – if image alt text is missing
- Category:Articles using infobox body of water without image bathymetry (0) – if bathymetry image is missing
- Category:Articles using infobox body of water without alt bathymetry (0) – if bathymetry image is present, but bathymetry image alt text is missing
- Category:Articles using infobox body of water without pushpin map (0) – if no pushpin map is present
- Category:Articles using infobox body of water without pushpin map alt (0) – if pushpin map is present, but alt text is missing
- Category:Articles using infobox body of water without coordinates (0) – if coordinates are missing
- Category:Wikipedia infobox body of water articles needing maintenance (0) – if specific fields are missing, or included, see category description
- Category:Pages using infobox body of water with a non-automatically converted dimension (0) - if {{convert}} is not used for measurement fields
- Category:Pages using infobox body of water with duplicate parameters (0) – if specific duplicate fields are used
- Category:Pages using infobox body of water with unknown parameters (0) - if an unknown parameter is present in the infobox template
The categories are hidden, i.e. they are not visible in the standard display of the articles (see WP:Hidden categories).
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox body of water No description.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformat
See also