قالب:Period color
Usage
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 commision 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.
Example
{{Period color
|Devonian
}}
Produces:
rgb(221,150,81)
See also
Templates 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 قالب:Period color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |