Difference between revisions of "Template:Death date and age/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Pixelface
(rv)
imported>PC78
(Replaced content with 'The following test cases use {{tl|Death date and age/sandbox}}: * {{death date and age/sandbox|2002|1|3|1889|1|22}} * {{death date and age/sandbox|exact=y|2002...')
Line 1: Line 1:
 
The following test cases use {{tl|Death date and age/sandbox}}:
 
The following test cases use {{tl|Death date and age/sandbox}}:
  
==International format (df=yes)==
+
* {{death date and age/sandbox|2002|1|3|1889|1|22}}
* <nowiki>{{Death date and age/sandbox|2011|5|13|1965|12|14|df=yes}}</nowiki>
+
* {{death date and age/sandbox|exact=y|2002|1|3|1889|1|22}}
** {{Death date and age/sandbox|2011|5|13|1965|12|14|df=yes}}
 
* <nowiki>{{Death date and age/sandbox|2008|9|22|1913|4|22|df=yes}}</nowiki>
 
** {{Death date and age/sandbox|2008|9|22|1913|4|22|df=yes}}
 
* <nowiki>{{Death date and age/sandbox|1985|3|11|1903|11|19|df=yes}}</nowiki>
 
** {{Death date and age/sandbox|1985|3|11|1903|11|19|df=yes}}
 
 
 
==American format (mf=yes)==
 
* <nowiki>{{Death date and age/sandbox|2011|5|13|1965|12|14|mf=yes}}</nowiki>
 
** {{Death date and age/sandbox|2011|5|13|1965|12|14|mf=yes}}
 
* <nowiki>{{Death date and age/sandbox|2008|9|22|1913|4|22|mf=yes}}</nowiki>
 
** {{Death date and age/sandbox|2008|9|22|1913|4|22|mf=yes}}
 
* <nowiki>{{Death date and age/sandbox|1985|3|11|1903|11|19|mf=yes}}</nowiki>
 
** {{Death date and age/sandbox|1985|3|11|1903|11|19|mf=yes}}
 
 
 
==Default (International) format (no parameter)==
 
* <nowiki>{{Death date and age/sandbox|2011|5|13|1965|12|14}}</nowiki>
 
** {{Death date and age/sandbox|2011|5|13|1965|12|14}}
 
* <nowiki>{{Death date and age/sandbox|2008|9|22|1913|4|22}}</nowiki>
 
** {{Death date and age/sandbox|2008|9|22|1913|4|22}}
 
* <nowiki>{{Death date and age/sandbox|1985|3|11|1903|11|19}}</nowiki>
 
** {{Death date and age/sandbox|1985|3|11|1903|11|19}}
 
 
 
==What if both mf and df are set?==
 
* <nowiki>{{Death date and age/sandbox|2011|5|13|1965|12|14|df=yes|mf=yes}}</nowiki>
 
** {{Death date and age/sandbox|2011|5|13|1965|12|14|df=yes|mf=yes}}
 
* <nowiki>{{Death date and age/sandbox|2008|9|22|1913|4|22|df=yes|mf=yes}}</nowiki>
 
** {{Death date and age/sandbox|2008|9|22|1913|4|22|df=yes|mf=yes}}
 
* <nowiki>{{Death date and age/sandbox|1985|3|11|1903|11|19|df=yes|mf=yes}}</nowiki>
 
** {{Death date and age/sandbox|1985|3|11|1903|11|19|df=yes|mf=yes}}
 
 
 
==Bogus dates==
 
* <nowiki>{{Death date and age/sandbox|1948|2|31|1858|12|777}}</nowiki>
 
** {{Death date and age/sandbox|1948|2|31|1858|12|777}}
 
* <nowiki>{{Death date and age/sandbox|1973|4|31|1923|11|31}}</nowiki>
 
** {{Death date and age/sandbox|1973|4|31|1923|11|31}}
 
* <nowiki>{{Death date and age/sandbox|1923|4|31|1973|11|31}}</nowiki>
 
** {{Death date and age/sandbox|1923|4|31|1973|11|31}}
 

Revision as of 16:29, 22 October 2010

The following test cases use {{Death date and age/sandbox}}:

  • January 3, 2002(2002-01-03) (aged 112)
  • January 3, 2002(2002-01-03) (aged 112)