Open main menu

Changes

m
*<code><nowiki>{{age in years and months|10 Jan 2001}}</nowiki></code> → {{age in years and months|10 Jan 2001}}
*<code><nowiki>{{age in years and months|January 10, 2001}}</nowiki></code> → {{age in years and months|January 10, 2001}}
 
 
== Parameters ==
| <code>format=ordinal</code> || Display the resulting number using words such as "fifth" instead of 5. See [[#Spelling numbers|below]].
|-
| <code>range=dash</code> || Accept a year only, or a year and month only, and show a range of ages with an [[Wikipedia:Dash#En dash|en dash]] (–).
|-
| <code>range=yes</code> || Accept a year or year/month, and show the range with "or".
| <code>round=on</code> || The age is rounded to the nearest least-significant time unit.
|-
| <code>sc=on</code> || A [[Wikipedia:serial comma]] is used (only useful when three or more values are displayed).
|-
| <code>sc=yes</code> || Same as <code>sc=on</code>.