Modhul:Easter/doc
Praèn
Iki kaca dhokumèntasiné Modhul:Easter
Module to calculate Easter dates and dates relative to Easter.
Calculate
[besut sumber]Function to calculate Easter date or date of the event related to Easter.
arguments
[besut sumber]Field | What is for? | Example argument |
---|---|---|
1 | Year | i.e. 2024 or 1882 .
|
method | Calculation method of the Easter date:
|
i.e. 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) the Easter. The following days are available by name:
|
i.e. 49 |
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.
|
i.e. j xd .
|
examples
[besut sumber]{{#invoke:Easter|Calculate|{{CURRENTYEAR}}}}
- 2024-03-31
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern}}
- 2024-05-05
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|format=[[j xg]]}}
- 31 Maret
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|format=[[j xg]]}}
- 5 Mèi
{{#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 Fèbruari (Rebo)
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|format=[[j xg]] (l)|day=Ash Wednesday}}
- 20 Maret (Rebo)