Template:YearColor

From HEROsector01
Jump to navigationJump to search


Documentation

This template takes in a single parameter representing a year and outputs a corresponding color.

The colors are as follows:

Input Color
2010 #1E5AA8
10
2011 #D67923
11
2011b #A5CA18
11b
2012 #3E3C39
12
2012b #AA7F2E
12b
2013 #00852B
13
2013b #00451A
13b
2014 #FFD300
14
2014b #49796B
14b
Throwbots #0018a8
Slizer
Roboriders #66ff00
Bionicle #06a265
(default) #808080

Examples

<div style="background-color:{{YearColor|2014}}">This element has 2014 coloring!</div>

produces:

This element has 2014 coloring!