Template:Infobox dam/sandbox
| bodyclass = vcard
| child = {{{child|{{{embed|}}}}}}
| above = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|| {{{name|
| aboveclass = fn org
| abovestyle = background-color:skyblue;
| headerstyle = background-color:skyblue;
| title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{name|}}}|
| image = {{#if:{{{noimg|}}}||{{#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|}}}
|ShowMap =yes
| image2 = {{#if:{{both|{{{location_map|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{{location_map}}}
| relief = {{yesno|{{{location_map_relief|{{{relief|yes}}}}}}|no=|def=yes}}
| coordinates = {{{coordinates|}}}
| float = center
| border = infobox
| width = {{{location_map_size|}}}
| default_width = 235
| alt = {{{location_map_alt|}}}
| caption = {{#if:{{{location_map_caption|}}}|{{{location_map_caption|}}}|Location of {{{name|{{PAGENAMEBASE}}}}} in {{#invoke:Location map|data|{{{location_map|}}}|name}}}}
}}
}}
| image3 = {{ifeq|{{{ShowMap|}}}|yes|
{{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}|mapframe-width=250|mapframe-frame-width=250|mapframe-marker=dam|mapframe-wikidata = yes | mapframe-zoom = 13}}
}}
| caption3 = {{ifeq|{{{ShowMap|}}}|yes|
{{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}}}
}}
| label1 = Official name
| data1 = {{{name_official|}}}
| label2 = Country
| data2 = {{{country|}}}
| label3 = Location
| data3 = {{{location|}}}
| label4 = Coordinates
| data4 = {{#if: {{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}}{{{coordinates_ref|}}}}}
| label5 = Purpose
| data5 = {{#switch:{{uc:{{{purpose|}}}}}
|I=Irrigation
|W=Water supply
|N=Navigation
|P=Power
|#default={{{purpose|}}}
}}
| label6 = Status
| data6 = {{#switch:{{uc:{{{status|}}}}}
|D=Decommissioned
|O=Operational
|P=Proposed
|U=Under construction
|UC=Under construction
|#default={{{status|}}}
}}
| label7 = Construction began
| data7 = {{{construction_began|}}}
| label8 = Opening date
| data8 = {{{opening|}}}
| label9 = Demolition date
| data9 = {{{demolished|}}}
| label10 = Construction cost
| data10 = {{{cost|}}}
| label11 = Built by
| data11 = {{{builder|}}}
| label12 = Designed by
| data12 = {{{designed_by|}}}
| label13 = Owner(s)
| data13 = {{{owner|}}}
| label14 = Operator(s)
| data14 = {{{operator|}}}
| header15 = {{#if:{{{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|}}}|{{#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 dam and spillways|Dam and spillways}}}}
| label16 = Type of dam
| data16 = {{#switch:{{uc:{{{dam_type|}}}}}
|A=Arch dam
|B=Barrage
|C=Combination gravity and earth fill dam
|G=Gravity dam
|AG=Arch-gravity dam
|#default={{{dam_type|}}}
}}
| label17 = Impounds
| data17 = {{{dam_crosses|}}}
| label18 = Height
| data18 = {{{dam_height|}}}
| label19 = Height (foundation)
| data19 = {{{dam_height_foundation|}}}
| label20 = Height (thalweg)
| data20 = {{{dam_height_thalweg|}}}
| label21 = Length
| data21 = {{{dam_length|}}}
| label22 = Elevation at crest
| data22 = {{{dam_elevation_crest|}}}
| label23 = Width (crest)
| data23 = {{{dam_width_crest|}}}
| label24 = Width (base)
| data24 = {{{dam_width_base|}}}
| label25 = Dam volume
| data25 = {{{dam_volume|}}}
| label26 = Spillways
| data26 = {{{spillway_count|}}}
| label27 = Spillway type
| data27 = {{{spillway_type|}}}
| label28 = Spillway length
| data28 = {{{spillway_length|}}}
| label29 = Spillway capacity
| data29 = {{{spillway_capacity|}}}
| label30 = Spillway volumetric flow rate
| data30 = {{{spillway_volumetric_flow_rate|}}}
| label31 = Spillway type
| data31 = {{{spillway_type2|}}}
| label32 = Spillway length
| data32 = {{{spillway_length2|}}}
| label33 = Spillway capacity
| data33 = {{{spillway_capacity2|}}}
| label34 = Spillway volumetric flow rate
| data34 = {{{spillway_volumetric_flow_rate2|}}}
| label35 = Spillway type
| data35 = {{{spillway_type3|}}}
| label36 = Spillway length
| data36 = {{{spillway_length3|}}}
| label37 = Spillway capacity
| data37 = {{{spillway_capacity3|}}}
| label38 = Spillway volumetric flow rate
| data38 = {{{spillway_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}}}}
| label40 = Creates
| data40 = {{{res_name|}}}
| label41 = Total capacity
| data41 = {{{res_capacity_total|}}}
| label42 = Active capacity
| data42 = {{{res_capacity_active|}}}
| label43 = Inactive capacity
| data43 = {{{res_capacity_inactive|}}}
| label44 = Catchment area
| data44 = {{{res_catchment|}}}
| label45 = Surface area
| data45 = {{{res_surface|}}}
| label46 = Maximum length
| data46 = {{{res_max_length|}}}
| label47 = Maximum width
| data47 = {{{res_max_width|}}}
| label48 = Maximum water depth
| data48 = {{{res_max_depth|}}}
| label49 = Normal elevation
| data49 = {{{res_elevation|}}}
| label50 = Tidal range
| data50 = {{{res_tidal_range|}}}
| header51 = {{#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 dam and spillways}}
| label52 = Type of dam
| data52 = {{#switch:{{uc:{{{lower_dam_type|}}}}}
|A=Arch dam
|B=Barrage
|C=Combination gravity and earth fill dam
|G=Gravity dam
|AG=Arch-gravity dam
|#default={{{lower_dam_type|}}}
}}
| label53 = Impounds
| data53 = {{{lower_dam_crosses|}}}
| label54 = Height
| data54 = {{{lower_dam_height|}}}
| label55 = Height (foundation)
| data55 = {{{lower_dam_height_foundation|}}}
| label56 = Height (thalweg)
| data56 = {{{lower_dam_height_thalweg|}}}
| label57 = Length
| data57 = {{{lower_dam_length|}}}
| label58 = Elevation at crest
| data58 = {{{lower_dam_elevation_crest|}}}
| label59 = Width (crest)
| data59 = {{{lower_dam_width_crest|}}}
| label60 = Width (base)
| data60 = {{{lower_dam_width_base|}}}
| label61 = Dam volume
| data61 = {{{lower_dam_volume|}}}
| label62 = Spillways
| data62 = {{{lower_spillway_count|}}}
| label63 = Spillway type
| data63 = {{{lower_spillway_type|}}}
| label64 = Spillway length
| data64 = {{{lower_spillway_length|}}}
| label65 = Spillway capacity
| data65 = {{{lower_spillway_capacity|}}}
| label66 = Spillway volumetric flow rate
| data66 = {{{lower_spillway_volumetric_flow_rate|}}}
| label67 = Spillway type
| data67 = {{{lower_spillway_type2|}}}
| label68 = Spillway length
| data68 = {{{lower_spillway_length2|}}}
| label69 = Spillway capacity
| data69 = {{{lower_spillway_capacity2|}}}
| label70 = Spillway volumetric flow rate
| data70 = {{{lower_spillway_volumetric_flow_rate2|}}}
| label71 = Spillway type
| data71 = {{{lower_spillway_type3|}}}
| label72 = Spillway length
| data72 = {{{lower_spillway_length3|}}}
| label73 = Spillway capacity
| data73 = {{{lower_spillway_capacity3|}}}
| label74 = Spillway volumetric flow rate
| data74 = {{{lower_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}}
| label76 = Creates
| data76 = {{{lower_res_name|}}}
| label77 = Total capacity
| data77 = {{{lower_res_capacity_total|}}}
| label78 = Active capacity
| data78 = {{{lower_res_capacity_active|}}}
| label79 = Inactive capacity
| data79 = {{{lower_res_capacity_inactive|}}}
| label80 = Catchment area
| data80 = {{{lower_res_catchment|}}}
| label81 = Surface area
| data81 = {{{lower_res_surface|}}}
| label82 = Maximum length
| data82 = {{{lower_res_max_length|}}}
| label83 = Maximum width
| data83 = {{{lower_res_max_width|}}}
| label84 = Maximum water depth
| data84 = {{{lower_res_max_depth|}}}
| label85 = Normal elevation
| data85 = {{{lower_res_elevation|}}}
| label86 = Tidal range
| data86 = {{{lower_res_tidal_range|}}}
| header87 = {{#if:{{{plant_name|}}}{{{plant_coordinates|}}}{{{plant_operator|}}}{{{plant_commission|}}}{{{plant_decommission|}}}{{{plant_type|}}}{{{plant_hydraulic_head|}}}{{{plant_turbines|}}}{{{plant_capacity|}}}{{{plant_capacity_factor|}}}{{{plant_storage_hours|}}}{{{plant_annual_gen|}}}|{{{plant_name|Power Station}}}}}
| label88 = Coordinates
| data88 = {{#if:{{{plant_coordinates|}}}
|{{#invoke:Coordinates|coordinsert|{{{plant_coordinates}}}|type:landmark}}{{{plant_coord_ref|}}}
}}
| label89 = Operator(s)
| data89 = {{{plant_operator|}}}
| label90 = Commission date
| data90 = {{{plant_commission|}}}
| label91 = Decommission date
| data91 = {{{plant_decommission|}}}
| label92 = Type
| data92 = {{#switch:{{uc:{{{plant_type|}}}}}
|C=Conventional
|#default={{{plant_type|}}}
}}
| label93 = Hydraulic head
| data93 = {{{plant_hydraulic_head|}}}
| label94 = Turbines
| data94 = {{{plant_turbines|}}}
| label95 = Pump-generators
| data95 = {{{plant_pumpgenerators|}}}
| label96 = Pumps
| data96 = {{{plant_pumps|}}}
| label97 = Installed capacity
| data97 = {{#iferror: {{#expr:0+{{formatnum:{{{plant_capacity|}}}|R}} }}| {{{plant_capacity|}}} | {{{plant_capacity|}}} MW }}
| label98 = Capacity factor
| data98 = {{{plant_capacity_factor|}}}
| label99 = Overall efficiency
| data99 = {{{plant_efficiency|}}}
| label100 = Storage capacity
| data100 = {{{plant_storage_hours|}}}
| label101 = Net generation
| data101 = {{#iferror: {{#expr:0+{{formatnum:{{{plant_annual_gen|}}}|R}} }}| {{{plant_annual_gen|}}} | {{{plant_annual_gen|}}} GW·h }}
| data102 = {{#if:{{{website|}}}|Website
{{{website|}}}}}
| below = {{{extra|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|_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_volumetric_flow_rate|spillway_type2|spillway_capacity2|spillway_length2|spillway_volumetric_flow_rate2|spillway_type3|spillway_capacity3|spillway_length3|spillway_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_volumetric_flow_rate|lower_spillway_type2|lower_spillway_capacity2|lower_spillway_length2|lower_spillway_volumetric_flow_rate2|lower_spillway_type3|lower_spillway_capacity3|lower_spillway_length3|lower_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|qid|website|extra|embed
}}{{main other|{{#ifexpr:{{#invoke:Is instance|main|qid={{{qid|}}}|value=Q12323}}||Category:Pages using infobox dam which are not about dams}}}}
{{Documentation}}