Changes

Jump to: navigation, search

Template:Pascha date

286 bytes added, 15:41, November 28, 2011
add year parameter
{{#time:F d Y |{{#time:F d| April 3 {{{year|{{CURRENTYEAR}}}}} }} + {{#expr:(((19 * ({{{year|{{CURRENTYEAR}}}}} mod 19)) + 16) mod 30)+(((2* ({{{year|{{CURRENTYEAR}}}}} mod 4))+(4*({{{year|{{CURRENTYEAR}}}}} mod 7) ) +(6 * (((19 * ({{{1|{{CURRENTYEAR}}}}} mod 19)) + 16) mod 30))) mod 7) }} day}}<noinclude>
 
----
This template displays the date of Pascha for the current year.
Usage: '''<nowiki>{{</nowiki>Pascha date<nowiki>}}</nowiki>'''  Or this template displays the date of Pascha for the year passed by the '''year''' parameter. Usage: '''<nowiki>{{</nowiki>Pascha date|year='''''nnnn'''''<nowiki>}}</nowiki>''' where ''nnnn'' is the year  
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]</noinclude>

Navigation menu