Difference between revisions of "Template:Palm sunday date"

From OrthodoxWiki
Jump to: navigation, search
(add formatting)
(Example)
 
Line 16: Line 16:
  
 
format string see chart at [[Template:Pascha date]]
 
format string see chart at [[Template:Pascha date]]
 +
==Example==
 +
'''<nowiki>{{Palm sunday date|year=2000}}</nowiki>''' returns:
  
 +
{{Palm sunday date|year=2000}}
  
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]
 
[[Category:Calendar templates]]</noinclude>
 
[[Category:Calendar templates]]</noinclude>

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

April 28, 2024


Usage

This template displays the date of Palm Sunday for the current year.

Usage: {{Palm sunday date}}


Or this template displays the date of Palm Sunday for the year passed by the year parameter in the format of the format parameter.

Usage: {{Palm sunday 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

{{Palm sunday date|year=2000}} returns:

April 23, 2000