Changes

{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->

==Usage==
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 [https://engineering.purdue.edu/Stratigraphy/charts/stratchart.pdf international commission for stratigraphy].

The rgb values in this chart were originally generated using Ogg's free [http://www.tscreator.org 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===

When changing this template.

*Do not space for [[Supereon (geology)]]
*1 space for [[Eon]]
*2 spaces for [[Era]]
*3 spaces for [[Period (geology)]]
*4 spaces for [[Epoch (geology)]]
*5 spaces for [[Stage (Geology)]]

==How to use this template on a page==

Example 1:
:<code><nowiki>|{{period color|archaean}}</nowiki></code>
Makes this: {{period color|archaean}}



Example 2:
<code><nowiki>| style="background:{{period color|archaean}}" | Archaean</nowiki></code>

Makes this:
{| class="wikitable"
|-
! Period name and color
|-
| style="background:{{period color|archaean}}" | Archaean
|}
"Templates & Tables"



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

Makes this:
<span style="background:{{period color|archaean}};padding:1px;">Archaean</span><br>
"Plain text (padding)"

==Related Pages==

*[[Template:Period start]]
*[[Template:Period start error]]
*[[Template:Period end]]
*[[Template:Next period]]

<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Geological period templates]]

</includeonly>
Anonymous user