14,061
edits
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 [[ | 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 == | ||
* [[ | * [[Sarkarverse:Age calculation templates]] | ||
<includeonly> | <includeonly> |