{{Year by category | cat = | sortkey = (this works on the year category or the optional subcategory entered in subcat) | in = (optional) | parent = (for example Elections by year) | subcat = (optional, if omitted cat will be put into the year category) }}