Template:Age in years and days nts/testcases
Appearance
This is the template test cases page for the sandbox of Template:Age in years and days nts. 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: |
Test0
Test1
{{Age in years and days nts|15 May 2010}}
14 years, 190 days
{{Age in years and days nts/sandbox}}
14 years, 190 days
Test2
{{Age in years and days nts|12 Aug 2003|24 Sep 2011}}
8 years, 43 days
{{Age in years and days nts/sandbox}}
8 years, 43 days
Test3
{{Age in years and days nts|1989|7|23}}
35 years, 121 days
{{Age in years and days nts/sandbox}}
35 years, 121 days
Test4
{{Age in years and days nts|1989|7|23|2003|7|24}}
14 years, 1 day
{{Age in years and days nts/sandbox}}
14 years, 1 day
Test5
{{Age in years and days nts|2007|03|02|2008|03|02}}
1 year, 0 days
{{Age in years and days nts/sandbox}}
1 year, 0 days
Test6
{{Age in years and days nts|31 January 1892|29 February 1900}}
Error: Second date should be year, month, day
{{Age in years and days nts/sandbox}}
Error: Second date should be year, month, day