Jump to content

Template talk:Period color

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Update

[edit]

This template is out of date:

Tobias1984 (talk) 09:18, 9 November 2012 (UTC)[reply]

Please could you make the required changes to Template:Period color/sandbox and reactivate the request? — Martin (MSGJ · talk) 12:14, 9 November 2012 (UTC)[reply]
I've also made a handy table for you at Template:Period color/testcases so that you can compare the colours between the sandbox and the main template. — Mr. Stradivarius (have a chat) 13:14, 9 November 2012 (UTC)[reply]
Thank you "MSGJ" and "Mr. Stradivarius". --Tobias1984 21:23, 14 November 2012 (UTC)

I'm done with the updates and added all the missing stages. --Tobias1984 22:36, 14 November 2012 (UTC)

DoneMr. Stradivarius (have a chat) 11:08, 15 November 2012 (UTC)[reply]
Thank you Stradivarius for your quick response. I updated the sandbox version once more because I had two typos in it and some Silurian stages were missing. Sorry, I should have double checked yesterday. --Tobias1984 (talk) 15:16, 15 November 2012 (UTC)[reply]
 Done — Martin (MSGJ · talk) 16:17, 15 November 2012 (UTC)[reply]


Please update the colors to [1] [2] January 2013 or whater wins on this discussion to define which set wins Wikipedia talk:WikiProject Geology#Template color changes 24.218.110.195 (talk) 23:03 26 March 2013 (UTC) 7:03pm 3/26/2013 EDT.

Invalid areas of the code

[edit]

Please, change this invalid areas of the code

  |late cretaceous|upper cretaceous=rgb(166,212,104)
   |berriasian=rgb(243,242,156)
   |berriasian=rgb(234,237,147)
   |berriasian=rgb(222,231,138)
   |berriasian=rgb(209,227,130)
   |berriasian=rgb(195,223,121)
   |berriasian=rgb(181,218,113)
  |early cretaceous|lower cretaceous=rgb(126,205,116)
   |pliocene=rgb(254,248,166)
    |pliocene=rgb(254,250,200)
    |zanclean=rgb(254,249,189)

to correct

  |late cretaceous|upper cretaceous=rgb(166,212,104)
   |maastrichtian=rgb(243,242,156)
   |campanian=rgb(234,237,147)
   |santonian=rgb(222,231,138)
   |coniacian=rgb(209,227,130)
   |turonian=rgb(195,223,121)
   |cenomanian=rgb(181,218,113)
  |early cretaceous|lower cretaceous=rgb(126,205,116)
   |pliocene=rgb(254,248,166)
    |piacenzian=rgb(254,250,200)
    |zanclean=rgb(254,249,189)

Berriasian is subdivision of the Lower Cretaceous. In this template, the "berausian" name was inadvertently used for subdivisions of the Upper Cretaceous: Maastrichtian, Campanian, Santonian, Coniacian, Turonian and Cenomanian. And similar error in the color code pliocene - piacenzian. Aleksey (Alnagov (talk) 17:07, 30 March 2013 (UTC))[reply]

Done --Redrose64 (talk) 12:21, 31 March 2013 (UTC)[reply]

Order Mixed Up

[edit]

{{Devonian}} On the Geologic time scale The Frasnian comes before the Famennian. On this template someone mixed up that order so that the Famennian goes before the Frasnian. The table to the right shows the correct order. Red means the error in the template now. Bold means that is the way once correct. Please correct the order.

 |devonian=rgb(221,150,81)
  |upper devonian|late devonian=rgb(244,224,169)
   |frasnian=rgb(243,235,204)
   |famennian=rgb(244,234,185)
  |middle devonian|mid devonian=rgb(246,200,122)
   |givetian=rgb(245,222,148)
   |eifelian=rgb(245,211,134)

To the correct order.

 |devonian=rgb(221,150,81)
  |upper devonian|late devonian=rgb(244,224,169)
   |famennian=rgb(243,235,204)
   |frasnian=rgb(244,234,185)
  |middle devonian|mid devonian=rgb(246,200,122)
   |givetian=rgb(245,222,148)
   |eifelian=rgb(245,211,134)

24.218.110.195 (talk) 01:13 30 April 2013 (UTC) 9:13pm 4/29/2013 EDT.

