User:JavaRogers
Template:Geological range
; Demonstration:
Unmodified colours: {{Template:Geological range|300|30}}
CGMW colours: {{User:JavaRogers/Template:Geological range|300|30}}
; Changes:
- :User:JavaRogers/Template:Period font color
- * Created. Copied from original :Template:Period color
- * Takes the period name as its parameter
- * Returns either
white
orblack
, using the [http://ccgm.org/img/cms/2013%20Chart%20CGMW%20color%20codes.pdf CGMW color palette] for reference - :User:JavaRogers/Template:Fossil range/bar
- * Added a styled span around the link's display text.
- * Previously:
{{{2}}} - * Changed to:
{{{1}}} - * Note: Maybe this can be done more elegantly. I found the link overrides the color if the font is modified from outside the brackets.
- :User:JavaRogers/Template:Phanerozoic 220px
- * Previously:
{{fossil range/bar|Paleogene|Pg}} - * Changed to:
{{fossil range/bar|Paleogene|PG}}
; Summary:
- Symbol colors are controlled by :User:JavaRogers/Template:Period font color, to contrast with background colors better (using [http://ccgm.org/img/cms/2013%20Chart%20CGMW%20color%20codes.pdf CGMW color palette] for reference)
- Reformatted Paleogene symbol (PG) so it doesn't wrap on mobile