Changes

Jump to navigation Jump to search
m
Bot: Migrating 1 interwiki links, now provided by Wikidata on d:q6402046
<noinclude>This template calculates the date of Easter according to Western Christianity. This year, for example, Easter falls on </noinclude>{{#ifeq:{{{format}}}|mdy
|{{#switch:{{Computus/p|{{{1|{{#time:Y}}}}}}}|3=March|4=April|#default=ERROR}}&nbsp;{{Computus/q|{{{1|{{#time:Y}}}}}}}
|{{Computus/q|{{{1|{{#time:Y}}}}}}}&nbsp;{{#switch:{{Computus/p|{{{1|{{#time:Y}}}}}}}|3=March|4=April|#default=ERROR}}
}}<noinclude>.

The template accepts two parameters.
*'''1''': The unnamed first parameter is the year for which the calculation is done (the default is the current year at UTC)
*'''format''': Setting this to <code>mdy</code> will put the month first.
For example, {{<code>computus|{{#time:Y|+1 year}}|format=mdy</code>}} gives "{{computus|{{#time:Y|+1 year}}|format=mdy}}".

[[Category:Date-computing templates based on current time]]
[[Category:Date-computing templates]]
</noinclude>
Anonymous user

Navigation menu