Templat:Period color

Daripada Wikipedia, ensiklopedia bebas.
Lompat ke: pandu arah, cari
Documentation icon Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

Usage[sunting | sunting sumber]

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.

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[sunting | sunting sumber]

{{Period color
|Devonian }}

Produces:

rgb(211,160,80)

See also[sunting | sunting sumber]

Templat:Period data