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

From blackwiki
Jump to navigation Jump to search
imported>Jc3s5h
(Bogus metadata)
imported>Jc3s5h
(→‎Bogus metadata: Provide both regular and sandbox calls)
Line 41: Line 41:
 
** {{Death date/sandbox|1923|4|31|1973|11|31}}
 
** {{Death date/sandbox|1923|4|31|1973|11|31}}
 
==Bogus metadata==
 
==Bogus metadata==
[[Pope Pius V]] (d. {{Death date/sandbox|1572|5|1}}) was the predecessor of [[Pope Gregory XIII]]. The latter promulgated the calendar that is in use in the 21st century.
+
Sandbox version: [[Pope Pius V]] (d. {{Death date/sandbox|1572|5|1}}) was the predecessor of [[Pope Gregory XIII]]. The latter promulgated the calendar that is in use in the 21st century.
 +
 
 +
Normal version: [[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.

Revision as of 02:27, 25 March 2009

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

International format (df=yes)

  • {{Death date/sandbox|2011|5|13|1965|12|14|df=yes}}
    • (2011-05-13)13 May 2011
  • {{Death date/sandbox|2008|9|22|1913|4|22|df=yes}}
    • (2008-09-22)22 September 2008
  • {{Death date/sandbox|1985|3|11|1903|11|19|df=yes}}
    • (1985-03-11)11 March 1985

American format (mf=yes)

  • {{Death date/sandbox|2011|5|13|1965|12|14|mf=yes}}
    • (2011-05-13)May 13, 2011
  • {{Death date/sandbox|2008|9|22|1913|4|22|mf=yes}}
    • (2008-09-22)September 22, 2008
  • {{Death date/sandbox|1985|3|11|1903|11|19|mf=yes}}
    • (1985-03-11)March 11, 1985

Default (International) format (no parameter)

  • {{Death date/sandbox|2011|5|13|1965|12|14}}
    • (2011-05-13)May 13, 2011
  • {{Death date/sandbox|2008|9|22|1913|4|22}}
    • (2008-09-22)September 22, 2008
  • {{Death date/sandbox|1985|3|11|1903|11|19}}
    • (1985-03-11)March 11, 1985

What if both mf and df are set?

  • {{Death date/sandbox|2011|5|13|1965|12|14|df=yes|mf=yes}}
    • (2011-05-13)13 May 2011
  • {{Death date/sandbox|2008|9|22|1913|4|22|df=yes|mf=yes}}
    • (2008-09-22)22 September 2008
  • {{Death date/sandbox|1985|3|11|1903|11|19|df=yes|mf=yes}}
    • (1985-03-11)11 March 1985

Bogus dates

  • {{Death date/sandbox|1948|2|31|1858|12|777}}
    • (1948-02-31)February 31, 1948
  • {{Death date/sandbox|1973|4|31|1923|11|31}}
    • (1973-04-31)April 31, 1973
  • {{Death date/sandbox|1923|4|31|1973|11|31}}
    • (1923-04-31)April 31, 1923

Bogus metadata

Sandbox version: Pope Pius V (d. (1572-05-01)May 1, 1572) was the predecessor of Pope Gregory XIII. The latter promulgated the calendar that is in use in the 21st century.

Normal version: Pope Pius V (d. (1572-05-01)May 1, 1572) was the predecessor of Pope Gregory XIII. The latter promulgated the calendar that is in use in the 21st century.