Open main menu

Changes

m
Reverted edits by Ladawg5566$ (talk) (HG) (3.1.22)
{{#ifeq:{{{type|}}}|module||
<noinclude>{{Documentation subpage}}</noinclude>
{{lua|Module:Year in various calendars}}
}}
{{Year in various calendars}}

This {{{type|template}}} produces the sidebar opposite displaying a given [[Gregorian calendar|Gregorian]] year in various different calendars.

===Syntax===
'''Simple'''
{{pre |{{braces|{{#ifeq:{{{type|}}}|module |{{hash}}invoke:Year in various calendars{{!}}main |Year in various calendars}}}} }}

'''All parameters'''
{{pre |{{braces|{{#ifeq:{{{type|}}}|module |{{hash}}invoke:Year in various calendars{{!}}main |Year in various calendars}} {{!}}year{{=}}''(n)'' {{!}}footnotes{{=}}''(footnotes)'' {{!}}gregcal{{=}}''(article name)''}} }}

===Parameters===
; year : Number specifying the year to be displayed. This can be negative and also can be in the format "''n BC''" to display BC dates or "''AD n''" as an alternative to a positive number. If not specified, the current year is used.
; footnotes : Any footnotes to be placed at the bottom of the sidebar.
; gregcal : Name of an article to be displayed for Gregorian and Julian years (e.g. "2000 BC"). Do not include square brackets.

===Microformat===
{{UF-hcal-auto}}

<includeonly>{{#ifeq:{{{type|}}}|module||{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Calendar templates]]

}}}}</includeonly>
Anonymous user