Template:Infobox dam: Difference between revisions

Content deleted Content added
No edit summary
Undid revision 1113899474 by MSGJ (talk) - a few issues with units
 
(19 intermediate revisions by 8 users not shown)
Line 1:
<includeonly>{{#invoke:Type in location|main|Dam|{{{location|}}}}}</includeonly>{{Infobox
{{Infobox
| bodyclass = vcard
| child = {{{child|{{{embed|}}}}}}
Line 8:
| title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{name|}}}|<div style="background-color:skyblue;font-weight:bold">{{{name}}}</div>}}}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB|getValue|maxvals=1|P18|name=image|qid={{{qid|}}}|suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced=no|noicon=yes|{{{image|}}}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{image_alt|}}}}}
 
| caption = {{{image_caption|}}}
 
Line 39 ⟶ 40:
|F=[[Flood control]]
|I=[[Irrigation]]
|W=[[Water supply]]
|N=[[Navigability|Navigation]]
|P=[[Hydroelectricity|Power]]
Line 132 ⟶ 134:
| data29 = {{{spillway_capacity|}}}
 
| label30 = Spillway&nbsp;drainage[[volumetric flow rate]]
| data30 = {{{spillway_drainagespillway_volumetric_flow_rate|}}}
 
| label31 = Spillway&nbsp;type
Line 144 ⟶ 146:
| data33 = {{{spillway_capacity2|}}}
 
| label34 = Spillway&nbsp;drainage[[volumetric flow rate]]
| data34 = {{{spillway_drainage2spillway_volumetric_flow_rate2|}}}
 
| label35 = Spillway&nbsp;type
Line 156 ⟶ 158:
| data37 = {{{spillway_capacity3|}}}
 
| label38 = Spillway&nbsp;drainage[[volumetric flow rate]]
| data38 = {{{spillway_drainage3spillway_volumetric_flow_rate3|}}}
 
