Template:Year article header/year number/doc

This template is indirectly used by Template:Year article header and directly by Template:Year article header/zc to display the year of the millennium, year of the century, year of the decade, decade number, and century number. It's also modified when the year of the century is 100 to add "and last," same for 1000th of millennium.