Module:British regnal year: Difference between revisions

Content deleted Content added
add possibility to add notes at the end
m Changed protection settings for "Module:British regnal year": Up to template-protection as dependency of template-protected Module:Year in various calendars ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite))
 
(4 intermediate revisions by 3 users not shown)
Line 29:
end
local currentYear = tonumber( mw.language.getContentLanguage():formatDate( 'Y' ) )
-- The year 1066 is significant because it is when the Norman conquest of England occurred.
if inputYear < 1066 or inputYear > currentYear then
return "''N/A''"