Template talk:Infobox dam

(Redirected from Template talk:Infobox dam/sandbox)
Latest comment: 26 days ago by GhostInTheMachine in topic Child

Infobox map with OpenStreetMap

edit

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)Reply

Please can you sandbox your proposed code? What is the benefit of OpenStreetMaps? — Martin (MSGJ · talk) 14:39, 29 March 2024 (UTC)Reply
@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)Reply
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)Reply
@MSGJ Also works well for Template:Infobox museum see Louvre article.

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)Reply
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)Reply

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

Dez Dam
 
 
Location of Dez Dam in Iran
 
Official nameDez
(Persian: دز)
CountryIran
LocationKhuzestan - Andimeshk
Coordinates32°36.3′N 48°27.8′E / 32.6050°N 48.4633°E / 32.6050; 48.4633
StatusOperational
Construction began1959
Opening date1963
Owner(s)Khuzestan Water & Power Authority
Dam and spillways
Type of damArch dam
ImpoundsDez River
Height203 m (666 ft)
Length380 m (1,247 ft)
Width (crest)27 m (89 ft)
Dam volume3460 MCM
Spillway capacity6,000 m3/s (210,000 cu ft/s)[1]
Reservoir
Total capacity3.34 km3 (2,710,000 acre⋅ft)
Surface area64.9 km2 (25.1 sq mi)[2]
Power Station
Commission date1962-1970
Turbines8 x 65 MW[2]
Installed capacity520 MW[2]
Annual generation1,783 GWh[2]
Website
dezdam.co.ir

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)Reply

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

References

  1. ^ "Dam and Reservoir Specification". Dez Dam Powerplant O&M Company (in Persian).
  2. ^ a b c d "New Page 1". www.khpimc.com. Archived from the original on July 13, 2011.

Edit request

edit

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)Reply

  Done, thanks for the suggestion — Martin (MSGJ · talk) 20:55, 4 September 2024 (UTC)Reply

Pushpin map marker lacks text

edit

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)Reply

Child

edit

Please add child to the list of valid parameters in Check for unknown parameters — it is an alias for embedGhostInTheMachine talk to me 10:00, 31 July 2025 (UTC)Reply