Difference between revisions of "Template:Age in weeks and days"

From blackwiki
Jump to navigation Jump to search
blackwiki>Waldyrious
(added whitespace to make the code readable)
blackwiki>Waldyrious
(rm excess newline)
Line 8: Line 8:
 
     |year2  = {{{year2  | {{CURRENTYEAR}}  }}}
 
     |year2  = {{{year2  | {{CURRENTYEAR}}  }}}
 
   }}|
 
   }}|
   week}}
+
   week}} and
and
 
 
{{plural
 
{{plural
 
   |{{mod
 
   |{{mod

Revision as of 09:58, 7 April 2010


This template returns the number of weeks and days that have elapsed between two dates. If the second set of parameters is not included it will automatically calculate the period between a given date and today.

To use type: {{Age in weeks and days|month1= |day1= |year1= |month2= |day2= | year2=}}