Template:Week after Pentecost

(Difference between revisions)
Jump to: navigation, search
(new)
 
m (fix)
Line 5: Line 5:
 
}}<noinclude>
 
}}<noinclude>
 
----
 
----
 +
{{#ifexpr:
 +
{{#expr: {{#time:W|{{{date|}}} }} - {{Pentecost date|year={{#time:Y|{{{date|}}}}}|format=W}} }} > 0
 +
| {{#expr: {{#time:W|{{{date|}}} }} - {{Pentecost date|year={{#time:Y|{{{date|}}}}}|format=W}} }}
 +
| {{#expr: {{#time:W|{{{date|}}}}} + 52 - {{Pentecost date|format=W|year={{#time:Y|{{{date|}} - 1 year}}}}}}}
 +
}}<noinclude>
 +
 
This template displays the current week number after Pentecost.
 
This template displays the current week number after Pentecost.
  

Revision as of 06:19, December 2, 2011

17


17

This template displays the current week number after Pentecost.

(Week 1 starts the Monday after Pentecost)

Usage

Usage: {{Week after Pentecost}}

Or this template displays the current week number after Pentecost for the date given.

Usage: {{Week after Pentecost|date=Mmm dd yyyy}}

where Mmm dd yyyy is the month day year

default date is today (default month is this month, default day is today, default year is this year)

Example

{{Week after Pentecost|date=Feb 18 2011}} returns 39

Personal tools
Namespaces
Variants
Actions
Navigation
interaction
Donate

Please consider supporting OrthodoxWiki. FAQs

Toolbox