Module:Easter/doc
Appearance
| This is a documentation subpage for Module:Easter. It may contain usage information, categories and other content that is not part of the original module page. |
Module to calculate Easter dates and dates relative to Easter.
Calculate
[edit]Function to calculate Easter date or date of the event related to Easter.
arguments
[edit]| Field | Purpose | Example argument |
|---|---|---|
| 1 | Year | 2026 or 1882
|
| method | Calculation method of the Easter date:
|
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:
|
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
[edit]{{#invoke:Easter|Calculate|{{CURRENTYEAR}}}}- 2026-04-05
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern}}- 2026-04-12
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|format=[[j xg]]}}- 5 April
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|format=[[j xg]]}}- 12 April
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|day=Ash Wednesday}}- 2026-02-18
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|day=Ash Wednesday}}- 2026-02-25
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|format=[[j xg]] (l)|day=Ash Wednesday}}- 18 February (Wednesday)
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|format=[[j xg]] (l)|day=Ash Wednesday}}- 25 February (Wednesday)