Difference between revisions of "Template:Sunday after"

From OrthodoxWiki
Jump to: navigation, search
m (Sunday fix)
(Example)
 
Line 9: Line 9:
 
Or this template displays the date of the Sunday after the date given by the '''date''' parameter in the format of the '''format''' parameter.  
 
Or this template displays the date of the Sunday after the date given by the '''date''' parameter in the format of the '''format''' parameter.  
  
Usage:  '''<nowiki>{{</nowiki>Sunday after | date='''''mm dd yyyy | '''''format'''''=format string'''''<nowiki>}}</nowiki>'''
+
Usage:  '''<nowiki>{{</nowiki>Sunday after | date='''''Mmm dd yyyy | '''''format'''''=format string'''''<nowiki>}}</nowiki>'''
  
where ''mm dd yyyy'' is the month day year
+
where ''Mmm dd yyyy'' is the month day year
  
 
default date is today
 
default date is today
Line 17: Line 17:
 
default ''format string'' is F j, Y
 
default ''format string'' is F j, Y
 
format string see chart at [[Template:Pascha date]]
 
format string see chart at [[Template:Pascha date]]
 +
==Example==
 +
'''<nowiki>{{Sunday after|date=Jan 7 2011}}</nowiki>'''
  
 
+
{{Sunday after|date=Jan 7 2011}}
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]
 
[[Category:Calendar templates]]</noinclude>
 
[[Category:Calendar templates]]</noinclude>

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

April 21, 2024


Usage

This template displays the date of next Sunday.

Usage: {{Sunday after}}


Or this template displays the date of the Sunday after the date given by the date parameter in the format of the format parameter.

Usage: {{Sunday after | date=Mmm dd yyyy | format=format string}}

where Mmm dd yyyy is the month day year

default date is today

default format string is F j, Y format string see chart at Template:Pascha date

Example

{{Sunday after|date=Jan 7 2011}}

January 9, 2011