Difference between revisions of "Template:Pentecost date"
(new) |
(Example) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#time:F j, Y |{{Pascha date|{{{year|{{CURRENTYEAR}}}}}}} + 7 week}}<noinclude> | + | {{#time:{{{format|F j, Y}}} |{{Pascha date|year={{{year|{{CURRENTYEAR}} }}} }} + 7 week}}<noinclude> |
| − | |||
| − | |||
---- | ---- | ||
| Line 9: | Line 7: | ||
| − | Or this template displays the date of Pentecost for the year passed by the '''year''' parameter. | + | Or this template displays the date of Pentecost for the year passed by the '''year''' parameter in the format of the '''format''' parameter. |
| − | Usage: '''<nowiki>{{</nowiki>Pentecost date|year='''''nnnn'''''<nowiki>}}</nowiki>''' | + | Usage: '''<nowiki>{{</nowiki>Pentecost date|year='''''nnnn|'''''format'''''=format string'''''<nowiki>}}</nowiki>''' |
where ''nnnn'' is the year | where ''nnnn'' is the year | ||
| + | default ''format string'' is F j, Y | ||
| + | |||
| + | format string see chart at [[Template:Pascha date]] | ||
| + | ==Example== | ||
| + | '''<nowiki>{{Pentecost date|year=2028}}</nowiki>''' returns: | ||
| + | {{Pentecost date|year=2028}} | ||
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]] | [[Category:OrthodoxWiki Templates|{{PAGENAME}}]] | ||
[[Category:Calendar templates]]</noinclude> | [[Category:Calendar templates]]</noinclude> | ||
Latest revision as of 20:32, December 1, 2011
May 31, 2026
This template displays the date of Pentecost for the current year.
Usage: {{Pentecost date}}
Or this template displays the date of Pentecost for the year passed by the year parameter in the format of the format parameter.
Usage: {{Pentecost date|year=nnnn|format=format string}}
where nnnn is the year
default format string is F j, Y
format string see chart at Template:Pascha date
Example
{{Pentecost date|year=2028}} returns:
June 4, 2028