Difference between pages "Template:Infobox dam" and "Template:Infobox dam/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
imported>Joe Roe (Fixed noreplace) |
imported>Galobtter (try something) |
||
Line 1: | Line 1: | ||
− | + | {{#invoke:Type in location|main|{{#if:{{#invoke:String|match|{{PAGENAME}}|Power Station}}||{{#switch:{{uc:{{{dam_type|}}}}} | |
− | {{Infobox | + | |A=[[Arch dam]] |
+ | |B=[[Barrage (dam)|Barrage]] | ||
+ | |C=Combination gravity and earth fill dam | ||
+ | |E=[[Embankment dam]] | ||
+ | |F=[[Earth fill dam]] | ||
+ | |G=[[Gravity dam]] | ||
+ | |AG=[[Arch-gravity dam]] | ||
+ | |#default={{{dam_type|}}} | ||
+ | }}}}|{{{location|}}}{{#if:{{{country|}}}|, {{{country|}}}}}|check-patterns=[Dd]am;[Bb]arrage|invalidadd = dam}}{{Infobox | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| child = {{{child|{{{embed|}}}}}} | | child = {{{child|{{{embed|}}}}}} | ||
Line 12: | Line 20: | ||
| caption = {{{image_caption|}}} | | caption = {{{image_caption|}}} | ||
− | | image2 = {{#if: | + | | image2 = {{#if:{{{location_map|}}}|{{#if:{{{coordinates|}}}|{{Location map|{{{location_map}}} |
| relief = {{yesno|{{{location_map_relief|{{{relief|yes}}}}}}|no=|def=yes}} | | relief = {{yesno|{{{location_map_relief|{{{relief|yes}}}}}}|no=|def=yes}} | ||
| coordinates = {{{coordinates|}}} | | coordinates = {{{coordinates|}}} | ||
| float = center | | float = center | ||
− | |||
| width = {{{location_map_size|}}} | | width = {{{location_map_size|}}} | ||
| 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 = }}}}}} |
− | + | | caption2 = {{#if:{{{location_map_caption|}}}|{{{location_map_caption|}}}|Location of {{{name|{{PAGENAME}}}}} in {{{location_map|}}}}} | |
− | }} | ||
| label1 = Official name | | label1 = Official name | ||
Line 34: | Line 40: | ||
| label4 = Coordinates | | label4 = Coordinates | ||
− | | data4 = {{#if: {{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}}{{{coordinates_ref|}}}}} | + | | data4 = {{#if: {{{coordinates|}}} |
+ | |<small>{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}}{{{coordinates_ref|}}}</small> | ||
+ | }} | ||
| label5 = Purpose | | label5 = Purpose | ||
Line 40: | Line 48: | ||
|F=[[Flood control]] | |F=[[Flood control]] | ||
|I=[[Irrigation]] | |I=[[Irrigation]] | ||
− | |||
|N=[[Navigability|Navigation]] | |N=[[Navigability|Navigation]] | ||
|P=[[Hydroelectricity|Power]] | |P=[[Hydroelectricity|Power]] | ||
Line 71: | Line 78: | ||
| data11 = {{{builder|}}} | | data11 = {{{builder|}}} | ||
− | | label12 = | + | | label12 = Owner(s) |
− | | data12 = {{{ | + | | data12 = {{{owner|}}} |
− | | label13 = | + | | label13 = Operator(s) |
− | | data13 = {{{ | + | | data13 = {{{operator|}}} |
− | | | + | | header14 = {{#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}}}} |
− | | | ||
− | | | + | | label15 = [[Dam#Types of dams|Type of dam]] |
− | + | | data15 = {{#switch:{{uc:{{{dam_type|}}}}} | |
− | |||
− | | | ||
|A=[[Arch dam]] | |A=[[Arch dam]] | ||
|B=[[Barrage (dam)|Barrage]] | |B=[[Barrage (dam)|Barrage]] | ||
Line 90: | Line 94: | ||
|F=[[Earth fill dam]] | |F=[[Earth fill dam]] | ||
|G=[[Gravity dam]] | |G=[[Gravity dam]] | ||
− | |||
|AG=[[Arch-gravity dam]] | |AG=[[Arch-gravity dam]] | ||
|#default={{{dam_type|}}} | |#default={{{dam_type|}}} | ||
}} | }} | ||
− | | | + | | label16 = Impounds |
− | | | + | | data16 = {{{dam_crosses|}}} |
− | | | + | | label17 = Height<!-- DEPRECIATED. If possible, please use one or more specific height fields below --> |
− | | | + | | data17 = {{{dam_height|}}} |
− | | | + | | label18 = Height (foundation) |
− | | | + | | data18 = {{{dam_height_foundation|}}} |
− | | | + | | label19 = Height ([[thalweg]]) |
− | | | + | | data19 = {{{dam_height_thalweg|}}} |
− | | | + | | label20 = Length |
− | | | + | | data20 = {{{dam_length|}}} |
− | | | + | | label21 = Elevation at crest |
− | | | + | | data21 = {{{dam_elevation_crest|}}} |
− | | | + | | label22 = Width (crest) |
− | | | + | | data22 = {{{dam_width_crest|}}} |
− | | | + | | label23 = Width (base) |
− | | | + | | data23 = {{{dam_width_base|}}} |
− | | | + | | label24 = Dam volume |
− | | | + | | data24 = {{{dam_volume|}}} |
− | | | + | | label25 = [[Spillway]]s |
− | | | + | | data25 = {{{spillway_count|}}} |
− | | | + | | label26 = Spillway type |
− | | | + | | data26 = {{{spillway_type|}}} |
− | | | + | | label27 = Spillway capacity |
− | | | + | | data27 = {{{spillway_capacity|}}} |
− | | | + | | header28 = {{#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}}}} |
− | | | ||
− | | | + | | label29 = Creates |
− | | | + | | data29 = {{{res_name|}}} |
− | | | + | | label30 = Total capacity |
− | | | + | | data30 = {{{res_capacity_total|}}} |
− | | | + | | label31 = Active capacity |
− | | | + | | data31 = {{{res_capacity_active|}}} |
− | | | + | | label32 = Inactive capacity |
− | | | + | | data32 = {{{res_capacity_inactive|}}} |
− | | | + | | label33 = [[Drainage basin|Catchment area]] |
− | | | + | | data33 = {{{res_catchment|}}} |
− | | | + | | label34 = Surface area |
− | | | + | | data34 = {{{res_surface|}}} |
− | | | + | | label35 = Maximum length |
− | | | + | | data35 = {{{res_max_length|}}} |
− | | | + | | label36 = Maximum width |
− | | | + | | data36 = {{{res_max_width|}}} |
− | | | + | | label37 = Maximum water depth |
− | | | + | | data37 = {{{res_max_depth|}}} |
− | | | + | | label38 = Normal elevation |
+ | | data38 = {{{res_elevation|}}} | ||
− | | | + | | label39 = [[Tidal range|Tidal range]] |
− | | | + | | data39 = {{{res_tidal_range|}}} |
− | | | + | | header40 = {{#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}} |
− | | | ||
− | | | + | | label41 = [[Dam#Types of dams|Type of dam]] |
− | + | | data41 = {{#switch:{{uc:{{{lower_dam_type|}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
|A=[[Arch dam]] | |A=[[Arch dam]] | ||
|B=[[Barrage (dam)|Barrage]] | |B=[[Barrage (dam)|Barrage]] | ||
Line 206: | Line 179: | ||
|F=[[Earth fill dam]] | |F=[[Earth fill dam]] | ||
|G=[[Gravity dam]] | |G=[[Gravity dam]] | ||
− | |||
|AG=[[Arch-gravity dam]] | |AG=[[Arch-gravity dam]] | ||
|#default={{{lower_dam_type|}}} | |#default={{{lower_dam_type|}}} | ||
}} | }} | ||
− | | | + | | label42 = Impounds |
− | | | + | | data42 = {{{lower_dam_crosses|}}} |
− | | | + | | label43 = Height<!-- DEPRECIATED. If possible, please use one or more specific height fields below --> |
− | | | + | | data43 = {{{lower_dam_height|}}} |
− | | | + | | label44 = Height (foundation) |
− | | | + | | data44 = {{{lower_dam_height_foundation|}}} |
− | | | + | | label45 = Height ([[thalweg]]) |
− | | | + | | data45 = {{{lower_dam_height_thalweg|}}} |
− | | | + | | label46 = Length |
− | | | + | | data46 = {{{lower_dam_length|}}} |
− | | | + | | label47 = Elevation at crest |
− | | | + | | data47 = {{{lower_dam_elevation_crest|}}} |
− | | | + | | label48 = Width (crest) |
− | | | + | | data48 = {{{lower_dam_width_crest|}}} |
− | | | + | | label49 = Width (base) |
− | | | + | | data49 = {{{lower_dam_width_base|}}} |
− | | | + | | label50 = Dam volume |
− | | | + | | data50 = {{{lower_dam_volume|}}} |
− | | | + | | label51 = [[Spillway]]s |
− | | | + | | data51 = {{{lower_spillway_count|}}} |
+ | | label52 = Spillway type | ||
+ | | data52 = {{{lower_spillway_type|}}} | ||
− | | | + | | label53 = Spillway capacity |
− | | | + | | data53 = {{{lower_spillway_capacity|}}} |
− | | | + | | header54 = {{#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}} |
− | | | ||
− | | | + | | label55 = Creates |
− | | | + | | data55 = {{{lower_res_name|}}} |
− | | | + | | label56 = Total capacity |
− | | | + | | data56 = {{{lower_res_capacity_total|}}} |
− | | | + | | label57 = Active capacity |
− | | | + | | data57 = {{{lower_res_capacity_active|}}} |
− | | | + | | label58 = Inactive capacity |
− | | | + | | data58 = {{{lower_res_capacity_inactive|}}} |
− | | | + | | label59 = [[Drainage basin|Catchment area]] |
− | | | + | | data59 = {{{lower_res_catchment|}}} |
− | | | + | | label60 = Surface area |
− | | | + | | data60 = {{{lower_res_surface|}}} |
− | | | + | | label61 = Maximum length |
− | | | + | | data61 = {{{lower_res_max_length|}}} |
− | | | + | | label62 = Maximum width |
− | | | + | | data62 = {{{lower_res_max_width|}}} |
− | | | + | | label63 = Maximum water depth |
− | | | + | | data63 = {{{lower_res_max_depth|}}} |
− | | | + | | label64 = Normal elevation |
− | | | + | | data64 = {{{lower_res_elevation|}}} |
− | | | + | | label65 = [[Tidal range|Tidal range]] |
+ | | data65 = {{{lower_res_tidal_range|}}} | ||
− | | | + | | header66 = {{#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}}}}} |
− | | | ||
− | | | + | | label67 = Coordinates |
− | + | | data67 = {{#if:{{{plant_coordinates|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
|<small>{{#invoke:Coordinates|coordinsert|{{{plant_coordinates}}}|type:landmark}}{{{plant_coord_ref|}}}</small> | |<small>{{#invoke:Coordinates|coordinsert|{{{plant_coordinates}}}|type:landmark}}{{{plant_coord_ref|}}}</small> | ||
}} | }} | ||
− | | | + | | label68 = Operator(s) |
− | | | + | | data68 = {{{plant_operator|}}} |
− | | | + | | label69 = Commission date |
− | | | + | | data69 = {{{plant_commission|}}} |
− | | | + | | label70 = Decommission date |
− | | | + | | data70 = {{{plant_decommission|}}} |
− | | | + | | label71 = [[Hydroelectricity#Generating methods|Type]] |
− | | | + | | data71 = {{#switch:{{uc:{{{plant_type|}}}}} |
|C=Conventional | |C=Conventional | ||
|P=[[Pumped-storage hydroelectricity|Pumped-storage]] | |P=[[Pumped-storage hydroelectricity|Pumped-storage]] | ||
Line 338: | Line 279: | ||
}} | }} | ||
− | | | + | | label72 = [[Hydraulic head]] |
− | | | + | | data72 = {{{plant_hydraulic_head|}}} |
− | |||
− | |||
− | |||
− | | | + | | label73 = Turbines |
− | | | + | | data73 = {{{plant_turbines|}}} |
− | | | + | | label74 = Pump-generators |
− | | | + | | data74 = {{{plant_pumpgenerators|}}} |
− | | | + | | label75 = Pumps |
− | | | + | | data75 = {{{plant_pumps|}}} |
− | | | + | | label76 = Installed capacity |
− | | | + | | data76 = {{#iferror: {{#expr:0+{{formatnum:{{{plant_capacity|}}}|R}} }}| {{{plant_capacity|}}} | {{{plant_capacity|}}} [[Megawatt|MW]] }} |
− | | | + | | label77 = [[Capacity factor|Capacity factor]] |
− | | | + | | data77 = {{{plant_capacity_factor|}}} |
− | | | + | | label78 = [[Energy storage#Storage capacity|Storage capacity]] |
− | | | + | | data78 = {{{plant_storage_hours|}}} |
− | | | + | | label79 = [[Net generation|{{#if:{{{plant_annual_gen_year|}}}|{{{plant_annual_gen_year}}}|Annual}} generation]] |
− | | | + | | data79 = {{#iferror: {{#expr:0+{{formatnum:{{{plant_annual_gen|}}}|R}} }}| {{{plant_annual_gen|}}} | {{{plant_annual_gen|}}} [[GW·h]] }} |
− | | | + | | data80 = {{#if:{{{website|}}}|'''Website'''<br/><span class="plainlinks">{{{website|}}}</span>}} |
| below = {{{extra|}}} | | below = {{{extra|}}} | ||
− | }} | + | }} |
− | |||
− | |||
− |