This template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.InfoboxesWikipedia:WikiProject InfoboxesTemplate:WikiProject InfoboxesInfoboxes
This template is within the scope of WikiProject Dams, a collaborative effort to improve the coverage of Dams on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.DamsWikipedia:WikiProject DamsTemplate:WikiProject DamsDam
Wikidata awareness
I am planning to make this template more Wikidata aware, which means it will use data from Wikidata if no local parameter is defined. It already does this with the image, which is working well. — Martin (MSGJ · talk) 07:10, 13 September 2022 (UTC)[reply]
Thanks for letting me know. What even is a hectometre? Is this a standard unit and if so should I ask for the template to accommodate it? — Martin (MSGJ · talk) 21:18, 3 October 2022 (UTC)[reply]
@MSGJ A hm3 is: "Cubic hectometre": the volume of a cube of side length one hectometre (100 m). 1 hm3 = 1,000,000 m3. So convert will already handle conversion from metric to imperial if given e6m3. But it doesn't directly recognize hm3 as the equivalent of e6m3. It would probably be easy for convert to handle hm3 also if there is a need. If there are only 13 articles out of 6 million affected, they could be manually edited instead. You could bring it up at the convert TP. MB00:06, 4 October 2022 (UTC)[reply]
e6m3 is hardly readable, so I assume it is rendered in a more human-friendly form by the template. I'll post over there. — Martin (MSGJ · talk) 06:54, 4 October 2022 (UTC)[reply]
The main barrier to making this template Wikidata-aware is that it is used by dams, reservoirs and hydro-electric power stations, so it is necessary to know what type of article we are on so that the data can be displayed accurately. For example, "volume" could refer to volume of dam or volume of water in the reservoir, "height" could refer to the height of the dam or the height of the building the power station is housed in. I have asked at WT:DAMS whether reservoirs should be using this template or not. — Martin (MSGJ · talk) 15:18, 4 October 2022 (UTC)[reply]
I'm wondering if the image behaviour would be worth mentioning in the parameter documentation? At Kaeng Krachan Dam, an "Image requested" tag has been added at the Talk. I saw that the Infobox already had an image, but without the image parameter. I eventually figured out that it was taking the image from the Wikidata item. Thanks, Declangi (talk) 23:57, 8 October 2023 (UTC)[reply]
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)[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]
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: