Template talk:Infobox dam#Parameter scan

{{User:MiszaBot/config

| algo = old(30d)

| archive = Template talk:Infobox dam/Archive %(counter)d

| maxarchivesize = 50T

| archiveheader = {{Automatic archive navigator}}

| minthreadstoarchive = 1

| minthreadsleft = 4

}}

{{Talk page header}}

{{WikiProject banner shell|

{{WikiProject Infoboxes}}

{{WikiProject Dams}}

}}

Typo in label

The label for pump–generators is “Pump-generators” (but clearly should be “Pump–generators”, according to all accepted typographical norms and English Wikipedia’s style guide), and I can’t figure out how to fix it. I fixed it in the description but am not seeing how to fix the infobox template itself. Could someone fix this or point me in the right direction? Stephan Leeds (talk) 04:56, 10 February 2024 (UTC)

Infobox map with OpenStreetMap

Hi, please add a new parameter for maps of OpenStreetMaps. The same as Template:Infobox museum. Thanks, Hooman Mallahzadeh (talk) 13:33, 29 March 2024 (UTC)

:Please can you sandbox your proposed code? What is the benefit of OpenStreetMaps? — Martin (MSGJ · talk) 14:39, 29 March 2024 (UTC)

::@MSGJ {{done}} at sandbox. Its benefit is the ability of zooming and the appearance of "textual metadata" that makes that more useable. Hooman Mallahzadeh (talk) 14:43, 29 March 2024 (UTC)

:::Ah yes, I've used it on Template:Infobox lighthouse and it works really well. I don't think we want two different maps, so if we are going to change then I think it should replace the location map completely. Do you agree? — Martin (MSGJ · talk) 14:46, 29 March 2024 (UTC)

::::@MSGJ Also works well for Template:Infobox museum see Louvre article.

::::{{Quote|I don't think we want two different maps}}

::::No. In my opinion, add this code exactly. This code adds no redundant maps. All maps are required. Hooman Mallahzadeh (talk) 14:51, 29 March 2024 (UTC)

:::::I will do some more testing, but I disagree (I think) with putting an additional map on the infobox. Space is at a premium and we should not duplicate information. I would be happy to consider a direct replacement of the map — Martin (MSGJ · talk) 00:03, 30 March 2024 (UTC)

@MSGJ We can use a new parameter for show/notShow, named for example ShowMap, which yields:

{{Infobox dam/sandbox

| ShowMap = yes

| mapframe-wikidata =yes

| mapframe-zoom =10

| name = Dez Dam

| name_official = Dez
({{langx|fa|دز}})

| image =

| image_size =

| image_caption =

| image_alt =

| location_map = Iran

| location_map_size =

| location_map_caption =

| coordinates = {{coord|32|36.3|N|48|27.8|E|type:landmark_region:IR|display=inline,title}}

| country = Iran

| location = Khuzestan - Andimeshk

| status = O

| construction_began = 1959

| opening = 1963

| demolished =

| cost =

| owner = Khuzestan Water & Power Authority

| dam_type = Arch dam

| dam_height = {{convert|203|m|ft|0|abbr=on}}

| dam_length = {{convert|380|m|ft|0|abbr=on}}

| dam_width_crest = {{convert|27|m|ft|0|abbr=on}}

| dam_width_base =

| dam_volume = 3460 MCM

| dam_crosses = Dez River

| spillway_count =

| spillway_type =

| spillway_capacity = {{convert|6000|m3/s|abbr=on}}{{Cite web|url=https://www.dezdam.co.ir/107/index.aspx|title=Dam and Reservoir Specification|website=Dez Dam Powerplant O&M Company|language=fa}}

| res_name =

| res_capacity_total = {{convert|3.34|km3|acre.ft|abbr=on}}

| res_catchment =

| res_surface = {{convert|64.9|km2|sqmi|abbr=on}}

| res_max_depth =

| res_tidal_range =

| plant_operator =

| plant_commission = 1962-1970

| plant_decommission =

| plant_type =

| plant_turbines = 8 x 65 MW{{cite web |url=http://www.khpimc.com/sample-project.htm |title= New Page 1|website=www.khpimc.com |archive-url=https://web.archive.org/web/20110713145427/http://www.khpimc.com/sample-project.htm |archive-date=July 13, 2011}}

| plant_capacity = 520 MW

| plant_annual_gen = 1,783 GWh

| website = {{website|dezdam.co.ir}}

| extra =

}}

In default case, it is not shown unless we set | ShowMap = yes. I sandboxed the scenario. Please inspect that. Thanks, Hooman Mallahzadeh (talk) 09:57, 30 March 2024 (UTC)

:@MSGJ@Jonesey95 Would you please apply the sandbox code? Thanks, Hooman Mallahzadeh (talk) 09:10, 5 April 2024 (UTC)

{{reftalk}}

Edit request

The link for label52 needs to just be Dam#Types. The "of dams" part was removed from the section name over a year ago. lukini (talk | contribs) 18:36, 4 September 2024 (UTC)

:{{done}}, thanks for the suggestion — Martin (MSGJ · talk) 20:55, 4 September 2024 (UTC)

Pushpin map marker lacks text

Hi, for example in W. A. C. Bennett Dam and Longhorn Dam, the pushpin maps can have title text nearby its locator in the map, lacking now. Please inspect. It should become something like pushpin map of Template:Infobox body of water template in the article E.V. Spence Reservoir. Thanks, Hooman Mallahzadeh (talk) 16:36, 12 April 2025 (UTC)