References

Not done: The Frasnian was indeed earlier than the Famennian, but the timeline is shown with most recent at the top - like the rock strata - and so the order is correct. Please note that in the MediaWiki {{#switch:}} parser function, the order that the different cases are listed in is immaterial. Exchanging these two in the {{#switch:}} will not affect the order in which they are shown in the timeline. --Redrose64 (talk) 08:40, 30 April 2013 (UTC)[reply]
Template:Period color was ordered that the youngest is at the top and the oldest at the bottom. The Frasnian is older then the Famennian. So the Frasnian should go below the Famennian. Right now it's reversed so you have to fix it. Look at the table on the right before you edit it. The colors are messed up because of this error. 24.218.110.195 (talk) 20:36 30 April 2013 (UTC) 4:36pm 4/30/2013 EDT.
Looks more like the colors are mixed up and not the names. --Tobias1984 (talk) 20:55, 30 April 2013 (UTC)[reply]
24.218.110.195 - I did look at the table on the right, very carefully: the Frasnian is definitely below the Famennian, not reversed, so no fix is necessary. If you believe that the colours are wrong, this is a matter of style not accuracy; so you should seek opinions at Wikipedia talk:WikiProject Geology first (see WP:EDITREQ), so Not done: please establish a consensus for this alteration before using the {{edit protected}} template. --Redrose64 (talk) 21:18, 30 April 2013 (UTC)[reply]
The sequence can be any in this template, it does not matter. Error in the fact that the colour of the Famennian Stage is assigned to the Frasnian Stage, colour of the Frasnian is assigned to the Famennian. Aleksey (Alnagov (talk) 21:34, 30 April 2013 (UTC))[reply]
Not there. The template order is reversed not the table. The color part is. Read every single comment carefully before you comment. 24.218.110.195 (talk) 00:20 30 April 2013 (UTC) 8:20pm 4/30/2013 EDT.
Not done: please establish a consensus for this alteration before using the {{edit protected}} template. Who is to say that the colours are right or wrong? --Redrose64 (talk) 06:59, 1 May 2013 (UTC)[reply]

Discussion of this problem started at Wikipedia talk:WikiProject Geology#Template: Period color. New debates Aleksey (Alnagov (talk) 10:22, 1 May 2013 (UTC))[reply]

As of 2015, two years later, the colors are STILL reversed: color established for Fammenian is given here as Frasnian and vice versa. Do fix this! Szczureq (talk) 11:04, 16 July 2015 (UTC)[reply]
And @Redrose64: who's to say the colours are wrong? The Commission for the Geological Map of the World (CGMW) is. Szczureq (talk) 11:08, 16 July 2015 (UTC)[reply]
So where is the consensus that I asked for? The discussion linked above was archived to Wikipedia talk:WikiProject Geology/Archive 3#Template: Period color. New debates and it seems inconclusive. --Redrose64 (talk) 12:58, 16 July 2015 (UTC)[reply]
I've read this debate. The second question (about the general palette) is left without conclusive answer. The mistake I'm referring to is a matter of the first question and the conclusion was reached, as it was rather obvious: two votes for interchangining colors (quote: It's funny, but your votes are needed to correct this mistake). The choice of particular set of shades is of secondary importance. Szczureq (talk) 19:51, 16 July 2015 (UTC)[reply]

Edit request "Unfererenced codes"

[edit]

I dug everywhere on the internet for a geological timescale rgb codes that said "phanerozoic=rgb(111,218,237)---|eoarchean=rgb(238,0,125) |hadean=rgb(203,3,129)" but found none. Some remarks:

We should not be using invented colors, we have to use the only ref that has the codes that most geological timescale websites and most Wikipedias use. Codes that use this ref is shown below.

{{#switch:{{lc:{{period translator|{{{1}}}}}}}
 |phanerozoic=rgb(154,217,221)
  |cenozoic|cainozoic=rgb(242,249,29)
  |quaternary=rgb(249,249,127)
   |holocene=rgb(254,242,224)
   |pleistocene=rgb(255,242,174)
    |upper pleistocene|tarantian=rgb(255,242,211)
    |middle pleistocene|ionian=rgb(255,242,199)
    |calabrian=rgb(255,242,186)
    |gelasian=rgb(255,237,179)
   |neogene=rgb(255,230,25)
    |pliocene=rgb(255,255,153)
     |piacenzian=rgb(255,255,191)
     |zanclean=rgb(255,255,179)
    |miocene=rgb(255,255,0)
     |messinian=rgb(255,255,115)
     |tortonian=rgb(255,255,102)
     |serravallian=rgb(255,255,89)
     |langhian=rgb(255,255,77)
     |burdigalian=rgb(255,255,65)
     |aquitanian=rgb(255,255,51)
   |paleogene|palaeogene=rgb(253,154,82)
    |oligocene=rgb(253,192,122)
     |chattian=rgb(254,230,170)
     |rupelian=rgb(254,217,154)
    |eocene=rgb(253,180,108)
     |priabonian=rgb(253,205,161)
     |bartonian=rgb(253,192,145)
     |lutetian=rgb(252,180,130)
     |ypresian=rgb(252,167,115)
    |paleocene|palaeocene=rgb(253,167,95)
     |thanetian=rgb(253,191,111)
     |selandian=rgb(254,191,101)
     |danian=rgb(253,180,98)
  |mesozoic=rgb(103,197,202)
   |cretaceous=rgb(127,198,78)
    |late cretaceous|upper cretaceous=rgb(166,216,74)
     |maastrichtian=rgb(242,250,140)
     |campanian=rgb(230,244,127)
     |santonian=rgb(217,239,116)
     |coniacian=rgb(204,233,104)
     |turonian=rgb(191,227,93)
     |cenomanian=rgb(179,222,83)
    |early cretaceous|lower cretaceous=rgb(140,205,87)
     |albian=rgb(204,234,151)
     |aptian=rgb(191,228,138)
     |barremian=rgb(179,223,127)
     |hauterivian=rgb(166,217,117)
     |valanginian=rgb(153,211,106)
     |berriasian=rgb(140,205,96)
   |jurassic=rgb(52,178,201)
    |late jurassic|upper jurassic=rgb(179,227,238)
     |tithonian=rgb(217,241,247)
     |kimmeridgian=rgb(204,236,244)
     |oxfordian=rgb(191,231,241)
    |mid jurassic|middle jurassic=rgb(128,207,216)
     |callovian=rgb(191,231,229)
     |bathonian=rgb(179,226,227)
     |bajocian=rgb(166,221,224)
     |aalenian=rgb(154,217,221)
    |early jurassic|lower jurassic=rgb(66,174,208)
     |toarcian=rgb(153,206,227)
     |pliensbachian=rgb(128,197,221)
     |sinemurian=rgb(103,188,216)
     |hettangian=rgb(78,179,211)
   |triassic=rgb(129,43,146)
    |late triassic|upper triassic=rgb(189,140,195)
     |rhaetian=rgb(227,185,219)
     |norian=rgb(214,170,211)
     |carnian=rgb(201,155,203)
    |mid triassic|middle triassic=rgb(177,104,177)
     |ladinian=rgb(201,131,191)
     |anisian=rgb(188,117,183)
    |lower triassic|early triassic=rgb(152,57,153)
     |olenekian=rgb(176,81,165)
     |induan=rgb(164,70,159)
  |paleozoic|palaeozoic=rgb(153,192,141)
   |permian=rgb(240,64,40)
    |late permian|upper permian|lopingian=rgb(251,167,148)
     |changhsingian=rgb(252,192,178)
     |wuchiapingian=rgb(252,180,162)
    |middle permian|mid permian|guadalupian=rgb(251,116,92)
     |capitanian=rgb(251,154,133)
     |wordian=rgb(251,141,118)
     |roadian=rgb(251,128,105)
    |early permian|lower permian|cisuralian=rgb(239,88,69)
     |kungurian=rgb(227,135,118)
     |artinskian=rgb(227,123,104)
     |sakmarian=rgb(227,111,92)
     |asselian=rgb(227,99,80)
   |carboniferous=rgb(103,165,153)
    |upper carboniferous|pennsylvanian=rgb(153,194,181)
     |upper pennsylvanian=rgb(191,208,186)
     |gzhelian=rgb(204,212,199)
     |kasimovian=rgb(191,208,197)
     |middle pennsylvanian|mid pennsylvanian=rgb(166,199,183)
     |moscovian=rgb(179,203,185)
     |lower pennsylvanian=rgb(140,190,180)
     |bashkirian=rgb(153,194,181)
    |lower carboniferous|mississippian=rgb(103,143,102)
     |upper mississippian=rgb(179,190,108)
     |serpukhovian=rgb(191,194,107)
     |middle mississippian=rgb(153,180,108)
     |visean=rgb(166,185,108)
     |lower mississippian=rgb(128,171,108)
     |tournaisian=rgb(140,176,108)
   |devonian=rgb(203,140,55)
    |upper devonian|late devonian=rgb(241,225,157)
     |famennian=rgb(242,237,197)
     |frasnian=rgb(242,237,173)
    |middle devonian|mid devonian=rgb(241,200,104)
     |givetian=rgb(241,225,133)
     |eifelian=rgb(241,213,118)
    |lower devonian|early devonian=rgb(229,172,77)
     |emsian=rgb(229,208,117)
     |pragian|praghian=rgb(229,196,104)
     |lochkovian=rgb(229,183,90)
   |silurian=rgb(179,225,182)
    |latest silurian|pridoli=rgb(230,245,225)
    |late silurian|upper silurian|ludlow=rgb(191,230,207)
     |ludfordian=rgb(217,240,223)
     |gorstian=rgb(204,236,221)
    |middle silurian|mid silurian|wenlock=rgb(179,225,194)
     |homerian=rgb(204,235,209)
     |sheinwoodian=rgb(191,230,195)
    |lower silurian|early silurian|llandovery=rgb(153,215,179)
     |telychian=rgb(191,230,207)
     |aeronian=rgb(179,225,194)
     |rhuddanian=rgb(166,220,181)
   |ordovician=rgb(0,146,112)
    |upper ordovician|late ordovician=rgb(127,202,147)
     |hirnantian=rgb(166,219,171)
     |katian=rgb(153,214,159)
     |sandbian=rgb(140,208,148)
    |middle ordovician|mid ordovician=rgb(77,180,126)
     |darriwilian=rgb(116,198,156)
     |dapingian=rgb(102,192,146)
    |lower ordovician|early ordovician|tremadoc|ashgill=rgb(26,157,111)
     |floian=rgb(65,176,135)
     |tremadocian=rgb(51,169,126)
   |cambrian=rgb(127,160,86)
    |furongian|cambrian series 4|series 4=rgb(179,224,149)
     |cambrian stage 10|stage 10=rgb(230,245,201)
     |jiangshanian|cambrian stage 9|stage 9=rgb(217,240,187)
     |paibian=rgb(204,235,174)
    |cambrian series 3|series 3|middle cambrian|mid cambrian=rgb(166,207,134)
     |guzhangian=rgb(204,223,170)
     |drumian=rgb(191,217,157)
     |cambrian stage 5|stage 5=rgb(179,212,146)
    |cambrian series 2|lower cambrian|series 2=rgb(153,192,120)
     |cambrian stage 4|stage 4=rgb(179,202,142)
     |cambrian stage 3|stage 3=rgb(166,197,131)
    |terreneuvian|cambrian series 1|series 1=rgb(140,176,108)
     |cambrian stage 2|stage 2=rgb(166,186,128)
     |fortunian|cambrian stage 1|stage 1=rgb(153,181,117)
|precambrian=rgb(247,67,112)
 |proterozoic=rgb(247,53,99)
  |neoproterozoic=rgb(254,179,66)
   |ediacaran=rgb(254,217,106)
   |cryogenian=rgb(254,204,92)
   |tonian=rgb(254,191,78)
  |mesoproterozoic=rgb(253,180,98)
   |stenian=rgb(253,217,154)
   |ectasian=rgb(253,204,138)
   |calymmian=rgb(253,192,122)
  |paleoproterozoic|palaeoproterozoic=rgb(247,67,112)
   |statherian=rgb(247,117,167)
   |orosirian=rgb(247,104,152)
   |rhyacian=rgb(247,91,137)
   |siderian=rgb(247,79,124)
 |archean|archaean=rgb(240,4,127)
  |neoarchean|neoarchaean=rgb(249,155,193)
  |mesoarchean|mesoarchaean=rgb(247,104,169)
  |paleoarchean|palaeoarchaean=rgb(244,68,159)
  |eoarchean|eoarchaean=rgb(230,29,140)
 |hadean=rgb(174,2,126)
}}<noinclude>{{documentación}}</noinclude>

Some alternatives is shown below.

24.218.110.195 (talk) 14:25 11 August 2013 (UTC) 10:25am 8/11/2013 EDT.

The colours were originally sourced from the RGB values provided by the IGS for their 2010 chart. If I recall correctly, I used the values that were hard-coded into the PDF available at http://stratigraphy.org/ICSchart/StratChart2010.pdf (Note that the colours do not reproduce correctly in the JPG to which you link). The colours look similar, or even identical, in the current charts, which can be downloaded from http://stratigraphy.org/index.php/ics-chart-timescale. (Again, be sure to use the PDFs for correct colour rendering.) It doesn't seem particularly contentious to suggest that we use the colours that are currently used by the international commission on stratigraphy — this seems much more logical than inventing our own esoteric colour scheme. Martin (Smith609 – Talk) 12:48, 13 August 2013 (UTC)[reply]
Most Wikipedias prefer to use the codes listed here "https://engineering.purdue.edu/Stratigraphy/charts/rgb.html". I think they are the only ref. But can you collect the 2013 values for use on this template and do you have this talk page on your watchlist because it took a long time for you to answer? That means I have set the request template back up.
I link the jpg pages because you have to copy into Windows 7 paint and use the pick color tool on the the colors then click more colors to see its code. Also the correct 2013 codes are in use on the Hungarian Wikipedia that I have a link above. 24.218.110.195 (talk) 17:37 13 August 2013 (UTC) 1:37pm 8/13/2013 EDT.
JPG files use lossy compression. If you use the pick tool ten times, you'll get ten different colours. --Redrose64 (talk) 17:57, 13 August 2013 (UTC)[reply]
You can use the hard coded values in the 2013 PDF file or use the codes listed in the engineering.purdue website for use on this wiki. We should not stick with the outdated invented values. Let's just not argue about the jpg file and pick color tool for values. User:Redrose64 the color for the Famennian stage is being used for the Frasnian stage, color for the Frasnian stage is being used for the Famennian stage. 24.218.110.195 (talk) 01:00 15 August 2013 (UTC) 9:00pm 8/14/2013 EDT.

Can this template be modified to transclude as hex?

[edit]

I haven't been able to get the period color to transclude into certain templates and I suspect it's because of the rgb formatting. Can it be modified to transclude as hexadecimal? Abyssal (talk) 15:38, 14 November 2017 (UTC)[reply]

@Abyssal: Examples please. --Redrose64 🌹 (talk) 21:24, 14 November 2017 (UTC)[reply]
@Redrose64: Nevermind, I was the one screwing up. Abyssal (talk) 01:27, 15 November 2017 (UTC)[reply]

Accessibility

[edit]

Some of these period colors are not appropriate as background for Wikipedia text links, because they fail accessibility and contrast check. See the following table:

Period Color Is black text OK? Is link text OK? Is visited link text OK?
Hadean   No No No
Paleozoic   Yes Yes Yes
Mesozoic   Yes No Yes
Triassic   No No No
Jurassic   Yes No Yes
Cretaceous   Yes No Yes
Paleogene   Yes No Yes
Neogene   Yes Yes Yes
Quaternary   Yes Yes Yes

hike395 (talk) 05:43, 3 January 2018 (UTC)[reply]

This is directly related to Wikipedia talk:WikiProject Geology#Proposal to convert eon, era, and epoch boxes to navboxes. --Redrose64 🌹 (talk) 11:43, 3 January 2018 (UTC)[reply]

Template-protected edit request on 13 March 2018

[edit]

The Famennian age is more recent than the Frasnian. The Famennian should therefore be listed above the Frasnian. Please change:

devonian=rgb(221,150,81)
   upper devonian late devonian=rgb(244,224,169)
    frasnian=rgb(243,235,204)
    famennian=rgb(244,234,185)

to:

devonian=rgb(221,150,81)
   upper devonian late devonian=rgb(244,224,169)
    famennian=rgb(243,235,204)
    frasnian=rgb(244,234,185)

Thank you. 124.168.107.149 (talk) 03:57, 13 March 2018 (UTC)[reply]

 Done but the order makes no difference at all to the functionality — Martin (MSGJ · talk) 08:24, 13 March 2018 (UTC)[reply]
The requestor wanted to swap the famennian and frasnian colors, not just swap the order. —hike395 (talk) 00:16, 14 March 2018 (UTC)[reply]
Ah, that makes a lot more sense.  Done — Martin (MSGJ · talk) 10:22, 14 March 2018 (UTC)[reply]
Thank you. Yes, you're assumption is correct, it was more the colour assigment that had been screwed up by the transposition of the similarlishly-named ages/stages when they were first added to the template.
Interestingly, I can see that a number of Users attempted to have this rectified nearly 5 years ago but RedRose64 was particularly adamant about not fixing it. Glad it's now sorted. 124.168.107.149 (talk) 12:07, 15 March 2018 (UTC)[reply]

Template-protected edit request on 18 March 2020

[edit]

holocene Benniboi01 (talk) 18:51, 18 March 2020 (UTC)[reply]

Sorry, did my request not go through? That's weird...My bad. I was asking if someone could add the Meghalayan, Northgrippian, and Greenlandian ages to this template, which were ratified by the ICS in July 2018. They should be inserted into the template like this:
holocene=rgb(254,241,224)
  meghalayan=rgb(insert rgb here)
  northgrippian=rgb(insert rgb here)
  greenlandian=rgb(insert rgb here)
When I sampled these three periods, they all had the same color, which was rgb(254,247,241) in GIMP. I'm not sure what wikipedia uses to sample the period colors, so feel free to check if this sampled value is correct. thanks! — Preceding unsigned comment added by Benniboi01 (talkcontribs) 19:39, 18 March 2020 (UTC)[reply]
 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. --Redrose64 🌹 (talk) 21:11, 19 March 2020 (UTC)[reply]
I've changed the template's sandbox to include my requested change, as you requested Redrose64. Can I make one addition to the request, if you're willing to carry it out? the 'middle pleistocene' has since Jan 2020 had a new, official name: the Chibanian. I was wondering if that could be added too, in this format:
|pleistocene=rgb(254,239,184)
    |upper pleistocene|tarantian=rgb(254,241,214)
    |middle pleistocene|ionian|chibanian=rgb(254,240,204)
    ...
I've already added the proposed addition above to the sandbox, as well. this section of the code would be right underneath the area I want my other code added. I'm pretty sure this is all ready for inserting. thank you for processing my request, again!Benniboi01 (talk) 19:02, 22 March 2020 (UTC)[reply]
 Done — Martin (MSGJ · talk) 21:38, 29 March 2020 (UTC)[reply]

Template-protected edit request on 17 September 2021

[edit]

I request that the entire code of the period color template be replaced with the code I have provided below.

I have found an up-to-date reliable source for the official ISC timescale color codes, a spreadsheet on the official ICS timescale website (here, under "additional chart resources") that lists them. The color codes we currently have in the template are outdated, so all of them have to be updated. I've already done the heavy lifting and updated all of the color codes in the sandbox. I also updated the organization of the template so that it isn't an absolute mess anymore. All that needs to be done is to delete all of the template code and replace it with the sandbox version. Benniboi01 (talk) 16:49, 17 September 2021 (UTC)[reply]

Please don't paste code blobs into talk pages, making your changes to the template's sandbox should be quite sufficient. --Redrose64 🌹 (talk) 22:06, 17 September 2021 (UTC)[reply]
 Done Excellent find, Benniboi! — hike395 (talk) 10:22, 18 September 2021 (UTC)[reply]

Template-protected edit request on 16 January 2023

[edit]

The corrected color code below should be put in place of the one that's currently there to fix it. the line in question is near the bottom of the template's code.

|paleoarchean|palæoarchean|palaeoarchean=rgb(244,68,159)

Benniboi01 (talk) 20:45, 16 January 2023 (UTC)[reply]

 Completed. P.I. Ellsworth , ed. put'r there 04:46, 17 January 2023 (UTC)[reply]