imported>Zyxw |
imported>Zyxw |
| Line 60: |
Line 60: |
| | |code=<nowiki>[[Pope Pius V]] (d. {{__TEMPLATENAME__|1572|5|1}}) was the predecessor of [[Pope Gregory XIII]]. The latter promulgated the calendar that is in use in the 21st century.</nowiki> | | |code=<nowiki>[[Pope Pius V]] (d. {{__TEMPLATENAME__|1572|5|1}}) was the predecessor of [[Pope Gregory XIII]]. The latter promulgated the calendar that is in use in the 21st century.</nowiki> |
| | }} | | }} |
| | + | |
| | + | == Wikidata tracking == |
| | + | Tested with preview of /sandbox in Wikipedia articles. |
| | + | |
| | + | No category added: |
| | + | # article with {{Prop|570}} in Wikidata: ''[[Aída Alberti]]'' |
| | + | # article without {{Prop|31}} {{Q|5}} in Wikidata: ''[[Russo brothers]]'' |
| | + | # page not in article namespace: ''[[Template:No such name]]'' |
| | + | |
| | + | Category added: |
| | + | # article without {{Prop|570}} in Wikidata: ''[[Maria Abbey]]'' |
| | + | # article without item in Wikidata: ''[[No such name]]'' |
Revision as of 13:13, 24 January 2019
| 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:
|
International format (df=yes)
| 2011|5|13|1965|12|14|df=yes |
|---|
{{Death date|2011|5|13|1965|12|14|df=yes}}
| {{Death date}} | → |
(2011-05-13)13 May 2011<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>13 May 2011 |
|---|
| {{Death date/sandbox}} | → |
(2011-05-13)13 May 2011<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>13 May 2011 |
|---|
|
| 2008|9|22|1913|4|22|df=yes |
|---|
{{Death date|2008|9|22|1913|4|22|df=yes}}
| {{Death date}} | → |
(2008-09-22)22 September 2008<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>22 September 2008 |
|---|
| {{Death date/sandbox}} | → |
(2008-09-22)22 September 2008<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>22 September 2008 |
|---|
|
| 1985|3|11|1903|11|19|df=yes |
|---|
{{Death date|1985|3|11|1903|11|19|df=yes}}
| {{Death date}} | → |
(1985-03-11)11 March 1985<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>11 March 1985 |
|---|
| {{Death date/sandbox}} | → |
(1985-03-11)11 March 1985<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>11 March 1985 |
|---|
|
American format (mf=yes)
| 2011|5|13|1965|12|14|mf=yes |
|---|
{{Death date|2011|5|13|1965|12|14|mf=yes}}
| {{Death date}} | → |
(2011-05-13)May 13, 2011<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>May 13, 2011 |
|---|
| {{Death date/sandbox}} | → |
(2011-05-13)May 13, 2011<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>May 13, 2011 |
|---|
|
| 2008|9|22|1913|4|22|mf=yes |
|---|
{{Death date|2008|9|22|1913|4|22|mf=yes}}
| {{Death date}} | → |
(2008-09-22)September 22, 2008<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>September 22, 2008 |
|---|
| {{Death date/sandbox}} | → |
(2008-09-22)September 22, 2008<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>September 22, 2008 |
|---|
|
| 1985|3|11|1903|11|19|mf=yes |
|---|
{{Death date|1985|3|11|1903|11|19|mf=yes}}
| {{Death date}} | → |
(1985-03-11)March 11, 1985<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>March 11, 1985 |
|---|
| {{Death date/sandbox}} | → |
(1985-03-11)March 11, 1985<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>March 11, 1985 |
|---|
|
Default (International) format (no parameter)
| 2011|5|13|1965|12|14 |
|---|
{{Death date|2011|5|13|1965|12|14}}
| {{Death date}} | → |
(2011-05-13)May 13, 2011<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>May 13, 2011 |
|---|
| {{Death date/sandbox}} | → |
(2011-05-13)May 13, 2011<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>May 13, 2011 |
|---|
|
| 2008|9|22|1913|4|22 |
|---|
{{Death date|2008|9|22|1913|4|22}}
| {{Death date}} | → |
(2008-09-22)September 22, 2008<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>September 22, 2008 |
|---|
| {{Death date/sandbox}} | → |
(2008-09-22)September 22, 2008<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>September 22, 2008 |
|---|
|
| 1985|3|11|1903|11|19 |
|---|
{{Death date|1985|3|11|1903|11|19}}
| {{Death date}} | → |
(1985-03-11)March 11, 1985<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>March 11, 1985 |
|---|
| {{Death date/sandbox}} | → |
(1985-03-11)March 11, 1985<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>March 11, 1985 |
|---|
|
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}}
| {{Death date}} | → |
(2011-05-13)13 May 2011<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>13 May 2011 |
|---|
| {{Death date/sandbox}} | → |
(2011-05-13)13 May 2011<span style="display:none">(<span class="dday deathdate">2011-05-13</span>)</span>13 May 2011 |
|---|
|
| 2008|9|22|1913|4|22|df=yes|mf=yes |
|---|
{{Death date|2008|9|22|1913|4|22|df=yes|mf=yes}}
| {{Death date}} | → |
(2008-09-22)22 September 2008<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>22 September 2008 |
|---|
| {{Death date/sandbox}} | → |
(2008-09-22)22 September 2008<span style="display:none">(<span class="dday deathdate">2008-09-22</span>)</span>22 September 2008 |
|---|
|
| 1985|3|11|1903|11|19|df=yes|mf=yes |
|---|
{{Death date|1985|3|11|1903|11|19|df=yes|mf=yes}}
| {{Death date}} | → |
(1985-03-11)11 March 1985<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>11 March 1985 |
|---|
| {{Death date/sandbox}} | → |
(1985-03-11)11 March 1985<span style="display:none">(<span class="dday deathdate">1985-03-11</span>)</span>11 March 1985 |
|---|
|
Bogus dates
| 1948|2|31|1858|12|777 |
|---|
{{Death date|1948|2|31|1858|12|777}}
| {{Death date}} | → |
(1948-02-31)February 31, 1948<span style="display:none">(<span class="dday deathdate">1948-02-31</span>)</span>February 31, 1948 |
|---|
| {{Death date/sandbox}} | → |
(1948-02-31)February 31, 1948<span style="display:none">(<span class="dday deathdate">1948-02-31</span>)</span>February 31, 1948 |
|---|
|
| 1973|4|31|1923|11|31 |
|---|
{{Death date|1973|4|31|1923|11|31}}
| {{Death date}} | → |
(1973-04-31)April 31, 1973<span style="display:none">(<span class="dday deathdate">1973-04-31</span>)</span>April 31, 1973 |
|---|
| {{Death date/sandbox}} | → |
(1973-04-31)April 31, 1973<span style="display:none">(<span class="dday deathdate">1973-04-31</span>)</span>April 31, 1973 |
|---|
|
| 1923|4|31|1973|11|31 |
|---|
{{Death date|1923|4|31|1973|11|31}}
| {{Death date}} | → |
(1923-04-31)April 31, 1923<span style="display:none">(<span class="dday deathdate">1923-04-31</span>)</span>April 31, 1923 |
|---|
| {{Death date/sandbox}} | → |
(1923-04-31)April 31, 1923<span style="display:none">(<span class="dday deathdate">1923-04-31</span>)</span>April 31, 1923 |
|---|
|
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.
| {{Death date}} | → |
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.[[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. (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.[[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
Tested with preview of /sandbox in Wikipedia articles.
No category added:
- article with Template:Prop in Wikidata: Aída Alberti
- article without Template:Prop Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q5) in Wikidata: Russo brothers
- page not in article namespace: Template:No such name
Category added:
- article without Template:Prop in Wikidata: Maria Abbey
- article without item in Wikidata: No such name