Content deleted Content added
expand |
Added the page to Category:Module documentation pages |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1:
{{module rating|
This module implements the {{tl|British regnal year}} template. It converts a year in the Gregorian calendar into a British [[regnal year]].
Line 9:
<nowiki>{{</nowiki><code>British regnal year|1952</code><nowiki>}}</nowiki> → {{British regnal year|1952}}
===
The data for the module is stored in a table at [[Module:British regnal year/data]]. 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 <code>year</code> value.
* <code>year</code> - the year that the template searches for when deciding what links to display. In most cases this is the year that the monarch's reign began, although it can be different if the history is complicated.
* <code>linkCurrent</code> - a wikilink to the current monarch's Wikipedia article.
Line 26 ⟶ 22:
* {{tl|year in other calendars}}
<noinclude>
[[Category:Module documentation pages]]
</noinclude>
|