Template:Ascension date

From OrthodoxWiki
(Difference between revisions)
Jump to: navigation, search
(new)
 
(Example)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
{{#time:F j, Y |{{Pascha date|year={{{year|{{CURRENTYEAR}} }}} }} + 39 day }}<noinclude>
+
{{#time:{{{format|F j, Y}}} |{{Pascha date|year={{{year|{{CURRENTYEAR}} }}} }} + 39 day }}<noinclude>
 
----
 
----
 
+
==Usage==
 
This template displays the date of Ascension Thursday for the current year.
 
This template displays the date of Ascension Thursday for the current year.
  
Line 7: Line 7:
  
  
Or this template displays the date of Ascension Thursday for the year passed by the '''year''' parameter.
+
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:  '''<nowiki>{{</nowiki>Ascension date|year='''''nnnn'''''<nowiki>}}</nowiki>'''
+
Usage:  '''<nowiki>{{</nowiki>Ascension 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>{{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 13:07, December 1, 2011

May 29, 2014


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

Personal tools
Namespaces
Variants
Actions
Navigation
interaction
Donate

Please consider supporting OrthodoxWiki. FAQs

Toolbox