Template:Year of contest

From EyeWiki

This template takes two parameters. The first is the name of a contest. The second is a date. The template will check what the deadline is for that year's contest. If it has not passed, it will send back the year of the date sent. If the deadline has passed, it will send back the following year.