Template:Decades and years/box

|style="background: #"| This subtemplate creates a hyperlinked table element with the following specifications.
 * = namespace
 * = year/decade
 * = epoch AD or BC
 * = background colour code:
 * 0 = year not in the century
 * 1 = year in the century
 * 2 = decade not in the century
 * 3 = decade in the century