Template:Death date/testcases
< Template:Death date
Jump to navigation
Jump to search
Revision as of 13:11, 24 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:Death 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|1965|12|14|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|2011|5|13|1965|12|14|df=yes}}
|
| 2008|9|22|1913|4|22|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|2008|9|22|1913|4|22|df=yes}}
|
| 1985|3|11|1903|11|19|df=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|1985|3|11|1903|11|19|df=yes}}
|
American format (mf=yes)
| 2011|5|13|1965|12|14|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|2011|5|13|1965|12|14|mf=yes}}
|
| 2008|9|22|1913|4|22|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|2008|9|22|1913|4|22|mf=yes}}
|
| 1985|3|11|1903|11|19|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|1985|3|11|1903|11|19|mf=yes}}
|
Default (International) format (no parameter)
| 2011|5|13|1965|12|14 | ||||||
|---|---|---|---|---|---|---|
{{Death date|2011|5|13|1965|12|14}}
|
| 2008|9|22|1913|4|22 | ||||||
|---|---|---|---|---|---|---|
{{Death date|2008|9|22|1913|4|22}}
|
| 1985|3|11|1903|11|19 | ||||||
|---|---|---|---|---|---|---|
{{Death date|1985|3|11|1903|11|19}}
|
What if both mf and df are set?
| 2011|5|13|1965|12|14|df=yes|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|2011|5|13|1965|12|14|df=yes|mf=yes}}
|
| 2008|9|22|1913|4|22|df=yes|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|2008|9|22|1913|4|22|df=yes|mf=yes}}
|
| 1985|3|11|1903|11|19|df=yes|mf=yes | ||||||
|---|---|---|---|---|---|---|
{{Death date|1985|3|11|1903|11|19|df=yes|mf=yes}}
|
Bogus dates
| 1948|2|31|1858|12|777 | ||||||
|---|---|---|---|---|---|---|
{{Death date|1948|2|31|1858|12|777}}
|
| 1973|4|31|1923|11|31 | ||||||
|---|---|---|---|---|---|---|
{{Death date|1973|4|31|1923|11|31}}
|
| 1923|4|31|1973|11|31 | ||||||
|---|---|---|---|---|---|---|
{{Death date|1923|4|31|1973|11|31}}
|
Bogus metadata
| {{Death date}} | ||||||
|---|---|---|---|---|---|---|
[[Pope Pius V]] (d. {{Death date|1572|5|1}}) was the predecessor of [[Pope Gregory XIII]]. The latter promulgated the calendar that is in use in the 21st century.
|