Difference between revisions of "Template:Week after Pentecost"
m (fix) |
m |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#ifexpr: | {{#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}} }} > 0 |
Revision as of 13:19, December 2, 2011
Expression error: Unexpected < operator.}
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