Changes

Jump to navigation Jump to search
no edit summary
<noinclude>This template calculates the date of Easter according to Eastern Christianity. This year, for example, Easter falls on </noinclude>{{#ifeq:{{{format}}}|mdy
|{{#switch:{{Pascha/p|{{{1|{{#time:Y}}}}}}}|4=April|5=May|#default=ERROR}}&nbsp;{{Pascha/q|{{{1|{{#time:Y}}}}}}}
|{{Pascha/q|{{{1|{{#time:Y}}}}}}}&nbsp;{{#switch:{{Pascha/p|{{{1|{{#time:Y}}}}}}}|4=April|5=May|#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>pascha|{{#time:Y|+1 year}}|format=mdy</code>}} gives "{{pascha|{{#time:Y|+1 year}}|format=mdy}}".

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

Navigation menu