विभाग:Easter/doc
Appearance
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 | २०२६ 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 |
| 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}}}}- २०१७-०४-१६
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern}}- २०१७-०४-१६
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|format=[[j xg]]}}- १६ एप्रिल
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|format=[[j xg]]}}- १६ एप्रिल
{{#invoke:Easter|Calculate|2017|day=Ash Wednesday}}- २०१७-०३-०१
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|day=Ash Wednesday}}- २०१७-०३-०१
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|format=[[j xg]] (l)|day=Ash Wednesday}}- १ मार्च (बुधवार)
{{#invoke:Easter|Calculate|{{CURRENTYEAR}}|method=Eastern|format=[[j xg]] (l)|day=Ash Wednesday}}- १ मार्च (बुधवार)