Template:Yearbox

Usage
Copy and paste this into the relevant article:

Example
Will produce this:

Note that no link brackets (  ) are needed as the template will automatically link relevant dates. The only optional field is the stardate field, if the stardate is not known leave the field blank.