Template:YearColor
From BIONICLEsector01
Documentation
This template takes in a single parameter representing a year and outputs a corresponding color. It is used to color templates such as Template:Set.
The colors are as follows:
Input | Color |
---|---|
2001 | ■ #06a265 |
01 | |
2002 | ■ #b18f73 |
02 | |
2003 | ■ #3f4140 |
03 | |
2004 | ■ #be213c |
04 | |
2005 | ■ #4993c0 |
05 | |
2006 | ■ #ffa500 |
06 | |
2007 | ■ #800080 |
07 | |
2008 | ■ #99cc00 |
08 | |
2009 | ■ #c78f3a |
09 | |
2010 | ■ #ffb900 |
10 | |
2015 | ■ #66023c |
15 | |
2016 | ■ #e0115f |
16 | |
2023 | ■ #8ecaff |
23 | |
Throwbots | ■ #0018a8 |
Slizer | |
Roboriders | ■ #607040 |
(default) | ■ #808080 |
Examples
<div style="background-color:{{YearColor|2001}}">This element has 2001 coloring!</div>
produces:
This element has 2001 coloring!