Template talk:Infobox rockunit

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconInfoboxes
WikiProject iconThis 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.
WikiProject iconRocks and minerals NA‑class
WikiProject iconTemplate:Infobox rockunit is part of WikiProject Rocks and minerals, an attempt at creating a standardized, informative, comprehensive and easy-to-use rocks and minerals resource. If you would like to participate, you can choose to edit this article, or visit the project page for more information.
NAThis template does not require a rating on Wikipedia's content assessment scale.

Type section[edit]

The type section of a rock unit is not necessarily the place that it is named after. The Bracklesham Group for instance is named after Bracklesham in Sussex, but the type section is at Whitecliff Bay on the Isle of Wight. We need an extra parameter I think to separate these two different things. In many cases the two parameters will be the same, but there are a significant number that aren't, such as the Woolwich Formation, which is obviously named for Woolwich, but has a type section at Gilbert's Pit in Charlton, not a million miles away but they are not the same. Mikenorton (talk) 16:04, 9 April 2020 (UTC)[reply]

I agree. Perhaps |Namedfor= and |Namedby= should be moved into a new section titled "Naming" which could use new parameters for name origin and translation if the name isn't English. Volcanoguy 22:34, 30 June 2023 (UTC)[reply]

Text difficult to read on dark background[edit]

The black text and wikilinks seem hard to read when placed on the period color for Triassic, for example here: Hallstätterkalk Formation. If there is a way to add the background color template so that there is a white background for Triassic it would easier to read and make it more compliant with the MOS accessability guidelines. EdwardUK (talk) 14:56, 12 June 2021 (UTC)[reply]

Missing documentation: Age vs Period[edit]

@Hemiauchenia:I appreciate what is presently provided in the documentation, but use of the Age and Period could be better explained. I have been using literal interpretation of stating the geologic period in the {{{period}}} parameter and the geologic age in the {{{age}}} parameter (rather than absolute age), which is not exactly the correct use.

Part of the issue is that the function of these two parameters is that they are not entirely intuitive. If {{{age}}} is blank, then {{{period}}} works as expected; that is, with {{{age}}} blank, and the geologic period in the {{{period}}} parameter, then the {{{period}}} parameter works literally -- the stated geologic period appears (as this parameter no other function?).

So, it does not seem to be the case that the {{{age}}} is supposed to be the geologic age (fraction of Epoch/Period), but absolute time.

Also, it seems that if the {{{age}}} parameter is used, then the actual usefulness of the {{{period}}} parameter is occult (but actually explained as selecting the color).

Please, rather than me trying to reverse engineer the template, I would appreciate the documentation to more clearly state that the {{{age}}} is not the geologic age (e.g., Turonian) but the geologic time range, using whatever time scale term is entered in the field.

Some examples would help. I work with several units that either are fractional geologic ages (e.g., late-Turonian rather than Turonian ) or span ages (e.g., late-Turonian - early Coniacian). Yes, part of the answer is to use Template:Fossil range, but instructions of how to mix the terms would be appreciated.

Also, the linked edit above also suggests that {{{period}}} is not necessarily restricted to one of the defined periods, but may be some other standard geological interval.

IveGoneAway (talk) 14:47, 16 November 2021 (UTC) 17:20, 16 November 2021 (UTC)[reply]

The nomeclature is confusing, it has been discussed before at WT:GEOLOGY. It's best to use the period parameter for the most appropriate length of time with a standard ICS colour. Hemiauchenia (talk) 00:07, 17 November 2021 (UTC)[reply]
Thank you.
  1. Link me to the archived page you mean?
  2. Well, I typically add to instructions as I figure things out (please review).
  3. First thing is to link to explanation of WtH the international standard period colours are. (Ah, use the "next higher ranking interval" for units that straddle intervals.)
  4. Do you have a source for the Wellington dating? (Maybe 10 MA is enough for 700 feet of paper thin layers of dust?) It is rather astonishing how sparse the KSG is on the Wellington (except for the Crawford sink!).
IveGoneAway (talk) 02:55, 17 November 2021 (UTC)[reply]

Possible change for colour accessibility[edit]

