Template:Age in years, months, weeks and days/doc: Difference between revisions

Jump to navigation Jump to search
clean up
m (1 revision)
 
(clean up)
 
Line 11: Line 11:
* <code><nowiki>{{</nowiki>Age in years, months, weeks and days |month1=1 |day1=1 |year1=1 }}</code> → {{Age in years, months, weeks and days |month1=1 |day1=1 |year1=1 }}
* <code><nowiki>{{</nowiki>Age in years, months, weeks and days |month1=1 |day1=1 |year1=1 }}</code> → {{Age in years, months, weeks and days |month1=1 |day1=1 |year1=1 }}


Or the first set of parameters can be left out to get the time left until a future date, such as the next [[Wikipedia:Wikipedia Day|Wikipedia Day]]:
Or the first set of parameters can be left out to get the time left until a future date, such as the next [[Sarkarverse:Wikipedia Day|Wikipedia Day]]:
* <code><nowiki>{{</nowiki>Age in years, months, weeks and days |month2=1 |day2=15 |year2={{#ifexpr:{{CURRENTMONTH}}{{CURRENTDAY}}>0114|{{#time:Y|+1year}}|{{CURRENTYEAR}}}} }}</code> → {{Age in years, months, weeks and days |month2=1 |day2=15 |year2={{#ifexpr:{{CURRENTMONTH}}{{CURRENTDAY}}>0114|{{#time:Y|+1year}}|{{CURRENTYEAR}}}} }}
* <code><nowiki>{{</nowiki>Age in years, months, weeks and days |month2=1 |day2=15 |year2={{#ifexpr:{{CURRENTMONTH}}{{CURRENTDAY}}>0114|{{#time:Y|+1year}}|{{CURRENTYEAR}}}} }}</code> → {{Age in years, months, weeks and days |month2=1 |day2=15 |year2={{#ifexpr:{{CURRENTMONTH}}{{CURRENTDAY}}>0114|{{#time:Y|+1year}}|{{CURRENTYEAR}}}} }}


== See also ==
== See also ==


* [[Wikipedia:Age calculation templates]]
* [[Sarkarverse:Age calculation templates]]


<includeonly>
<includeonly>
14,061

edits

Navigation menu