Module:British regnal year/doc explained

This module implements the template. It converts a year in the Gregorian calendar into a British regnal year.

Syntax

{{#invoke:British regnal year|main|

<nowiki>}}</nowiki>

Example

{{British regnal year|1952}} →

Data

The data for the module is stored in a table at . The module looks through the data list from newest to oldest, and returns the data for the first result where the input year is greater than or equal to the year value. The data table entries are organised as follows: