Template:Period color/doc

From Simple English Wikipedia, the free encyclopedia

Usage[change source]

Returns the correct colour for a geological period. Currently requires expansion to work with all periods.

The colours originally used 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 has been updated to use the values stated at https://engineering.purdue.edu/Stratigraphy/charts/RGB.pdf. Please be careful not to leave any spaces in the rgb() declaration when editing this template.

Spacing[change source]

When changing this template.

How to use this template on a page[change source]

Example 1:

|{{period color|archaean}}

Makes this:


Example 2: | style="background:{{period color|archaean}}" | Archaean

Makes this:

Period name and color
Archaean

"Templates & Tables"


Example 3: <span style="background:{{period color|archaean}};padding:1px;">Archaean</span>

Makes this: Archaean
"Plain text (padding)"

Related Pages[change source]