Teamplaid:Period color
Ùsaid - Usage
[deasaich]Returns 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.
The rgb values in this chart were originally generated using Ogg's free TS creator to generate a chart, saved as an .svg, opened with Inkscape.
The template should be updated to use the values stated at https://engineering.purdue.edu/Stratigraphy/charts/stratchart.pdf (archived). Please be careful not to leave any spaces in the rgb() declaration.
Eisimpleir - Example
[deasaich]- {{Period color|Devonian}} → rgb(221,150,81)
That will appear in a wikitable or template as follows:
Period system |
---|
Devonian |
More examples:
Period system |
---|
Paibian |
Devonian |
Carnian |
Oxfordian |
Visean |
Sheinwoodian |
Middle Pennsylvanian |
Holocene |
This template can be used in navbars in the |titlestyle=
parameter:
|titlestyle=border-style:solid; border-color:transparent {{Period color|proterozoic}}; border-width: 0 2.7em;
See {{Proterozoic footer}} for how the color appears in the navbar's title bar.
Teamplaidean faid-ùine - Period templates
[deasaich]This list is incomplete. You may help by expanding it.
- Template:Next period
- Template:Period color
- Template:Period end
- Template:Period end error
- Template:Period id
- Template:Period infoboxes
- Template:Period span
- Template:Period span/brief
- Template:Period start
- Template:Period start error
- Template:Period start ref
The above documentation is transcluded from Teamplaid:Period color/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |