Template:Birth date/testcases
< Template:Birth date
Jump to navigation
Jump to search
Revision as of 05:56, 19 January 2019 by imported>Zyxw (update tests to compare output of main template with /sandbox)
| 42px | This is the template test cases page for the sandbox of Template:Birth date. Script error: No such module "Purge". 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 with these links: |
Contents
International format (df=yes)
| 2011|5|13|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|2011|5|13|df=yes}}
|
| 2008|9|22|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|2008|9|22|df=yes}}
|
| 1985|3|11|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1985|3|11|df=yes}}
|
| 1898|12|23|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1898|12|23|df=yes}}
|
| 1955|1|31|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1955|1|31|df=yes}}
|
| 1956|2|29|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1956|2|29|df=yes}}
|
| 1957|3|31|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1957|3|31|df=yes}}
|
| 1958|4|30|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1958|4|30|df=yes}}
|
| 1959|5|31|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1959|5|31|df=yes}}
|
| 1960|6|30|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1960|6|30|df=yes}}
|
| 1961|7|31|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1961|7|31|df=yes}}
|
| 1962|8|31|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1962|8|31|df=yes}}
|
| 1963|9|30|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1963|9|30|df=yes}}
|
| 1964|10|31|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1964|10|31|df=yes}}
|
| 1965|11|30|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1965|11|30|df=yes}}
|
| 1966|12|31|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1966|12|31|df=yes}}
|
American format (mf=yes)
| 2011|5|13|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|2011|5|13|mf=yes}}
|
| 2008|9|22|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|2008|9|22|mf=yes}}
|
| 1985|3|11|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1985|3|11|mf=yes}}
|
| 1898|12|23|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1898|12|23|mf=yes}}
|
| 1955|1|31|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1955|1|31|mf=yes}}
|
| 1956|2|29|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1956|2|29|mf=yes}}
|
| 1957|3|31|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1957|3|31|mf=yes}}
|
| 1958|4|30|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1958|4|30|mf=yes}}
|
| 1959|5|31|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1959|5|31|mf=yes}}
|
| 1960|6|30|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1960|6|30|mf=yes}}
|
| 1961|7|31|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1961|7|31|mf=yes}}
|
| 1962|8|31|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1962|8|31|mf=yes}}
|
| 1963|9|30|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1963|9|30|mf=yes}}
|
| 1964|10|31|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1964|10|31|mf=yes}}
|
| 1965|11|30|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1965|11|30|mf=yes}}
|
| 1966|12|31|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1966|12|31|mf=yes}}
|
Default (International) format (no parameter)
| 2011|5|13 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|2011|5|13}}
|
| 2008|9|22 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|2008|9|22}}
|
| 1985|3|11 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1985|3|11}}
|
| 1898|12|23 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1898|12|23}}
|
| 1955|1|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1955|1|31}}
|
| 1956|2|29 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1956|2|29}}
|
| 1957|3|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1957|3|31}}
|
| 1958|4|30 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1958|4|30}}
|
| 1959|5|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1959|5|31}}
|
| 1960|6|30 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1960|6|30}}
|
| 1961|7|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1961|7|31}}
|
| 1962|8|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1962|8|31}}
|
| 1963|9|30 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1963|9|30}}
|
| 1964|10|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1964|10|31}}
|
| 1965|11|30 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1965|11|30}}
|
| 1966|12|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1966|12|31}}
|
What if both mf and df are set?
| 1966|12|31|df=yes|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1966|12|31|df=yes|mf=yes}}
|
| 1999|9|13|df=yes|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1999|9|13|df=yes|mf=yes}}
|
| 1823|5|21|df=yes|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1823|5|21|df=yes|mf=yes}}
|
| 4|12|25|df=yes|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|4|12|25|df=yes|mf=yes}}
|
Using year, month, day parameters
| year=1966|month=12|day=31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|year=1966|month=12|day=31}}
|
| day=31|month=12|year=1966 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|day=31|month=12|year=1966}}
|
| month=12|day=31|year=1966 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|month=12|day=31|year=1966}}
|
Day first
| year=1966|month=12|day=31|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|year=1966|month=12|day=31|df=yes}}
|
| day=31|month=12|year=1966|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|day=31|month=12|year=1966|df=yes}}
|
| month=12|day=31|year=1966|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Birth date|month=12|day=31|year=1966|df=yes}}
|
Bogus dates
| 1948|2|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1948|2|31}}
|
| 1943|4|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1943|4|31}}
|
| 1953|6|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1953|6|31}}
|
| 1980|9|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1980|9|31}}
|
| 1977|11|31 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1977|11|31}}
|
| 1994|12|777 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1994|12|777}}
|
| 1494|12|7 | ||||||
|---|---|---|---|---|---|---|
{{Birth date|1494|12|7}}
|