Templat:Pascha: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
dari en |
Angayubagia (bicara | kontrib) kTidak ada ringkasan suntingan Tag: Suntingan visualeditor-wikitext |
||
(3 revisi perantara oleh 3 pengguna tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
<noinclude>This template calculates the date of Easter according to Eastern Christianity. |
<noinclude>This template calculates the date of Easter according to Eastern Christianity. This year, for example, Easter falls on </noinclude>{{#ifeq:{{{format}}}|mdy |
||
|{{#switch:{{Pascha/p|{{{1|{{#time:Y}}}}}}}|4=April|5= |
|{{#switch:{{Pascha/p|{{{1|{{#time:Y}}}}}}}|4=April|5=Mei|#default=ERROR}} {{Pascha/q|{{{1|{{#time:Y}}}}}}} |
||
|{{Pascha/q|{{{1|{{#time:Y}}}}}}} {{#switch:{{Pascha/p|{{{1|{{#time:Y}}}}}}}|4=April|5= |
|{{Pascha/q|{{{1|{{#time:Y}}}}}}} {{#switch:{{Pascha/p|{{{1|{{#time:Y}}}}}}}|4=April|5=Mei|#default=ERROR}} |
||
}}<noinclude> |
}}<noinclude>{{dokumentasi|content= |
||
The template accepts two parameters. |
The template accepts two parameters. |
||
*'''1''': The unnamed first parameter is the year for which the calculation is done (the default is the current year at UTC) |
*'''1''': The unnamed first parameter is the year for which the calculation is done (the default is the current year at UTC) |
||
*'''format''': Setting this to <code>mdy</code> will put the month first. |
*'''format''': Setting this to <code>mdy</code> will put the month first. |
||
For example, {{<code>pascha|{{#time:Y|+1 year}}|format=mdy</code>}} gives "{{pascha|{{#time:Y|+1 year}}|format=mdy}}". |
For example, {{<code>pascha|{{#time:Y|+1 year}}|format=mdy</code>}} gives "{{pascha|{{#time:Y|+1 year}}|format=mdy}}". |
||
}} |
|||
[[ |
[[Kategori:Date-computing templates based on current time]] |
||
[[ |
[[Kategori:Date-computing templates]]</noinclude> |
||
[[en:Template:Pascha]]</noinclude> |
Revisi terkini sejak 4 April 2021 03.47
This template calculates the date of Easter according to Eastern Christianity. This year, for example, Easter falls on 5 Mei
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
The template accepts two parameters.
- 1: The unnamed first parameter is the year for which the calculation is done (the default is the current year at UTC)
- format: Setting this to
mdy
will put the month first.
For example, {{pascha|2025|format=mdy
}} gives "April 20".