Module:Easter/doc

MyWikiBiz, Author Your Legacy — Thursday November 14, 2024
< Module:Easter
Revision as of 21:23, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Easter

Module to calculate Easter dates and dates relative to Easter.

Calculate

Function to calculate Easter date or date of the event related to Easter.

arguments

Field Purpose Example argument
1 Year 2024 or 1882
method Calculation method of the Easter date:
Julian
original calculation for Julian calendar
Eastern or Orthodox
original calculation for Julian calendar converted to Gregorian calendar
Western or Roman or Gregorian
revised calculation for Gregorian calendar. This is default method if not given.
Eastern to calculate Easter date in the Orthodox rite.
day Name of the event related to Easter date or integer number of days before (negative) or after (positive) Easter Sunday. The following days are available by name:
Septuagesima
63 days before Easter – this is the earliest date returned by the function
Sexagesima
56 days before Easter
Fat Thursday
52 days before Easter
Quinquagesima
49 days before Easter, also Estomihi or Shrove Sunday
Shrove Monday
48 days before Easter, also Rose Monday
Shrove Tuesday
47 days before Easter, also Mardi Gras, Carnival or Pancake Day
Ash Wednesday
46 days before Easter
Invocabit Sunday
42 days before Easter
Reminiscere Sunday
35 days before Easter
Oculi Sunday
28 days before Easter
Mothering Sunday
21 days before Easter, also Laetare
Passion Sunday
14 days before Easter
Holy Week
7 days before Easter
Palm Sunday
7 days before Easter
Holy Monday
6 days before Easter
Holy Tuesday
5 days before Easter
Holy Wednesday
4 days before Easter, also Spy Wednesday
Maundy Thursday
3 days before Easter, also Last Supper
Good Friday
2 days before Easter, also Crucifixion
Holy Saturday
1 day before Easter
Easter
0 – neither before nor after – this is default value if not given, also Easter Sunday or Resurrection
Easter Monday
1 day after Easter
Divine Mercy
7 days after Easter
Misericordias Domini
14 days after Easter
Jubilate Sunday
21 days after Easter
Cantate Sunday
28 days after Easter
Vocem jucunditatis
35 days after Easter
Ascension Thursday
39 days after Easter
Pentecost
49 days after Easter, also Whitsun or Exaudi
Whit Monday
50 days after Easter
Trinity Sunday
56 days after Easter
Corpus Christi
60 days after Easter, also Body and Blood of Christ
Sacred Heart
68 days after Easter
Immaculate Heart
69 days after Easter
49 or interchangeably Pentecost
format Describes date format in the final output, which is the same as used in #time parser function. Default format is Y-m-d. There is a special value none that prevents from final date formatting. j xd

examples

{{#invoke:Easter|Calculate|{{CURRENTYEAR}}}}
2024-03-31
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern}}
2024-05-05
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|format=[[j xg]]}}
31 March
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|format=[[j xg]]}}
5 May
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|day=Ash Wednesday}}
2024-02-14
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|day=Ash Wednesday}}
2024-03-20
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|format=[[j xg]] (l)|day=Ash Wednesday}}
14 February (Wednesday)
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|format=[[j xg]] (l)|day=Ash Wednesday}}
20 March (Wednesday)