Jump to content

Template:Birth date text/testcases

From Wikipedia, the free encyclopedia

Date

[edit]
{{Birth date text| December 7, 1941 }}
  • {{Birth date text| December 7, 1941 }} → December 7, 1941 (1941-12-07)
    December 7, 1941<span style="display:none">&#160;(<span class="dtstart bday">1941-12-07</span>)</span>
  • {{Birth date text/sandbox| December 7, 1941 }} → December 7, 1941 (1941-12-07)
    December 7, 1941<span style="display:none">&#160;(<span class="dtstart bday">1941-12-07</span>)</span>
  •  {{Birth date|1941|12|7}}(1941-12-07)December 7, 1941
    <span style="display:none">(<span class="bday">1941-12-07</span>)</span>December 7, 1941
{{Birth date text| 7 December 1941 }}
  • {{Birth date text| 7 December 1941 }} → 7 December 1941 (1941-12-07)
    7 December 1941<span style="display:none">&#160;(<span class="dtstart bday">1941-12-07</span>)</span>
  • {{Birth date text/sandbox| 7 December 1941 }} → 7 December 1941 (1941-12-07)
    7 December 1941<span style="display:none">&#160;(<span class="dtstart bday">1941-12-07</span>)</span>
  •  {{Birth date|1941|12|7|df=y}}(1941-12-07)7 December 1941
    <span style="display:none">(<span class="bday">1941-12-07</span>)</span>7 December 1941

Date and time

[edit]
{{Birth date text| 5:43PM HST, December 7th, 1941 |tz= y }}
{{Birth date text}} 5:43PM HST, December 7th, 1941 (1941-12-08UTC03:43Z)
5:43PM HST, December 7th, 1941<span style="display:none">&#160;(<span class="dtstart bday">1941-12-08UTC03:43Z</span>)</span>
{{Birth date text/sandbox}} 5:43PM HST, December 7th, 1941 (1941-12-08UTC03:43Z)
5:43PM HST, December 7th, 1941<span style="display:none">&#160;(<span class="dtstart bday">1941-12-08UTC03:43Z</span>)</span>
{{Birth date text| December 8, 1941 12:50PM Australia/Adelaide |tz= y }}
{{Birth date text}} December 8, 1941 12:50PM Australia/Adelaide (1941-12-08UTC03:20Z)
December 8, 1941 12:50PM Australia/Adelaide<span style="display:none">&#160;(<span class="dtstart bday">1941-12-08UTC03:20Z</span>)</span>
{{Birth date text/sandbox}} December 8, 1941 12:50PM Australia/Adelaide (1941-12-08UTC03:20Z)
December 8, 1941 12:50PM Australia/Adelaide<span style="display:none">&#160;(<span class="dtstart bday">1941-12-08UTC03:20Z</span>)</span>
{{Birth date text| 9 June 1672 | {{OldStyleDate|9 June|1672|30 May}} }}
{{Birth date text}} 9 June [O.S. 30 May] 1672 (1672-06-09)
9 June&nbsp;&#91;[[Old Style and New Style dates|O.S.]] 30 May&#93;&nbsp;1672<span style="display:none">&#160;(<span class="dtstart bday">1672-06-09</span>)</span>
{{Birth date text/sandbox}} 9 June [O.S. 30 May] 1672 (1672-06-09)
9 June&nbsp;&#91;[[Old Style and New Style dates|O.S.]] 30 May&#93;&nbsp;1672<span style="display:none">&#160;(<span class="dtstart bday">1672-06-09</span>)</span>

Wikidata tracking

[edit]

Tested with preview of /sandbox in Wikipedia articles.

No category added:

  1. article with date of birth (P569) in Wikidata: Gimena Accardi
  2. article without instance of (P31) human (Q5) in Wikidata: Russo brothers
  3. page not in article namespace: Template:No such name

Category added:

  1. article without date of birth (P569) in Wikidata: Maria Abbey
  2. article without item in Wikidata: No such name