Template:Age in years, months, weeks and days/testcases
Appearance
This is the template test cases page for the sandbox of Template:Age in years, months, weeks and days. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
start date | end date | current template | sandbox | notes |
---|---|---|---|---|
2011-01-27 | default (today) | 13 years, 9 months, 3 weeks and 4 days | 13 years, 9 months, 3 weeks and 4 days | |
2011-01-27 | 2011-12-27 | 11 months | 11 months | Only nonzero compoments of the age are displayed |
2011-01-01 | 2011-02-08 | 1 month and 1 week | 1 month and 1 week | "and" is placed correctly before the last nonzero component |