Template:Ardayearheader

From Tolkien Gateway
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Template:Ardayearheader is a complicated template for generating opening text and an infobox on all year articles on J.R.R. Tolkien's works. The template will automatically create an appropriate opening descriptive sentence - with conversions to Valian Years or Shire-reckoning as appropriate - whilst creating a date-related infobox on the right-hand side.

Do not edit this template.

Usage

{{ardayearheader|1|2|3|4|5|6|7}}

Where:
1, 2, 3, 4, 5, 6 and 7 are the seven years that appear in the infobox on the right-hand side.

Unless at the start or end of a sequence (e.g. Fourth Age 220), 4 should be the current year of the article. If left blank, 4 will be the current year whilst - regardless of whether any of these articles exist - 1, 2, 3 will be the three preceding years and 5, 6, 7 will be the three following years.

If all the dates in the infobox are from the same age as the article itself you do not need to prefix the years with the age. E.g. the infobox for Third Age 490 is {{ardayearheader|435|462|480|490|492|500|515}}. However, this can be over-ruled by simply putting the year article in full; e.g. Third Age 3020 would be {{ardayearheader|3017|3018|3019|3020|3021|Fourth Age 1|Fourth Age 2}}