Template:Decades and years/yearbox

{{documentation|content= Table element coloured according to whether the year belongs to the century.
 * {{{1}}} = namespace (deprecated, ignored)
 * {{{2}}} = year
 * {{{3}}} = century
 * {{{4}}} = epoch AD or BC

Subtemplates
}}
 * Decades and years/box