Template talk:Infobox cave
This is the talk page for discussing improvements to the Infobox cave template. |
|
Archives: 1Auto-archiving period: 365 days |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
This page has archives. Sections older than 365 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
Need more measurements
[edit]It seems pretty daft that this template has no parameters for the (max.) width and height (internal) of a cave, since this information is obviously of high interest and often readily available. I'm not sure many people care about a cave that's 2 miles long but too small to get into for most people. Most of the notable caves are notable for massive chambers. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 13:13, 26 January 2016 (UTC)
- In most cases the "length" given is based on what has been surveyed by cavers, and includes only that portion that a human can fit down. 86.24.39.42 (talk) 18:35, 19 October 2024 (UTC)
Should add an attribute to have built in period?
[edit]Should add an attribute to have built in period? — Preceding unsigned comment added by Pratyk321 (talk • contribs) 05:01, September 29, 2019 (UTC)
Mapbox
[edit]I've placed the code on Template:Infobox cave/sandbox to support the interactive Mapbox maps, which are already in use by many other infobox templates. If you have any questions, comments or concerns, please let me know. I would ideally like to merge this into the main Infobox cave template, but am waiting for consensus. If you'd like to see how this looks on a page, please see Hang Sơn Đoòng (note that the zoom has been adjusted from 10 to 4). The coordinates are pulled from Wikidata. Daylen (talk) 19:22, 15 April 2020 (UTC)
- I like maps. So I'm down. Leitmotiv (talk) 23:23, 15 April 2020 (UTC)
- @Daylen: Three questions:
- If you look at the testcases, you've broken the current maps. What's the plan for moving over to the new map?
- Why did you comment out the UK_grid_ref and Irish_grid_ref? They link to geohack and provide value to readers.
- What is the compelling reason for switching entirely over to the new map? Can we have both?
- — hike395 (talk) 16:23, 16 April 2020 (UTC)
- Great questions, Hike395! The testcases don't work because they aren't linked to Wikidata items. This won't be an issue in the article namespace, as bots move the coordinate data between projects already. Articles will automatically update to the new map once the code is moved over to the main infobox template! Article editors will have an option to disable it with
|mapframe=no
, in addition to parameters for height, width, marker icon design, zoom level and customizes coordinates. Before moving the code over to the main infobox template, the documentation will be updated. I've double-checked that UK_grid_ref and Irish_grid_ref aren't commented out; however, these new interactive maps integrate most of the GeoHack functionality already, plus provide a link to it. As described above, it can be disabled with the old map used instead, but it adds interactive functionality that allows readers to adjust zoom. I hope those answers help clarify any concerns. Have a great day! Daylen (talk) 00:46, 18 April 2020 (UTC)- There are a number of implementation issues that I have attempted to fix in the sandbox:
- If an editor supplies {{coords}} to the infobox, then that should override the Wikidata coordinates. This is consistent with the last RfC to discuss Wikidata use in infoboxes, where there is plenty of skepticism about the quality of WD information.
- We need to be able to test the infobox that derives information from Wikidata. The standard way of doing this is with a
|qid=
parameter. I've added that, and added a testcase that draws the map from Wikidata. - The current code allows editors to supply custom (image) maps via
|image_map=
. The original proposal deleted that code. I have restored it, in order not to break infoboxes that were carefully crafted. - The
|UK_grid_map=
and|Irish_grid_map=
go to geohack directly, so that people can view the Ordnance Survey maps. These Ordnance Survey grid references refer to Ordnance Survey maps, and readers will not want to go through another layer of indirection to see the Ordnance Survey maps. I think we should keep the use of the {{gbm4ibx}} and {{iem4ibx}}. This change is unrelated to using Kartographer. - The default zoom in Kartographer is too small, IMO. The purpose of the infobox map is, I would claim, to show where the cave is relative to well-known landmarks. I thus set the default zoom to show 400km. The Kartographer maps do not show political boundaries, so people unfamiliar with the location may not understand the context even at 400km zoom. For example, would someone from Austria know where Milwaukee, Wisconsin is?
- I kept the
|map_width=
argument, because editors may have used that to set the width of the map. I used the same previous default. - I tried to rename some the parameters to be easier to understand. I don't think most editors know what "mapframe" means.
- @Daylen: what do you think?
- While it's nice to have a zoomable map in the infobox, I'm concerned that Kartographer doesn't do a good job of showing a zoomed-out map. This may not be doing our readers a favor. I'm ambivalent about this change. — hike395 (talk) 18:11, 19 April 2020 (UTC)
- There are a number of implementation issues that I have attempted to fix in the sandbox:
- Great questions, Hike395! The testcases don't work because they aren't linked to Wikidata items. This won't be an issue in the article namespace, as bots move the coordinate data between projects already. Articles will automatically update to the new map once the code is moved over to the main infobox template! Article editors will have an option to disable it with