| header39 = {{#if:{{{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|}}}|{{#if:{{{lower_dam_type|}}}{{{lower_dam_crosses|}}}{{{lower_dam_height|}}}{{{lower_dam_height_foundation|}}}{{{lower_dam_height_thalweg|}}}{{{lower_dam_length|}}}{{{lower_dam_elevation_crest|}}}{{{lower_dam_width_crest|}}}{{{lower_dam_width_base|}}}{{{lower_dam_volume|}}}{{{lower_spillway_count|}}}{{{lower_spillway_type|}}}{{{lower_spillway_capacity|}}}{{{lower_res_name|}}}{{{lower_res_capacity_total|}}}{{{lower_res_capacity_active|}}}{{{lower_res_capacity_inactive|}}}{{{lower_res_catchment|}}}{{{lower_res_surface|}}}{{{lower_res_max_length|}}}{{{lower_res_max_width|}}}{{{lower_res_max_depth|}}}{{{lower_res_elevation|}}}{{{lower_res_tidal_range|}}}|Upper reservoir|Reservoir}}}}
Line 249 ⟶ 251:
| data65 = {{{lower_spillway_capacity|}}}
 
| label66 = Spillway&nbsp;drainage[[volumetric flow rate]]
| data66 = {{{lower_spillway_drainagelower_spillway_volumetric_flow_rate|}}}
 
| label67 = Spillway&nbsp;type
Line 261 ⟶ 263:
| data69 = {{{lower_spillway_capacity2|}}}
 
| label70 = Spillway&nbsp;drainage[[volumetric flow rate]]
| data70 = {{{lower_spillway_drainage2lower_spillway_volumetric_flow_rate2|}}}
 
| label71 = Spillway&nbsp;type
Line 273 ⟶ 275:
| data73 = {{{lower_spillway_capacity3|}}}
 
| label74 = Spillway&nbsp;drainage[[volumetric flow rate]]
| data74 = {{{lower_spillway_drainage3lower_spillway_volumetric_flow_rate3|}}}
 
| header75 = {{#if:{{{lower_res_name|}}}{{{lower_res_capacity_total|}}}{{{lower_res_capacity_active|}}}{{{lower_res_capacity_inactive|}}}{{{lower_res_catchment|}}}{{{lower_res_surface|}}}{{{lower_res_max_length|}}}{{{lower_res_max_width|}}}{{{lower_res_max_depth|}}}{{{lower_res_elevation|}}}{{{lower_res_tidal_range|}}}|Lower reservoir}}
Line 315 ⟶ 317:
| label88 = Coordinates
| data88 = {{#if:{{{plant_coordinates|}}}
|<small>{{#invoke:Coordinates|coordinsert|{{{plant_coordinates}}}|type:landmark}}{{{plant_coord_ref|}}}</small>
}}
 
Line 339 ⟶ 341:
| data93 = {{{plant_hydraulic_head|}}}
 
| label94 = [[Water turbine|Turbines]]
| data94 = {{{plant_turbines|}}}
 
Line 348 ⟶ 350:
| data96 = {{{plant_pumps|}}}
 
| label97 = [[Nameplate capacity|Installed&nbsp;capacity]]
| data97 = {{#iferror: {{#expr:0+{{formatnum:{{{plant_capacity|}}}|R}} }}| {{{plant_capacity|}}} | {{{plant_capacity|}}} [[Megawatt|MW]] }}
 
Line 357 ⟶ 359:
| data99 = {{{plant_efficiency|}}}
 
| label100 = [[Energy storage#Storage capacityCapacity|Storage&nbsp;capacity]]
| data100 = {{{plant_storage_hours|}}}
 
Line 367 ⟶ 369:
| below = {{{extra|}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox dam with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox dam]] with unknown parameter "_VALUE_"|ignoreblank=y|name|image|image_alt|image_caption|image_size|coordinates|location_map_relief|location_map_size|location_map_alt|location_map_caption|location_map|name_official|country|location|coordinates_ref|purpose|relief|status|construction_began|opening|demolished|cost|builder|designed_by|owner|operator|lower_res_tidal_range|plant_name|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|spillway_length|spillway_drainagespillway_volumetric_flow_rate|spillway_type2|spillway_capacity2|spillway_length2|spillway_drainage2spillway_volumetric_flow_rate2|spillway_type3|spillway_capacity3|spillway_length3|spillway_drainage3spillway_volumetric_flow_rate3|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|lower_spillway_capacity|lower_dam_type|lower_dam_crosses|lower_dam_height|lower_dam_height_foundation|lower_dam_height_thalweg|lower_dam_length|lower_dam_elevation_crest|lower_dam_width_crest|lower_dam_width_base|lower_dam_volume|lower_spillway_count|lower_spillway_type|lower_spillway_capacity|lower_spillway_length|lower_spillway_drainagelower_spillway_volumetric_flow_rate|lower_spillway_type2|lower_spillway_capacity2|lower_spillway_length2|lower_spillway_drainage2lower_spillway_volumetric_flow_rate2|lower_spillway_type3|lower_spillway_capacity3|lower_spillway_length3|lower_spillway_drainage3lower_spillway_volumetric_flow_rate3|lower_res_name|lower_res_capacity_total|lower_res_capacity_active|lower_res_capacity_inactive|lower_res_catchment|lower_res_surface|lower_res_max_length|lower_res_max_width|lower_res_max_depth|lower_res_elevation|plant_annual_gen|plant_coordinates|plant_coord_ref|plant_operator|plant_commission|plant_decommission|plant_type|plant_hydraulic_head|plant_turbines|plant_pumpgenerators|plant_pumps|plant_capacity|plant_capacity_factor|plant_efficiency|plant_storage_hours|plant_annual_gen_year|website|extra|embed
}}{{main other|{{#ifexpr:{{#invoke:Is instance|main|qid={{{qid|}}}|value=Q12323}}||[[Category:Pages using infobox dam which are not about dams]]}}}}<noinclude>
}}<noinclude>
{{Documentation}}
</noinclude>