Jump to content

Template:Birth date/testcases

From Wikipedia, the free encyclopedia

International format (df=yes)

[edit]
{{Birth date|2011|5|13|df=yes}}
{{Birth date}} (2011-05-13)13 May 2011
<span style="display:none">(<span class="bday">2011-05-13</span>)</span>13 May 2011
{{Birth date/sandbox}} (2011-05-13)13 May 2011
<span style="display:none">(<span class="bday">2011-05-13</span>)</span>13 May 2011
{{Birth date|2008|9|22|df=yes}}
{{Birth date}} (2008-09-22)22 September 2008
<span style="display:none">(<span class="bday">2008-09-22</span>)</span>22 September 2008
{{Birth date/sandbox}} (2008-09-22)22 September 2008
<span style="display:none">(<span class="bday">2008-09-22</span>)</span>22 September 2008
{{Birth date|1985|3|11|df=yes}}
{{Birth date}} (1985-03-11)11 March 1985
<span style="display:none">(<span class="bday">1985-03-11</span>)</span>11 March 1985
{{Birth date/sandbox}} (1985-03-11)11 March 1985
<span style="display:none">(<span class="bday">1985-03-11</span>)</span>11 March 1985
{{Birth date|1898|12|23|df=yes}}
{{Birth date}} (1898-12-23)23 December 1898
<span style="display:none">(<span class="bday">1898-12-23</span>)</span>23 December 1898
{{Birth date/sandbox}} (1898-12-23)23 December 1898
<span style="display:none">(<span class="bday">1898-12-23</span>)</span>23 December 1898
{{Birth date|1955|1|31|df=yes}}
{{Birth date}} (1955-01-31)31 January 1955
<span style="display:none">(<span class="bday">1955-01-31</span>)</span>31 January 1955
{{Birth date/sandbox}} (1955-01-31)31 January 1955
<span style="display:none">(<span class="bday">1955-01-31</span>)</span>31 January 1955
{{Birth date|1956|2|29|df=yes}}
{{Birth date}} (1956-02-29)29 February 1956
<span style="display:none">(<span class="bday">1956-02-29</span>)</span>29 February 1956
{{Birth date/sandbox}} (1956-02-29)29 February 1956
<span style="display:none">(<span class="bday">1956-02-29</span>)</span>29 February 1956
{{Birth date|1957|3|31|df=yes}}
{{Birth date}} (1957-03-31)31 March 1957
<span style="display:none">(<span class="bday">1957-03-31</span>)</span>31 March 1957
{{Birth date/sandbox}} (1957-03-31)31 March 1957
<span style="display:none">(<span class="bday">1957-03-31</span>)</span>31 March 1957
{{Birth date|1958|4|30|df=yes}}
{{Birth date}} (1958-04-30)30 April 1958
<span style="display:none">(<span class="bday">1958-04-30</span>)</span>30 April 1958
{{Birth date/sandbox}} (1958-04-30)30 April 1958
<span style="display:none">(<span class="bday">1958-04-30</span>)</span>30 April 1958
{{Birth date|1959|5|31|df=yes}}
{{Birth date}} (1959-05-31)31 May 1959
<span style="display:none">(<span class="bday">1959-05-31</span>)</span>31 May 1959
{{Birth date/sandbox}} (1959-05-31)31 May 1959
<span style="display:none">(<span class="bday">1959-05-31</span>)</span>31 May 1959
{{Birth date|1960|6|30|df=yes}}
{{Birth date}} (1960-06-30)30 June 1960
<span style="display:none">(<span class="bday">1960-06-30</span>)</span>30 June 1960
{{Birth date/sandbox}} (1960-06-30)30 June 1960
<span style="display:none">(<span class="bday">1960-06-30</span>)</span>30 June 1960
{{Birth date|1961|7|31|df=yes}}
{{Birth date}} (1961-07-31)31 July 1961
<span style="display:none">(<span class="bday">1961-07-31</span>)</span>31 July 1961
{{Birth date/sandbox}} (1961-07-31)31 July 1961
<span style="display:none">(<span class="bday">1961-07-31</span>)</span>31 July 1961
{{Birth date|1962|8|31|df=yes}}
{{Birth date}} (1962-08-31)31 August 1962
<span style="display:none">(<span class="bday">1962-08-31</span>)</span>31 August 1962
{{Birth date/sandbox}} (1962-08-31)31 August 1962
<span style="display:none">(<span class="bday">1962-08-31</span>)</span>31 August 1962
{{Birth date|1963|9|30|df=yes}}
{{Birth date}} (1963-09-30)30 September 1963
<span style="display:none">(<span class="bday">1963-09-30</span>)</span>30 September 1963
{{Birth date/sandbox}} (1963-09-30)30 September 1963
<span style="display:none">(<span class="bday">1963-09-30</span>)</span>30 September 1963
{{Birth date|1964|10|31|df=yes}}
{{Birth date}} (1964-10-31)31 October 1964
<span style="display:none">(<span class="bday">1964-10-31</span>)</span>31 October 1964
{{Birth date/sandbox}} (1964-10-31)31 October 1964
<span style="display:none">(<span class="bday">1964-10-31</span>)</span>31 October 1964
{{Birth date|1965|11|30|df=yes}}
{{Birth date}} (1965-11-30)30 November 1965
<span style="display:none">(<span class="bday">1965-11-30</span>)</span>30 November 1965
{{Birth date/sandbox}} (1965-11-30)30 November 1965
<span style="display:none">(<span class="bday">1965-11-30</span>)</span>30 November 1965
{{Birth date|1966|12|31|df=yes}}
{{Birth date}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966
{{Birth date/sandbox}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966

American format (mf=yes)

[edit]
{{Birth date|2011|5|13|mf=yes}}
{{Birth date}} (2011-05-13)May 13, 2011
<span style="display:none">(<span class="bday">2011-05-13</span>)</span>May 13, 2011
{{Birth date/sandbox}} (2011-05-13)May 13, 2011
<span style="display:none">(<span class="bday">2011-05-13</span>)</span>May 13, 2011
{{Birth date|2008|9|22|mf=yes}}
{{Birth date}} (2008-09-22)September 22, 2008
<span style="display:none">(<span class="bday">2008-09-22</span>)</span>September 22, 2008
{{Birth date/sandbox}} (2008-09-22)September 22, 2008
<span style="display:none">(<span class="bday">2008-09-22</span>)</span>September 22, 2008
{{Birth date|1985|3|11|mf=yes}}
{{Birth date}} (1985-03-11)March 11, 1985
<span style="display:none">(<span class="bday">1985-03-11</span>)</span>March 11, 1985
{{Birth date/sandbox}} (1985-03-11)March 11, 1985
<span style="display:none">(<span class="bday">1985-03-11</span>)</span>March 11, 1985
{{Birth date|1898|12|23|mf=yes}}
{{Birth date}} (1898-12-23)December 23, 1898
<span style="display:none">(<span class="bday">1898-12-23</span>)</span>December 23, 1898
{{Birth date/sandbox}} (1898-12-23)December 23, 1898
<span style="display:none">(<span class="bday">1898-12-23</span>)</span>December 23, 1898
{{Birth date|1955|1|31|mf=yes}}
{{Birth date}} (1955-01-31)January 31, 1955
<span style="display:none">(<span class="bday">1955-01-31</span>)</span>January 31, 1955
{{Birth date/sandbox}} (1955-01-31)January 31, 1955
<span style="display:none">(<span class="bday">1955-01-31</span>)</span>January 31, 1955
{{Birth date|1956|2|29|mf=yes}}
{{Birth date}} (1956-02-29)February 29, 1956
<span style="display:none">(<span class="bday">1956-02-29</span>)</span>February 29, 1956
{{Birth date/sandbox}} (1956-02-29)February 29, 1956
<span style="display:none">(<span class="bday">1956-02-29</span>)</span>February 29, 1956
{{Birth date|1957|3|31|mf=yes}}
{{Birth date}} (1957-03-31)March 31, 1957
<span style="display:none">(<span class="bday">1957-03-31</span>)</span>March 31, 1957
{{Birth date/sandbox}} (1957-03-31)March 31, 1957
<span style="display:none">(<span class="bday">1957-03-31</span>)</span>March 31, 1957
{{Birth date|1958|4|30|mf=yes}}
{{Birth date}} (1958-04-30)April 30, 1958
<span style="display:none">(<span class="bday">1958-04-30</span>)</span>April 30, 1958
{{Birth date/sandbox}} (1958-04-30)April 30, 1958
<span style="display:none">(<span class="bday">1958-04-30</span>)</span>April 30, 1958
{{Birth date|1959|5|31|mf=yes}}
{{Birth date}} (1959-05-31)May 31, 1959
<span style="display:none">(<span class="bday">1959-05-31</span>)</span>May 31, 1959
{{Birth date/sandbox}} (1959-05-31)May 31, 1959
<span style="display:none">(<span class="bday">1959-05-31</span>)</span>May 31, 1959
{{Birth date|1960|6|30|mf=yes}}
{{Birth date}} (1960-06-30)June 30, 1960
<span style="display:none">(<span class="bday">1960-06-30</span>)</span>June 30, 1960
{{Birth date/sandbox}} (1960-06-30)June 30, 1960
<span style="display:none">(<span class="bday">1960-06-30</span>)</span>June 30, 1960
{{Birth date|1961|7|31|mf=yes}}
{{Birth date}} (1961-07-31)July 31, 1961
<span style="display:none">(<span class="bday">1961-07-31</span>)</span>July 31, 1961
{{Birth date/sandbox}} (1961-07-31)July 31, 1961
<span style="display:none">(<span class="bday">1961-07-31</span>)</span>July 31, 1961
{{Birth date|1962|8|31|mf=yes}}
{{Birth date}} (1962-08-31)August 31, 1962
<span style="display:none">(<span class="bday">1962-08-31</span>)</span>August 31, 1962
{{Birth date/sandbox}} (1962-08-31)August 31, 1962
<span style="display:none">(<span class="bday">1962-08-31</span>)</span>August 31, 1962
{{Birth date|1963|9|30|mf=yes}}
{{Birth date}} (1963-09-30)September 30, 1963
<span style="display:none">(<span class="bday">1963-09-30</span>)</span>September 30, 1963
{{Birth date/sandbox}} (1963-09-30)September 30, 1963
<span style="display:none">(<span class="bday">1963-09-30</span>)</span>September 30, 1963
{{Birth date|1964|10|31|mf=yes}}
{{Birth date}} (1964-10-31)October 31, 1964
<span style="display:none">(<span class="bday">1964-10-31</span>)</span>October 31, 1964
{{Birth date/sandbox}} (1964-10-31)October 31, 1964
<span style="display:none">(<span class="bday">1964-10-31</span>)</span>October 31, 1964
{{Birth date|1965|11|30|mf=yes}}
{{Birth date}} (1965-11-30)November 30, 1965
<span style="display:none">(<span class="bday">1965-11-30</span>)</span>November 30, 1965
{{Birth date/sandbox}} (1965-11-30)November 30, 1965
<span style="display:none">(<span class="bday">1965-11-30</span>)</span>November 30, 1965
{{Birth date|1966|12|31|mf=yes}}
{{Birth date}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966
{{Birth date/sandbox}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966

Default (International) format (no parameter)

[edit]
{{Birth date|2011|5|13}}
{{Birth date}} (2011-05-13)May 13, 2011
<span style="display:none">(<span class="bday">2011-05-13</span>)</span>May 13, 2011
{{Birth date/sandbox}} (2011-05-13)May 13, 2011
<span style="display:none">(<span class="bday">2011-05-13</span>)</span>May 13, 2011
{{Birth date|2008|9|22}}
{{Birth date}} (2008-09-22)September 22, 2008
<span style="display:none">(<span class="bday">2008-09-22</span>)</span>September 22, 2008
{{Birth date/sandbox}} (2008-09-22)September 22, 2008
<span style="display:none">(<span class="bday">2008-09-22</span>)</span>September 22, 2008
{{Birth date|1985|3|11}}
{{Birth date}} (1985-03-11)March 11, 1985
<span style="display:none">(<span class="bday">1985-03-11</span>)</span>March 11, 1985
{{Birth date/sandbox}} (1985-03-11)March 11, 1985
<span style="display:none">(<span class="bday">1985-03-11</span>)</span>March 11, 1985
{{Birth date|1898|12|23}}
{{Birth date}} (1898-12-23)December 23, 1898
<span style="display:none">(<span class="bday">1898-12-23</span>)</span>December 23, 1898
{{Birth date/sandbox}} (1898-12-23)December 23, 1898
<span style="display:none">(<span class="bday">1898-12-23</span>)</span>December 23, 1898
{{Birth date|1955|1|31}}
{{Birth date}} (1955-01-31)January 31, 1955
<span style="display:none">(<span class="bday">1955-01-31</span>)</span>January 31, 1955
{{Birth date/sandbox}} (1955-01-31)January 31, 1955
<span style="display:none">(<span class="bday">1955-01-31</span>)</span>January 31, 1955
{{Birth date|1956|2|29}}
{{Birth date}} (1956-02-29)February 29, 1956
<span style="display:none">(<span class="bday">1956-02-29</span>)</span>February 29, 1956
{{Birth date/sandbox}} (1956-02-29)February 29, 1956
<span style="display:none">(<span class="bday">1956-02-29</span>)</span>February 29, 1956
{{Birth date|1957|3|31}}
{{Birth date}} (1957-03-31)March 31, 1957
<span style="display:none">(<span class="bday">1957-03-31</span>)</span>March 31, 1957
{{Birth date/sandbox}} (1957-03-31)March 31, 1957
<span style="display:none">(<span class="bday">1957-03-31</span>)</span>March 31, 1957
{{Birth date|1958|4|30}}
{{Birth date}} (1958-04-30)April 30, 1958
<span style="display:none">(<span class="bday">1958-04-30</span>)</span>April 30, 1958
{{Birth date/sandbox}} (1958-04-30)April 30, 1958
<span style="display:none">(<span class="bday">1958-04-30</span>)</span>April 30, 1958
{{Birth date|1959|5|31}}
{{Birth date}} (1959-05-31)May 31, 1959
<span style="display:none">(<span class="bday">1959-05-31</span>)</span>May 31, 1959
{{Birth date/sandbox}} (1959-05-31)May 31, 1959
<span style="display:none">(<span class="bday">1959-05-31</span>)</span>May 31, 1959
{{Birth date|1960|6|30}}
{{Birth date}} (1960-06-30)June 30, 1960
<span style="display:none">(<span class="bday">1960-06-30</span>)</span>June 30, 1960
{{Birth date/sandbox}} (1960-06-30)June 30, 1960
<span style="display:none">(<span class="bday">1960-06-30</span>)</span>June 30, 1960
{{Birth date|1961|7|31}}
{{Birth date}} (1961-07-31)July 31, 1961
<span style="display:none">(<span class="bday">1961-07-31</span>)</span>July 31, 1961
{{Birth date/sandbox}} (1961-07-31)July 31, 1961
<span style="display:none">(<span class="bday">1961-07-31</span>)</span>July 31, 1961
{{Birth date|1962|8|31}}
{{Birth date}} (1962-08-31)August 31, 1962
<span style="display:none">(<span class="bday">1962-08-31</span>)</span>August 31, 1962
{{Birth date/sandbox}} (1962-08-31)August 31, 1962
<span style="display:none">(<span class="bday">1962-08-31</span>)</span>August 31, 1962
{{Birth date|1963|9|30}}
{{Birth date}} (1963-09-30)September 30, 1963
<span style="display:none">(<span class="bday">1963-09-30</span>)</span>September 30, 1963
{{Birth date/sandbox}} (1963-09-30)September 30, 1963
<span style="display:none">(<span class="bday">1963-09-30</span>)</span>September 30, 1963
{{Birth date|1964|10|31}}
{{Birth date}} (1964-10-31)October 31, 1964
<span style="display:none">(<span class="bday">1964-10-31</span>)</span>October 31, 1964
{{Birth date/sandbox}} (1964-10-31)October 31, 1964
<span style="display:none">(<span class="bday">1964-10-31</span>)</span>October 31, 1964
{{Birth date|1965|11|30}}
{{Birth date}} (1965-11-30)November 30, 1965
<span style="display:none">(<span class="bday">1965-11-30</span>)</span>November 30, 1965
{{Birth date/sandbox}} (1965-11-30)November 30, 1965
<span style="display:none">(<span class="bday">1965-11-30</span>)</span>November 30, 1965
{{Birth date|1966|12|31}}
{{Birth date}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966
{{Birth date/sandbox}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966

What if both mf and df are set?

[edit]
{{Birth date|1966|12|31|df=yes|mf=yes}}
{{Birth date}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966
{{Birth date/sandbox}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966
{{Birth date|1999|9|13|df=yes|mf=yes}}
{{Birth date}} (1999-09-13)13 September 1999
<span style="display:none">(<span class="bday">1999-09-13</span>)</span>13 September 1999
{{Birth date/sandbox}} (1999-09-13)13 September 1999
<span style="display:none">(<span class="bday">1999-09-13</span>)</span>13 September 1999
{{Birth date|1823|5|21|df=yes|mf=yes}}
{{Birth date}} (1823-05-21)21 May 1823
<span style="display:none">(<span class="bday">1823-05-21</span>)</span>21 May 1823
{{Birth date/sandbox}} (1823-05-21)21 May 1823
<span style="display:none">(<span class="bday">1823-05-21</span>)</span>21 May 1823
{{Birth date|4|12|25|df=yes|mf=yes}}
{{Birth date}} (4-12-25)25 December 4
<span style="display:none">(<span class="bday">4-12-25</span>)</span>25 December 4
{{Birth date/sandbox}} (4-12-25)25 December 4
<span style="display:none">(<span class="bday">4-12-25</span>)</span>25 December 4

Using year, month, day parameters

[edit]
{{Birth date|year=1966|month=12|day=31}}
{{Birth date}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966
{{Birth date/sandbox}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966
{{Birth date|day=31|month=12|year=1966}}
{{Birth date}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966
{{Birth date/sandbox}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966
{{Birth date|month=12|day=31|year=1966}}
{{Birth date}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966
{{Birth date/sandbox}} (1966-12-31)December 31, 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>December 31, 1966

Day first

{{Birth date|year=1966|month=12|day=31|df=yes}}
{{Birth date}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966
{{Birth date/sandbox}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966
{{Birth date|day=31|month=12|year=1966|df=yes}}
{{Birth date}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966
{{Birth date/sandbox}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966
{{Birth date|month=12|day=31|year=1966|df=yes}}
{{Birth date}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966
{{Birth date/sandbox}} (1966-12-31)31 December 1966
<span style="display:none">(<span class="bday">1966-12-31</span>)</span>31 December 1966

Bogus dates

[edit]
{{Birth date|1948|2|31}}
{{Birth date}} (1948-02-31)February 31, 1948
<span style="display:none">(<span class="bday">1948-02-31</span>)</span>February 31, 1948
{{Birth date/sandbox}} (1948-02-31)February 31, 1948
<span style="display:none">(<span class="bday">1948-02-31</span>)</span>February 31, 1948
{{Birth date|1943|4|31}}
{{Birth date}} (1943-04-31)April 31, 1943
<span style="display:none">(<span class="bday">1943-04-31</span>)</span>April 31, 1943
{{Birth date/sandbox}} (1943-04-31)April 31, 1943
<span style="display:none">(<span class="bday">1943-04-31</span>)</span>April 31, 1943
{{Birth date|1953|6|31}}
{{Birth date}} (1953-06-31)June 31, 1953
<span style="display:none">(<span class="bday">1953-06-31</span>)</span>June 31, 1953
{{Birth date/sandbox}} (1953-06-31)June 31, 1953
<span style="display:none">(<span class="bday">1953-06-31</span>)</span>June 31, 1953
{{Birth date|1980|9|31}}
{{Birth date}} (1980-09-31)September 31, 1980
<span style="display:none">(<span class="bday">1980-09-31</span>)</span>September 31, 1980
{{Birth date/sandbox}} (1980-09-31)September 31, 1980
<span style="display:none">(<span class="bday">1980-09-31</span>)</span>September 31, 1980
{{Birth date|1977|11|31}}
{{Birth date}} (1977-11-31)November 31, 1977
<span style="display:none">(<span class="bday">1977-11-31</span>)</span>November 31, 1977
{{Birth date/sandbox}} (1977-11-31)November 31, 1977
<span style="display:none">(<span class="bday">1977-11-31</span>)</span>November 31, 1977
{{Birth date|1994|12|777}}
{{Birth date}} (1994-12-777)December 777, 1994 invalid day
<span style="display:none">(<span class="bday">1994-12-777</span>)</span>December 777, 1994&#32;<strong class="error">invalid day</strong>
{{Birth date/sandbox}} (1994-12-777)December 777, 1994 invalid day
<span style="display:none">(<span class="bday">1994-12-777</span>)</span>December 777, 1994&#32;<strong class="error">invalid day</strong>
{{Birth date|1494|12|7}}
{{Birth date}} (1494-12-07)December 7, 1494
<span style="display:none">(<span class="bday">1494-12-07</span>)</span>December 7, 1494
{{Birth date/sandbox}} (1494-12-07)December 7, 1494
<span style="display:none">(<span class="bday">1494-12-07</span>)</span>December 7, 1494

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