*>Shannon1 (change back to old format, don't know why height/length were switched when the template was upgraded) |
m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
| bodyclass = vcard | | bodyclass = vcard | ||
− | | above = {{{name|<includeonly>{{ | + | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
| aboveclass = fn org | | aboveclass = fn org | ||
| abovestyle = background-color:skyblue; | | abovestyle = background-color:skyblue; | ||
Line 8: | Line 8: | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|{{{image_alt|}}}}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|{{{image_alt|}}}}}}}} | ||
− | | caption = {{{image_caption|}}} | + | | caption = {{{caption|{{{image_caption|}}}}}} |
− | |image2 = {{#if:{{{location_map|}}}|{{#if:{{both|{{{lat_d|{{{lat|}}}}}}|{{{long_d|{{{long|}}}}}}}}| | + | |image2 = {{#if:{{{location_map|}}}|{{#if:{{both|{{{lat_d|{{{lat|}}}}}}|{{{long_d|{{{long|}}}}}}}}|{{Location map|{{{location_map}}} |
|relief = {{{location_map_relief|{{{relief|yes}}}}}} | |relief = {{{location_map_relief|{{{relief|yes}}}}}} | ||
|lat_deg={{#if:{{{lat_m|}}}{{{lat_NS|}}}|{{{lat_d|}}}| }} | |lat_deg={{#if:{{{lat_m|}}}{{{lat_NS|}}}|{{{lat_d|}}}| }} | ||
Line 26: | Line 26: | ||
|default_width =235 | |default_width =235 | ||
|alt = {{{location_map_alt|}}} | |alt = {{{location_map_alt|}}} | ||
− | |caption =}}{{#if:{{{location_map_caption|}}}|{{{location_map_caption|}}}|Location of {{{name|{{ | + | |caption =}}{{#if:{{{location_map_caption|}}}|{{{location_map_caption|}}}|Location of {{{name|{{PAGENAMEBASE}}}}}}}}}}} |
|label1 = Official name | |label1 = Official name | ||
Line 161: | Line 161: | ||
|data38 = {{{res_tidal_range|}}} | |data38 = {{{res_tidal_range|}}} | ||
− | |header39 = {{#if:{{{plant_name|}}}{{{plant_coordinates|}}}{{both|{{{plant_lat_d|}}}|{{{plant_long_d|}}}}}{{{plant_operator|}}}{{{plant_commission|}}}{{{plant_decommission|}}}{{{plant_type|}}}{{{plant_hydraulic_head|}}}{{{plant_turbines|}}}{{{plant_capacity|}}}{{{plant_annual_gen|}}}|Power station}} | + | |header39 = {{#if:{{{plant_name|}}}{{{plant_coordinates|}}}{{both|{{{plant_lat_d|}}}|{{{plant_long_d|}}}}}{{{plant_operator|}}}{{{plant_commission|}}}{{{plant_decommission|}}}{{{plant_type|}}}{{{plant_hydraulic_head|}}}{{{plant_turbines|}}}{{{plant_capacity|}}}{{{plant_capacity_factor|{{{capacity_factor|}}}}}}{{{plant_annual_gen|}}}|Power station}} |
|label40 = Name | |label40 = Name | ||
Line 201: | Line 201: | ||
|data48 = {{{plant_capacity|}}} | |data48 = {{{plant_capacity|}}} | ||
− | |label49 = | + | |label49 = [[Capacity factor|Capacity factor]] |
− | |data49 = {{{ | + | |data49 = {{{plant_capacity_factor|{{{capacity_factor|}}}}}} |
− | |data50 = {{#if:{{{website|}}}|'''Website'''<br/><span class="plainlinks">{{{website|}}}</span>}} | + | |label50 = Annual generation |
+ | |data50 = {{#iferror: {{#expr:0+{{formatnum:{{{plant_annual_gen|}}}|R}} }}| {{{plant_annual_gen|}}} | {{{plant_annual_gen}}} [[GW·h]] }} | ||
+ | |||
+ | |data51 = {{#if:{{{website|}}}|'''Website'''<br/><span class="plainlinks">{{{website|}}}</span>}} | ||
|below = {{{extra|}}} | |below = {{{extra|}}} | ||
− | }}{{main other| | + | }}{{main other|<!-- the first tracking is for finding unsupported parameters --> |
− | {{# | + | {{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox dam with unknown parameters|_VALUE_{{PAGENAME}}]] |
− | {{#ifeq: | + | | locale| name| image| image_size| alt| image_alt| caption| image_caption| location_map| lat_d| lat| long_d| long| location_map_relief| relief| lat_m| lat_NS| lat_s| long_m| long_EW| long_s| location_map_size| location_map_alt| location_map_caption| name_official| country| location| coordinates| coordinates_ref| latitude| longitude| coordinates_type| coordinates_format| coordinates_display| purpose| status| construction_began| opening| demolished| closed| cost| owner| operator| dam_operator| dam_type| dam_crosses| dam_length| dam_height| dam_height_foundation| dam_height_thalweg| dam_elevation_crest| dam_width_crest| dam_width_base| dam_volume| spillway_count| spillway_type| spillway_capacity| type| res_name| res_total_capacity| res_active_capacity| res_inactive_capacity| res_catchment| res_surface| res_max_length| res_max_width| res_max_depth| res_elevation| res_tidal_range| res_capacity_total| res_capacity_active| res_capacity_inactive| plant_name| plant_coordinates| plant_lat_d| plant_long_d| plant_operator| plant_commission| plant_decommission| plant_type| plant_hydraulic_head| plant_turbines| plant_capacity| plant_capacity_factor| capacity_factor| plant_annual_gen| plant_coord| plant_coord_ref| plant_lat_m| plant_lat_s| plant_lat_NS| plant_long_m| plant_long_s| plant_long_EW| plant_coord_type| plant_coord_format| website| extra}}<!-- the second tracking is for finding supported by deprecated parameters --> |
− | {{#ifeq:{{{ | + | {{#ifeq:{{{res_total_capacity|♦}}}{{{res_active_capacity|♦}}}{{{res_inactive_capacity|♦}}}|♦♦♦||[[Category:Pages using infobox dam with deprecated parameters|ρ{{PAGENAME}}]]}} |
− | + | {{#ifeq:{{{capacity_factor|♦}}}|♦||[[Category:Pages using infobox dam with deprecated parameters|π{{PAGENAME}}]]}} | |
− | {{#if:{{{owner|}}}|{{#ifeq:{{str left|{{{owner}}}|14}}|Maintained by|[[Category: | + | {{#ifeq:{{{alt|♦}}}{{{caption|♦}}}{{{plant_coord|♦}}}{{{plant_coordinates|♦}}}{{{coordinates|♦}}}{{{plant_coord_format|♦}}}{{{coordinates_format|♦}}}{{{plant_coord_ref|♦}}}{{{plant_coord_type|♦}}}{{{coordinates_ref|♦}}}{{{lat|♦}}}{{{latitude|♦}}}{{{long|♦}}}{{{longitude|♦}}}{{{relief|♦}}}{{{locale|♦}}}{{#switch:{{uc:{{{purpose|♦}}}}}|A|B|C|D|H=|#default=♦}}{{#switch:{{uc:{{{status|}}}}}|U=|#default=♦}}{{{closed|♦}}}{{{type|♦}}}{{{dam_operator|♦}}}|♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦||[[Category:Pages using infobox dam with deprecated parameters|σ{{PAGENAME}}]]}} |
+ | {{#if:{{{owner|}}}|{{#ifeq:{{str left|{{{owner}}}|14}}|Maintained by|[[Category:Pages using infobox dam with deprecated parameters|μ{{PAGENAME}}]]}}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 14:02, 10 August 2015
Usage
Use the following infobox for all types of hydroelectric power stations involving dams. For all types of pumped-storage, wave, and tidal power stations, please use {{Infobox power station}}.
{{{name}}} | |
---|---|
![]() {{{image_caption}}} | |
{{{location_map_caption}}} | |
Official name | {{{name_official}}} |
Country | {{{country}}} |
Location | {{{location}}} |
Coordinates | Lua error in package.lua at line 80: module 'strict' not found. |
Purpose | {{{purpose}}} |
Status | {{{status}}} |
Construction began | {{{construction_began}}} |
Opening date | {{{opening}}} |
Demolition date | {{{demolished}}} |
Construction cost | {{{cost}}} |
Owner(s) | {{{owner}}} |
Operator(s) | {{{operator}}} |
Dam and spillways | |
Type of dam | {{{dam_type}}} |
Impounds | {{{dam_crosses}}} |
Height (foundation) | {{{dam_height_foundation}}} |
Height (thalweg) | {{{dam_height_thalweg}}} |
Length | {{{dam_length}}} |
Elevation at crest | {{{dam_elevation_crest}}} |
Width (crest) | {{{dam_width_crest}}} |
Width (base) | {{{dam_width_base}}} |
Dam volume | {{{dam_volume}}} |
Spillways | {{{spillway_count}}} |
Spillway type | {{{spillway_type}}} |
Spillway capacity | {{{spillway_capacity}}} |
Reservoir | |
Creates | {{{res_name}}} |
Total capacity | {{{res_capacity_total}}} |
Active capacity | {{{res_capacity_active}}} |
Inactive capacity | {{{res_capacity_inactive}}} |
Catchment area | {{{res_catchment}}} |
Surface area | {{{res_surface}}} |
Max. length | {{{res_max_length}}} |
Max. width | {{{res_max_width}}} |
Max. water depth | {{{res_max_depth}}} |
Normal elevation | {{{res_elevation}}} |
Tidal range | {{{res_tidal_range}}} |
Power station | |
Name | {{{plant_name}}} |
Coordinates | Lua error in package.lua at line 80: module 'strict' not found. |
Operator(s) | {{{plant_operator}}} |
Commission date | {{{plant_commission}}} |
Decommission date | {{{plant_decommission}}} |
Type | {{{plant_type}}} |
Hydraulic head | {{{plant_hydraulic_head}}} |
Turbines | {{{plant_turbines}}} |
Installed capacity | {{{plant_capacity}}} |
Annual generation | {{{plant_annual_gen}}} |
Website {{{website}}} | |
{{{extra}}} |
{{Infobox dam | name = | name_official = | image = | image_size = | image_caption = | image_alt = | location_map = | location_map_size = | location_map_caption = | location_map_alt = | lat_d = | lat_m = | lat_s = | lat_NS = | long_d = | long_m = | long_s = | long_EW = | coordinates_type = type:landmark | coordinates_display = inline,title | country = | location = | purpose = | status = | construction_began = | opening = | demolished = | cost = | owner = | operator = | dam_type = | dam_crosses = | dam_height = | dam_height_foundation= | dam_height_thalweg = | dam_length = | dam_elevation_crest = | dam_width_crest = | dam_width_base = | dam_volume = | spillway_count = | spillway_type = | spillway_capacity = | res_name = | res_capacity_total = | res_capacity_active = | res_capacity_inactive= | res_catchment = | res_surface = | res_max_length = | res_max_width = | res_max_depth = | res_elevation = | res_tidal_range = | plant_name = | plant_lat_d = | plant_lat_m = | plant_lat_s = | plant_lat_NS = | plant_long_d = | plant_long_m = | plant_long_s = | plant_long_EW = | plant_operator = | plant_commission = | plant_decommission = | plant_type = | plant_hydraulic_head = | plant_turbines = | plant_capacity = | plant_annual_gen = | website = | extra = }}
Parameter names and descriptions
Parameter name | Description |
---|---|
name | Name of dam. |
name_official | Official name, if different from name. Preferably in native language. |
image | Image filename, without File: parameter. Animated (.gif) and media files (.ogv) are also allowed. |
image_size | Value to overrides the default 250px. |
image_caption | Caption beneath image. |
image_alt | Alternative text for image. |
location_map | Name of a location map file. The coordinates must be specified as well (see below). |
location_map_size | Value to overrides the default 250px. |
location_map_caption | Caption beneath location map. |
location_map_alt | Alternative text for location map. |
lat_d | Latitude degrees. |
lat_m | Latitude minutes. Omit or leave blank if lat_d is in decimal format. |
lat_s | Latitude seconds. Omit or leave blank if lat_d is in decimal format. Remember to avoid being overly precise. |
lat_NS | Northern or Southern latitude (enter N or S ). Omit or leave blank if lat_d is in decimal format.
|
long_d | Longitude degrees. |
long_m | Longitude minutes. Omit or leave blank if long_d is in decimal format. |
long_s | Longitude seconds. Omit or leave blank if long_d is in decimal format. Remember to avoid being overly precise. |
long_EW | Longitude East or West (enter E or W ). Omit or leave blank if long_d is in decimal format.
|
coordinates_type | Optional parameter to add additional coordinate functions. See here for more details. |
coordinates_display | Display the coordinates inline or title, or both as inline,title. |
country | Country where the facility is located. Do not use flag icons. |
location | General area where located. Avoid being overly-detailed. |
purpose | Purpose of the dam(s). Common reasons are power, irrigation, flood control, navigation. If there are several purposes, consider using: Multi-purpose. Field codes:
|
status | Current status of the project. Enter any one of the following auto-expanding fields:
|
construction_began | Date construction began, consider using {{Start date}}. |
opening | Date, or future date, of inauguration. Consider using {{Start date}}. |
demolished | Date of demolition (i.e removal or destruction of dam). Consider using {{End date}}. |
cost | Total cost of development. |
owner | Owner(s) of the dam. Consider limiting to the top two, and include ownership percentage if possible. Example: |
operator | Operator(s) of the dam. Only use this parameter if it is different from the owner(s) of the dam. |
dam_type | Type of dam. Enter any one of the following auto-expanding fields:
|
dam_crosses | Body of river or stream below dam |
dam_height | Height of dam. Depreciated parameter; use only if dam_height_foundation or dam_height_thalweg is not known.
|
dam_height_foundation | Height over foundation bed, with metric conversions. |
dam_height_thalweg | Height over thalweg (riverbed), with metric conversions. |
dam_length | Length of dam crown, with metric conversions. |
dam_elevation_crest | Height of the dam's crest above sea level, with metric conversions. |
dam_width_crest | Width at crest of dam, with metric conversions. |
dam_width_base | Width at base of dam, with metric conversions. |
dam_volume | Volume of material in the dam structure. |
spillway_count | Number of spillways. |
spillway_type | Type of spillway. |
spillway_capacity | Capacity of spillway. |
res_name | Name of upstream body of water, if different than "dam_crosses". |
res_capacity_total | Capacity of reservoir, i.e. megalitres. |
res_capacity_active | The active, live or useful capacity (storage) of the reservoir. |
res_capacity_inactive | The inactive or dead capacity (storage) of the reservoir. |
res_catchment | Area of catchment for reservoir. |
res_surface | Surface area (top water level) of reservoir. |
res_max_length | Length of the reservoir at normal levels, with metric conversions. |
res_max_width | Maximum width of the reservoir at normal levels, perpendicular to length. With metric conversions. |
res_max_depth | Maximum water depth of reservoir. |
res_elevation | The reservoir's height above sea level at normal levels, ith metric conversions. |
res_tidal_range | Tidal range, if applicable. |
plant_name | Name of plant, if applicable. |
plant_operator | Operator(s) of the hydroelectric power plant. |
plant_lat_d | Latitude degrees. |
plant_lat_m | Latitude minutes. Omit or leave blank if lat_d is in decimal format. |
plant_lat_s | Latitude seconds. Omit or leave blank if lat_d is in decimal format. Remember to avoid being overly precise. |
plant_lat_NS | Northern or Southern latitude (enter N or S ). Omit or leave blank if lat_d is in decimal format.
|
plant_long_d | Longitude degrees. |
plant_long_m | Longitude minutes. Omit or leave blank if long_d is in decimal format. |
plant_long_s | Longitude seconds. Omit or leave blank if long_d is in decimal format. Remember to avoid being overly precise. |
plant_long_EW | Longitude East or West (enter E or W ). Omit or leave blank if long_d is in decimal format.
|
plant_commission | Power plant commissioning date. May be different than dam opening date. |
plant_decommission | Power plant decommissioning date. May be different than dam closing date. |
plant_type | Type of hydroelectric power station. Enter any one of the following auto-expanding fields:
|
plant_hydraulic_head | Hydraulic head at power station. |
plant_turbines | Number of turbines, with respective rated capacity. |
plant_capacity | Installed generation capacity, measured in megawatts (MW). |
plant_annual_gen | Average annual power generation of the previous year. Measured in gigawatt-hours (GWh) |
website | Raw wikitext for entering website(s). Use [brackets] where appropriate |
extras | Free form, spans both columns. Use sparingly. |
Coordinates
The coordinates can be specified using one of three different methods
- lat_d, lat_m, lat_s, lat_NS, long_d, long_m, long_s, long_EW – For DMS style coordinates which can be used specify the pushpin in a {{Location map}}.
- lat_d and long_d – for decimal style coordinates which can be used to specify the pushpin in a {{Location map}}.
- coordinates – with a {{coord}} template which cannot be used with the
{{Location map}}
.
See Wikipedia:WikiProject Geographical coordinates#Parameters for more details about setting the coordinates_type.
Microformat
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
See also
Lua error in package.lua at line 80: module 'strict' not found.