As I found it very hard to read the section header text in infoboxes that are used for some of the periods, Triassic in particular, I have created an alternative in the sandbox (see testcases) which uses a similar style to the navbox/footer templates (for example {{Triassic footer}}. It keeps the period colours as side borders, but using light grey as an accessibility compliant contrast as the background to the text, this would also appear grey if no period is set, rather than the light blue which could be mistaken for some of the Jurassic ages/stages. As the template is used around 6,300 times, I would like to know if any editors have comments on any issues these changes may present or any suggestions or alternatives for improving the template, and also to establish consensus to make these changes. EdwardUK (talk) 15:35, 3 June 2023 (UTC)[reply]

I support implementation, seems like a very good plan from an accessibility standpoint and it looks really good to boot! --Licks-rocks (talk) 17:54, 3 June 2023 (UTC)[reply]
I'm neutral on proposed accessibility changes, but I support the change to grey rather than blue for the box when the period is unspecified. Hemiauchenia (talk) 18:33, 3 June 2023 (UTC)[reply]

Edit request[edit]

Making request as reasonable time since related wikiprojects informed of above discussion and no objections raised. Change to the section headers so that period colour displays as a border, and changing default colour to grey as can be seen on testcases page. Please change the lines: abovestyle=, headerstyle= and belowstyle= to match the version in the sandbox (but do not remove the #invoke:check section at the bottom) EdwardUK (talk) 13:47, 14 June 2023 (UTC)[reply]

 Done Great idea! — hike395 (talk) 12:19, 15 June 2023 (UTC)[reply]
The colour reduction right to the edges goes too far. The colour basically may as well have been removed entirely. It should go much closer to the text, rather than be confined to extremely tiny boxes on the edges. Hemiauchenia (talk) 19:18, 15 June 2023 (UTC)[reply]
Hmm, I'd be worried long names would force us to occasionally alter the width of the colour bars in that scenario, which might create a messy look? --Licks-rocks (talk) 19:25, 15 June 2023 (UTC)[reply]
I think it would look better if the size of colour bars were variable and defined by the edges of where the text is. Hemiauchenia (talk) 20:19, 15 June 2023 (UTC)[reply]
I am not sure if or how it would be possible to create variable width borders, but the border for the sub-headings can be increased without any issues if the text is always the same. I have tried increasing it in the sandbox and the testcases show it works with the various different skins. This is a fairly simple change so you can experiment to see what you think looks best. With the main header a larger border may increase the overall width of the infobox, or split the text over more than one line. The alternative I had considered using could be (instead of using borders) to change the text, or just the background immediately behind it, by using something like the Module:Color contrast (it is used for navboxes to change the "V-T-E" and "hide", and in Template:Episode table for the references). However, the coding looks to be quite complicated and I would have needed technical assistance for working out the necessary changes. EdwardUK (talk) 23:24, 15 June 2023 (UTC)[reply]
I would be happy if this change is only for the fixed text width sections, but I would still like to see them closer to the text than the current examples, maybe half the current gray-space that there is in those sandbox examples. Hemiauchenia (talk) 02:12, 16 June 2023 (UTC)[reply]

I like the current layout: it has parallel structure with, e.g., {{Triassic footer}}. — hike395 (talk) 03:26, 16 June 2023 (UTC)[reply]

I don't like the period footers. The purple that is univerisal across geologic period footers is particularly jarring with period colours, and should probably be changed to white for accessibility reasons. I feel that the gray of the updated rockunit infoboxes would probably also look better if replaced with a neutral white, which would increase the text contrast as a bonus. Hemiauchenia (talk) 03:39, 16 June 2023 (UTC)[reply]
That's a fair point about the jarring purple. Let me experiment with that. But I still like the small boxes of color. — hike395 (talk) 04:47, 16 June 2023 (UTC)[reply]
In the sandbox I have switched the background to white and increased the sub-header border width so this is closer to the maximum before "Type section" is split over two lines. It makes a slight difference with the MinervaNeue (mobile) skin, but I do not think this should be a problem. With regard to the footer templates {{Silurian footer}} seems more of a problem - it can be difficult to distinguish from the default navbox colour as the contrast is only 1.05:1 (whereas Triassic has 5.06:1), so it may be worth looking at ways to change this. EdwardUK (talk) 12:33, 16 June 2023 (UTC)[reply]
Working on a fix for the footers --- will bring up for discussion at WT:GEOLOGY shortly. — hike395 (talk) 18:39, 16 June 2023 (UTC)[reply]
I made a design in Template:Infobox rockunit/sandbox2 that is parallel to the proposal for the new footer design. You can see the design as the third column of the test cases --- I've shrank the period color boxes back to 33px, and used top and bottom 2px borders to provide visual continuity between the two boxes (which hopefully mitigates their decreased size). What do other editors think? Which one of these is preferable? — hike395 (talk) 19:28, 16 June 2023 (UTC)[reply]
I think sandbox2 looks good – the top/bottom borders help to clearly define the sections and the increased border width around the map also looks better. EdwardUK (talk) 15:28, 17 June 2023 (UTC)[reply]
 Implemented Please let me know if you see anything anomalous or broken. — hike395 (talk) 23:52, 22 June 2023 (UTC)[reply]

Volume[edit]

Given the fact that this infobox has a parameter for area it would make sense to also include a parameter for volume. Volcanoguy 19:04, 27 June 2023 (UTC)[reply]

I don't think volume is a commonly used variable in geology outside of oil geology, where it is used for the size of reservoirs, and not of rock units. I may be mistaken though.--Licks-rocks (talk) 20:45, 27 June 2023 (UTC)[reply]
Volume is definitely used outside of oil geology. I'm creating articles for geological formations that comprise a volcanic complex in British Columbia, Canada, and volume is available for all 13 formations. Volcanoguy 21:12, 27 June 2023 (UTC)[reply]
heh, this one is on me for being a surface guy. Completely forgot about magma chamber volumes and the like. --Licks-rocks (talk) 21:44, 27 June 2023 (UTC)[reply]
I have always assumed that "Area" was a subset of "Region" and have used that parameter as such. Areas and volumes are not, in my experience, available for most sedimentary units. Having said that, I see no problem with adding a "Volume" parameter, if that information is available, but I would caution against "calculating" volumes from any published areas combined with thicknesses that are often highly variable. Mikenorton (talk) 21:26, 27 June 2023 (UTC)[reply]
I've checked the area parameter again to make sure if it's a subset of "Region" and I don't think it is; it doesn't fall into the "Location" section of the infobox as do "Coordinates", "Region" and "Country". I'm not very familiar with sedimentology but I know volume is used in volcanology for calculating the amount of lava and tephra ejected from volcanic eruptions (e.g. Raspberry Formation, Lava Creek Tuff, Huckleberry Ridge Tuff, Mesa Falls Tuff). Volcanoguy 23:09, 27 June 2023 (UTC)[reply]
You're right, I'll need to try and track down those units where I've misused that parameter - it seemed logical enough at the time. Mikenorton (talk) 22:56, 29 June 2023 (UTC)[reply]