Template:Death date/testcases
Appearance
This is the template test cases page for the sandbox of Template:Death date. 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: |
International format (df=yes)
[edit]{{Death date|2011|5|13|df=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>13 May 2011 | 13 May 2011
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>13 May 2011 | 13 May 2011
{{Death date|2008|9|22|df=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>22 September 2008 | 22 September 2008
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>22 September 2008 | 22 September 2008
{{Death date|1985|3|11|df=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>11 March 1985 | 11 March 1985
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>11 March 1985 | 11 March 1985
American format (mf=yes)
[edit]{{Death date|2011|5|13|mf=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>May 13, 2011 | May 13, 2011
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>May 13, 2011 | May 13, 2011
{{Death date|2008|9|22|mf=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>September 22, 2008 | September 22, 2008
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>September 22, 2008 | September 22, 2008
{{Death date|1985|3|11|mf=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>March 11, 1985 | March 11, 1985
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>March 11, 1985 | March 11, 1985
Default (International) format (no parameter)
[edit]{{Death date|2011|5|13}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>May 13, 2011 | May 13, 2011
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>May 13, 2011 | May 13, 2011
{{Death date|2008|9|22}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>September 22, 2008 | September 22, 2008
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>September 22, 2008 | September 22, 2008
{{Death date|1985|3|11}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>March 11, 1985 | March 11, 1985
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>March 11, 1985 | March 11, 1985
What if both mf and df are set?
[edit]{{Death date|2011|5|13|df=yes|mf=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>13 May 2011 | 13 May 2011
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>13 May 2011 | 13 May 2011
{{Death date|2008|9|22|df=yes|mf=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>22 September 2008 | 22 September 2008
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>22 September 2008 | 22 September 2008
{{Death date|1985|3|11|df=yes|mf=yes}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>11 March 1985 | 11 March 1985
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>11 March 1985 | 11 March 1985
Bogus dates
[edit]{{Death date|1948|2|31}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">1948-02-31</span>)</span>February 31, 1948 | February 31, 1948
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">1948-02-31</span>)</span>February 31, 1948 | February 31, 1948
{{Death date|1973|4|31}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">1973-04-31</span>)</span>April 31, 1973 | April 31, 1973
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">1973-04-31</span>)</span>April 31, 1973 | April 31, 1973
{{Death date|1923|4|31}}
{{Death date}} | → |
<span style="display:none">(<span class="dday deathdate">1923-04-31</span>)</span>April 31, 1923 | April 31, 1923
---|---|---|
{{Death date/sandbox}} | → |
<span style="display:none">(<span class="dday deathdate">1923-04-31</span>)</span>April 31, 1923 | April 31, 1923
Bogus metadata
[edit]{{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.
{{Death date}} | → |
Pope Pius V (d. May 1, 1572) was the predecessor of Pope Gregory XIII. The latter promulgated the calendar that is in use in the 21st century.[[Pope Pius V]] (d. <span style="display:none">(<span class="dday deathdate">1572-05-01</span>)</span>May 1, 1572) was the predecessor of [[Pope Gregory XIII]]. The latter promulgated the calendar that is in use in the 21st century. |
---|---|---|
{{Death date/sandbox}} | → |
Pope Pius V (d. May 1, 1572) was the predecessor of Pope Gregory XIII. The latter promulgated the calendar that is in use in the 21st century.[[Pope Pius V]] (d. <span style="display:none">(<span class="dday deathdate">1572-05-01</span>)</span>May 1, 1572) was the predecessor of [[Pope Gregory XIII]]. The latter promulgated the calendar that is in use in the 21st century. |
Wikidata tracking
[edit]Tested with preview of /sandbox in Wikipedia articles.
No category added:
- article with date of death (P570) in Wikidata: Aída Alberti
- article without instance of (P31) human (Q5) in Wikidata: Russo brothers
- page not in article namespace: Template:No such name
Category added:
- article without date of death (P570) in Wikidata: Maria Abbey
- article without item in Wikidata: No such name