From World Afropedia
Jump to: navigation, search
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
| bodyclass    = vcard
 
| bodyclass    = vcard
  
| above        = {{{name|<includeonly>{{PAGENAME}}</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|}}}}}}}}|<center>{{Location map|{{{location_map}}}
+
|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|{{PAGENAME}}}}}}}</center>}}}}
+
|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        = Annual&nbsp;generation
+
|label49        = [[Capacity factor|Capacity&nbsp;factor]]
|data49        = {{{plant_annual_gen|}}}
+
|data49        = {{{plant_capacity_factor|{{{capacity_factor|}}}}}}
  
|data50        = {{#if:{{{website|}}}|'''Website'''<br/><span class="plainlinks">{{{website|}}}</span>}}
+
|label50        = Annual&nbsp;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 -->
{{#ifeq:{{{reservoir|♦}}}{{{reservoir_capacity|♦}}}{{{res_total_capacity|♦}}}{{{active_capacity|♦}}}{{{res_active_capacity|♦}}}{{{inactive_capacity|♦}}}{{{res_inactive_capacity|♦}}}{{{reservoir_catchment|♦}}}{{{reservoir_surface|♦}}}{{{reservoir_elevation|♦}}}{{{reservoir_max_depth|♦}}}{{{depth|♦}}}{{{reservoir_length|♦}}}{{{reservoir_max_width|♦}}}{{{tidal_range|♦}}}|♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦||[[Category:Infobox dam using deprecated parameters|ρ{{PAGENAME}}]]}}
+
{{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox dam with unknown parameters|_VALUE_{{PAGENAME}}]]
{{#ifeq:{{{plant_owner|♦}}}{{{com|♦}}}{{{plant_licence_exp|♦}}}{{{decom|♦}}}{{{conventional|♦}}}{{{run_of_river|♦}}}{{{tide|♦}}}{{{pumped_storage|♦}}}{{{hydraulic_head|♦}}}{{{turbines|♦}}}{{{installed_capacity|♦}}}{{{max_planned_cap|♦}}}{{{max_capacity|♦}}}{{{capacity_factor|♦}}}{{{average_annual_gen|♦}}}{{{annual_generation|♦}}}{{{net_generation|♦}}}|♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦||[[Category:Infobox dam using deprecated parameters|π{{PAGENAME}}]]}}
+
| 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:{{{bridge_carries|♦}}}{{{bridge_width|♦}}}{{{bridge_clearance|♦}}}{{{bridge_traffic|♦}}}{{{bridge_toll|♦}}}{{{bridge_id|♦}}}|♦♦♦♦♦♦||[[Category:Infobox dam using deprecated parameters|β{{PAGENAME}}]]}}
+
{{#ifeq:{{{res_total_capacity|♦}}}{{{res_active_capacity|♦}}}{{{res_inactive_capacity|♦}}}|♦♦♦||[[Category:Pages using infobox dam with deprecated parameters|ρ{{PAGENAME}}]]}}
{{#ifeq:{{{dam_name|♦}}}{{{alt|♦}}}{{{caption|♦}}}{{{lat|♦}}}{{{latitude|♦}}}{{{long|♦}}}{{{longitude|♦}}}{{{location_map_width|♦}}}{{{location_map_text|♦}}}{{{official_name|♦}}}{{{locale|♦}}}{{#switch:{{uc:{{{purpose|♦}}}}}|A|B|C|D|H=|#default=♦}}{{#switch:{{uc:{{{status|}}}}}|U=|#default=♦}}{{{began|♦}}}{{{commissioned|♦}}}{{{maint|♦}}}{{{open|♦}}}{{{type|♦}}}{{{height|♦}}}{{{height_thalweg|♦}}}{{{height_foundation|♦}}}{{{length|♦}}}{{{crest_width|♦}}}{{{base_width|♦}}}{{{width|♦}}}{{{curve_radius|♦}}}{{{volume|♦}}}{{{crest_elevation|♦}}}{{{crosses|♦}}}{{{spillways|♦}}}{{{url|♦}}}{{{as_of|♦}}}|♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦||[[Category:Infobox dam using deprecated parameters]]}}
+
{{#ifeq:{{{capacity_factor|♦}}}|♦||[[Category:Pages using infobox dam with deprecated parameters|π{{PAGENAME}}]]}}
{{#if:{{{owner|}}}|{{#ifeq:{{str left|{{{owner}}}|14}}|Maintained by|[[Category:Infobox dam using deprecated parameters|μ{{PAGENAME}}]]}}}}
+
{{#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