Template:Roll of years

Usage
This template is to be used on a page that represents a specific year. All year numbers are automatically calculated from the Dale Reckoning year. It takes two parameters:
 * The year number, in Dale Reckoning (without the "DR" at the end&mdash;just the number itself)
 * If the second parameter is set to any value (typically yes, but in the past this was the name of the year without "Year of" at the beginning) then the name of the year will be displayed by a call to Module:Years.

If the template is being used in the Main namespace, it places the page in which takes the year from the page name, removes the "DR", and adds 35,000 to use as the sortkey, then pads it with a space and enough zeros to make it a 5-digit sortkey.