Bysen:Period color
Usage
adihtReturns the correct colour for a geological period. Currently requires expansion to work with all periods.
The colours use the World Geological Map (Paris) colours, the global standard used at by the international commission for stratigraphy.
To translate the colours into rgb values, I used Ogg's free TS creator to generate a chart, saved it as an .svg, and opened it with Inkscape. Anyone wanting to expand the template is welcome to use the same method! Please do not leave any spaces in the rgb() declaration.
The template should be updated to use the values stated at http://www.purdue.edu/stratigraphy/charts/RGB.pdf.
Example
adihtSee also
adihtTemplates for retrieving data about geological periods:
- {{period start}}
- {{period start error}}
- {{period end}}
- {{period end error}}
- {{period span}}
- {{next period}}
- {{period color}}
The above documentation is transcluded from Bysen:Period color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |