Difference between revisions of "Template:Pascha date"

From OrthodoxWiki
Jump to: navigation, search
(new)
 
(add year parameter)
Line 1: Line 1:
{{#time:F d Y |{{#time:F d| April 3 {{CURRENTYEAR}} }} + {{#expr:(((19 * ({{CURRENTYEAR}} mod 19)) + 16) mod 30)+(((2* ({{CURRENTYEAR}} mod 4))+(4*({{CURRENTYEAR}} mod 7) ) +(6 * (((19 * ({{CURRENTYEAR}} mod 19)) + 16) mod 30))) mod 7) }} day}}<noinclude>
+
{{#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.
 
This template displays the date of Pascha for the current year.
  
Usage:  '''<nowiki>{{Pascha date}}</nowiki>'''
+
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>
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]</noinclude>

Revision as of 15:41, November 28, 2011

May 05 2024



This template displays the date of Pascha for the current year.

Usage: {{Pascha date}}


Or this template displays the date of Pascha for the year passed by the year parameter.

Usage: {{Pascha date|year=nnnn}}

where nnnn is the year