Difference between revisions of "Template:Ascension date"

From OrthodoxWiki
Jump to: navigation, search
m
(Example)
 
Line 16: Line 16:
  
 
format string see chart at [[Template:Pascha date]]
 
format string see chart at [[Template:Pascha date]]
 +
==Example==
 +
'''<nowiki>{{Ascension date|year=2010| format =l, [[F j]],Y}}</nowiki>'''  returns:
  
 +
{{Ascension date|year=2010| format =l, [[F j]], Y}}
  
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]
 
[[Category:Calendar templates]]</noinclude>
 
[[Category:Calendar templates]]</noinclude>

Latest revision as of 20:07, December 1, 2011

June 13, 2024


Usage

This template displays the date of Ascension Thursday for the current year.

Usage: {{Ascension date}}


Or this template displays the date of Ascension Thursday for the year passed by the year parameter in the format of the format parameter.

Usage: {{Ascension 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

{{Ascension date|year=2010| format =l, [[F j]],Y}} returns:

Thursday, May 13, 2010