All 111 tests passed.

test_birth_with_disap_date

test_birth_with_disap_date
TestExpectedActual
check {{#invoke:person date/sandbox|birth|birth_date=Nov 1990|disappeared_date=August 2020}} Nov 1990 Nov 1990
check {{#invoke:person date/sandbox|birth|birth_date=12 Nov 1985|disappeared_date=12 January 2020}} 12 Nov 1985 12 Nov 1985
check {{#invoke:person date/sandbox|birth|birth_date=1990|disappeared_date={{Disappeared date and age|1920|4|1|1870}}}} 1990 1990
check {{#invoke:person date/sandbox|birth|birth_date=12 Nov 1985|disappeared_date=}} <span style="display:none"> (<span class="bday">1985-11-12</span>) </span>12 November 1985<span class="noprint ForceAgeToShow"> (age&nbsp;40)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">1985-11-12</span>) </span>12 November 1985<span class="noprint ForceAgeToShow"> (age&nbsp;40)</span>[[Category:Pages where birth or death is being automatically determined]]

test_birth_only

test_birth_only
TestExpectedActual
check {{#invoke:person date/sandbox|birth|birth_date=1990}} 1990 (age&nbsp;35&ndash;36)[[Category:Pages where birth or death is being automatically determined]] 1990 (age&nbsp;35&ndash;36)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=1895}} 1895 (age&nbsp;130&ndash;131)&#32; <strong class="error">invalid year, age > 130</strong>[[Category:Pages where birth or death is being automatically determined]] 1895 (age&nbsp;130&ndash;131)&#32; <strong class="error">invalid year, age > 130</strong>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=December 1992}} December&nbsp;1992 (age&nbsp;33)[[Category:Pages where birth or death is being automatically determined]] December&nbsp;1992 (age&nbsp;33)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=June 2021}} June&nbsp;2021 (age&nbsp;4&ndash;5)[[Category:Pages where birth or death is being automatically determined]] June&nbsp;2021 (age&nbsp;4&ndash;5)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=NOT A DATE}} NOT A DATE NOT A DATE
check {{#invoke:person date/sandbox|birth|birth_date=Nov 2020}} November&nbsp;2020 (age&nbsp;5)[[Category:Pages where birth or death is being automatically determined]] November&nbsp;2020 (age&nbsp;5)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=Apr. 2022}} April&nbsp;2022 (age&nbsp;4)[[Category:Pages where birth or death is being automatically determined]] April&nbsp;2022 (age&nbsp;4)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=May 1895}} May&nbsp;1895 (age&nbsp;131)&#32; <strong class="error">invalid year, age > 130</strong>[[Category:Pages where birth or death is being automatically determined]] May&nbsp;1895 (age&nbsp;131)&#32; <strong class="error">invalid year, age > 130</strong>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date= 12 April 1990}} <span style="display:none"> (<span class="bday">1990-04-12</span>) </span>12 April 1990<span class="noprint ForceAgeToShow"> (age&nbsp;36)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">1990-04-12</span>) </span>12 April 1990<span class="noprint ForceAgeToShow"> (age&nbsp;36)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=Nov 12, 1989 }} <span style="display:none"> (<span class="bday">1989-11-12</span>) </span>November 12, 1989<span class="noprint ForceAgeToShow"> (age&nbsp;36)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">1989-11-12</span>) </span>November 12, 1989<span class="noprint ForceAgeToShow"> (age&nbsp;36)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=&nbsp;}} &nbsp; &nbsp;
check {{#invoke:person date/sandbox|birth|birth_date=10 April 1895}} <strong class="error">Error: Invalid birth date for calculating age</strong>[[Category:Pages where birth or death is being automatically determined]] <strong class="error">Error: Invalid birth date for calculating age</strong>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=1956 (age&nbsp;68&ndash;69)}} 1956 (age&nbsp;68&ndash;69) 1956 (age&nbsp;68&ndash;69)
check {{#invoke:person date/sandbox|birth|birth_date={{birth date and age|1990|8|2}}}} <span style="display:none"> (<span class="bday">1990-08-02</span>) </span>August 2, 1990<span class="noprint ForceAgeToShow"> (age&nbsp;35)</span> <span style="display:none"> (<span class="bday">1990-08-02</span>) </span>August 2, 1990<span class="noprint ForceAgeToShow"> (age&nbsp;35)</span>
check {{#invoke:person date/sandbox|birth|birth_date={{b-da|July 7, 1987}}}} July 7, 1987<span style="display:none">&#160;(<span class="dtstart bday">1987-07-07</span>)</span> (age&nbsp;<span class="currentage"></span>38) July 7, 1987<span style="display:none">&#160;(<span class="dtstart bday">1987-07-07</span>)</span> (age&nbsp;<span class="currentage"></span>38)
check {{#invoke:person date/sandbox|birth|birth_date={{circa|1650}}}} <abbr title="circa">c.</abbr><span style="white-space:nowrap;">&thinsp;1650</span> <abbr title="circa">c.</abbr><span style="white-space:nowrap;">&thinsp;1650</span>
check {{#invoke:person date/sandbox|birth|birth_date={{approx}} 1790}} '"`UNIQ--templatestyles-00000000-QINU`"'<span class="rt-commentedText tooltip tooltip-dotted " title="'"`UNIQ--nowiki-00000001-QINU`"'">approx.</span> 1790 '"`UNIQ--templatestyles-00000000-QINU`"'<span class="rt-commentedText tooltip tooltip-dotted " title="'"`UNIQ--nowiki-00000001-QINU`"'">approx.</span> 1790
check {{#invoke:person date/sandbox|birth|birth_date=circa 1492}} circa 1492 circa 1492
check {{#invoke:person date/sandbox|birth|birth_date=1990 or 91}} 1990 or 91 1990 or 91

test_unknown_birth

test_unknown_birth
TestExpectedActual
check {{#invoke:person date/sandbox|birth|birth_date=Unknown}} Unknown[[Category:Pages with invalid birth or death dates]] Unknown[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|birth|birth_date=Unk}} Unk[[Category:Pages with invalid birth or death dates]] Unk[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|birth|birth_date=?}} ?[[Category:Pages with invalid birth or death dates]] ?[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|birth|birth_date=?? November 2020}} ?? November 2020[[Category:Pages with invalid birth or death dates]] ?? November 2020[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|birth|birth_date=unknown}} unknown[[Category:Pages with invalid birth or death dates]] unknown[[Category:Pages with invalid birth or death dates]]

test_unknown_death

test_unknown_death
TestExpectedActual
check {{#invoke:person date/sandbox|death|birth_date=10 November 1990|death_date=Unknown}} Unknown[[Category:Pages with invalid birth or death dates]] Unknown[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|death|birth_date=2020|death_date=Unk}} Unk[[Category:Pages with invalid birth or death dates]] Unk[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|death|birth_date=?|death_date=?}} ?[[Category:Pages with invalid birth or death dates]] ?[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|death|birth_date=March 1990|death_date=?? November 2020}} ?? November 2020[[Category:Pages with invalid birth or death dates]] ?? November 2020[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|death|birth_date=unknown|death_date=unknown}} unknown[[Category:Pages with invalid birth or death dates]] unknown[[Category:Pages with invalid birth or death dates]]

test_birth_with_death

test_birth_with_death
TestExpectedActual
check {{#invoke:person date/sandbox|birth|birth_date=|death_date=}}
check {{#invoke:person date/sandbox|birth|birth_date=&nbsp;|death_date=&nbsp;}} &nbsp; &nbsp;
check {{#invoke:person date/sandbox|birth|birth_date=?|death_date=?}} ?[[Category:Pages with invalid birth or death dates]] ?[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|birth|birth_date= 1990 |death_date= 2020 }} 1990<span style="display:none">&#160;(<span class="dtstart bday">1990</span>)</span>[[Category:Pages where birth or death is being automatically determined]] 1990<span style="display:none">&#160;(<span class="dtstart bday">1990</span>)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=Jan 1983|death_date=2012}} Jan 1983<span style="display:none">&#160;(<span class="dtstart bday">1983-01</span>)</span>[[Category:Pages where birth or death is being automatically determined]] Jan 1983<span style="display:none">&#160;(<span class="dtstart bday">1983-01</span>)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=October 1965|death_date=Nov 2015}} October 1965<span style="display:none">&#160;(<span class="dtstart bday">1965-10</span>)</span>[[Category:Pages where birth or death is being automatically determined]] October 1965<span style="display:none">&#160;(<span class="dtstart bday">1965-10</span>)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=Nov 7, 1993|death_date=Nov 25, 2014}} <span style="display:none">(<span class="bday">1993-11-07</span>)</span>November 7, 1993[[Category:Pages where birth or death is being automatically determined]] <span style="display:none">(<span class="bday">1993-11-07</span>)</span>November 7, 1993[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=November 7, 1993|death_date=December 12, 2014}} <span style="display:none">(<span class="bday">1993-11-07</span>)</span>November 7, 1993[[Category:Pages where birth or death is being automatically determined]] <span style="display:none">(<span class="bday">1993-11-07</span>)</span>November 7, 1993[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=7 Nov 1993|death_date=8 Apr 1995}} <span style="display:none">(<span class="bday">1993-11-07</span>)</span>7 November 1993[[Category:Pages where birth or death is being automatically determined]] <span style="display:none">(<span class="bday">1993-11-07</span>)</span>7 November 1993[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=7 November 1993|death_date=8 April 1995}} <span style="display:none">(<span class="bday">1993-11-07</span>)</span>7 November 1993[[Category:Pages where birth or death is being automatically determined]] <span style="display:none">(<span class="bday">1993-11-07</span>)</span>7 November 1993[[Category:Pages where birth or death is being automatically determined]]

test_death_only

test_death_only
TestExpectedActual
check {{#invoke:person date/sandbox|death|birth_date= |death_date= 2020 }} 2020<span style="display:none">&#160;(<span class="dtend dday deathdate">2021</span>)</span>[[Category:Pages where birth or death is being automatically determined]] 2020<span style="display:none">&#160;(<span class="dtend dday deathdate">2021</span>)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=|death_date=2025}} 2025<span style="display:none">&#160;(<span class="dtend dday deathdate">2026</span>)</span>[[Category:Pages where birth or death is being automatically determined]] 2025<span style="display:none">&#160;(<span class="dtend dday deathdate">2026</span>)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=|death_date=1890}} 1890<span style="display:none">&#160;(<span class="dtend dday deathdate">1891</span>)</span>[[Category:Pages where birth or death is being automatically determined]] 1890<span style="display:none">&#160;(<span class="dtend dday deathdate">1891</span>)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=|death_date=May 2020}} May 2020<span style="display:none">&#160;(<span class="dtend dday deathdate">2020-06</span>)</span>[[Category:Pages where birth or death is being automatically determined]] May 2020<span style="display:none">&#160;(<span class="dtend dday deathdate">2020-06</span>)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=|death_date=Oct. 2020}} Oct. 2020<span style="display:none">&#160;(<span class="dtend dday deathdate">2020-11</span>)</span>[[Category:Pages where birth or death is being automatically determined]] Oct. 2020<span style="display:none">&#160;(<span class="dtend dday deathdate">2020-11</span>)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=|death_date=15 Nov 2020}} <span style="display:none">(<span class="dday deathdate">2020-11-15</span>)</span>15 November 2020[[Category:Pages where birth or death is being automatically determined]] <span style="display:none">(<span class="dday deathdate">2020-11-15</span>)</span>15 November 2020[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=|death_date=Nov 15, 2020}} <span style="display:none">(<span class="dday deathdate">2020-11-15</span>)</span>November 15, 2020[[Category:Pages where birth or death is being automatically determined]] <span style="display:none">(<span class="dday deathdate">2020-11-15</span>)</span>November 15, 2020[[Category:Pages where birth or death is being automatically determined]]

test_birth_unknown_death

test_birth_unknown_death
TestExpectedActual
check {{#invoke:person date/sandbox|birth|birth_date=5 October 2008|death_date=Unknown}} 5 October 2008 5 October 2008
check {{#invoke:person date/sandbox|birth|birth_date=September 12, 2002|death_date=Unknown}} September 12, 2002 September 12, 2002
check {{#invoke:person date/sandbox|birth|birth_date=October 1990|death_date=Unknown}} October 1990 October 1990
check {{#invoke:person date/sandbox|birth|birth_date=2004|death_date=Unknown}} 2004 2004
check {{#invoke:person date/sandbox|birth|birth_date={{birth year|1990}}|death_date=Unknown}} 1990<span style="display:none">&#160;(<span class="dtstart bday">1990</span>)</span> 1990<span style="display:none">&#160;(<span class="dtstart bday">1990</span>)</span>
check {{#invoke:person date/sandbox|birth|birth_date={{birth date|2020|11|7}}|death_date=Unknown}} <span style="display:none">(<span class="bday">2020-11-07</span>)</span>November 7, 2020 <span style="display:none">(<span class="bday">2020-11-07</span>)</span>November 7, 2020

test_death_unknown_birth

test_death_unknown_birth
TestExpectedActual
check {{#invoke:person date/sandbox|death|birth_date=?|death_date=5 October 2008}} 5 October 2008 5 October 2008
check {{#invoke:person date/sandbox|death|birth_date=Unk|death_date=5 October 2008}} 5 October 2008 5 October 2008
check {{#invoke:person date/sandbox|death|birth_date=Unknown|death_date=5 October 2008}} 5 October 2008 5 October 2008
check {{#invoke:person date/sandbox|death|birth_date=Unknown|death_date=September 12, 2002}} September 12, 2002 September 12, 2002
check {{#invoke:person date/sandbox|death|birth_date=Unknown|death_date=October 1990}} October 1990 October 1990
check {{#invoke:person date/sandbox|death|birth_date=Unknown|death_date=2004}} 2004 2004
check {{#invoke:person date/sandbox|death|birth_date=Unknown|death_date={{death year|1990}}}} 1990<span style="display:none">&#160;(<span class="dtend dday deathdate">1991</span>)</span> 1990<span style="display:none">&#160;(<span class="dtend dday deathdate">1991</span>)</span>
check {{#invoke:person date/sandbox|death|birth_date=Unknown|death_date={{death date|2020|11|7}}}} <span style="display:none">(<span class="dday deathdate">2020-11-07</span>)</span>November 7, 2020 <span style="display:none">(<span class="dday deathdate">2020-11-07</span>)</span>November 7, 2020

test_death_ordinals

test_death_ordinals
TestExpectedActual
check {{#invoke:person date/sandbox|death|birth_date=5 October 2008|death_date=15th Nov 2020}} 15 November 2020<span style="display:none">(2020-11-15)</span> (aged&nbsp;12)[[Category:Pages where birth or death is being automatically determined]] 15 November 2020<span style="display:none">(2020-11-15)</span> (aged&nbsp;12)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=5 October 2008|death_date=November 15th, 2020}} November 15, 2020<span style="display:none">(2020-11-15)</span> (aged&nbsp;12)[[Category:Pages where birth or death is being automatically determined]] November 15, 2020<span style="display:none">(2020-11-15)</span> (aged&nbsp;12)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=5 October 2008|death_date=1st December 2020}} 1 December 2020<span style="display:none">(2020-12-01)</span> (aged&nbsp;12)[[Category:Pages where birth or death is being automatically determined]] 1 December 2020<span style="display:none">(2020-12-01)</span> (aged&nbsp;12)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=5 October 2008|death_date=December 1st, 2020}} December 1, 2020<span style="display:none">(2020-12-01)</span> (aged&nbsp;12)[[Category:Pages where birth or death is being automatically determined]] December 1, 2020<span style="display:none">(2020-12-01)</span> (aged&nbsp;12)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=5 October 2008|death_date=3rd April 2022}} 3 April 2022<span style="display:none">(2022-04-03)</span> (aged&nbsp;13)[[Category:Pages where birth or death is being automatically determined]] 3 April 2022<span style="display:none">(2022-04-03)</span> (aged&nbsp;13)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=5 October 2008|death_date=April 3rd, 2022}} April 3, 2022<span style="display:none">(2022-04-03)</span> (aged&nbsp;13)[[Category:Pages where birth or death is being automatically determined]] April 3, 2022<span style="display:none">(2022-04-03)</span> (aged&nbsp;13)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=5 October 2008|death_date=2nd May 2022}} 2 May 2022<span style="display:none">(2022-05-02)</span> (aged&nbsp;13)[[Category:Pages where birth or death is being automatically determined]] 2 May 2022<span style="display:none">(2022-05-02)</span> (aged&nbsp;13)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=5 October 2008|death_date=May 2nd, 2022}} May 2, 2022<span style="display:none">(2022-05-02)</span> (aged&nbsp;13)[[Category:Pages where birth or death is being automatically determined]] May 2, 2022<span style="display:none">(2022-05-02)</span> (aged&nbsp;13)[[Category:Pages where birth or death is being automatically determined]]

test_birth_ordinals

test_birth_ordinals
TestExpectedActual
check {{#invoke:person date/sandbox|birth|birth_date=15th Nov 2020}} <span style="display:none"> (<span class="bday">2020-11-15</span>) </span>15 November 2020<span class="noprint ForceAgeToShow"> (age&nbsp;5)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">2020-11-15</span>) </span>15 November 2020<span class="noprint ForceAgeToShow"> (age&nbsp;5)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=November 15th, 2020}} <span style="display:none"> (<span class="bday">2020-11-15</span>) </span>November 15, 2020<span class="noprint ForceAgeToShow"> (age&nbsp;5)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">2020-11-15</span>) </span>November 15, 2020<span class="noprint ForceAgeToShow"> (age&nbsp;5)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=1st December 2020}} <span style="display:none"> (<span class="bday">2020-12-01</span>) </span>1 December 2020<span class="noprint ForceAgeToShow"> (age&nbsp;5)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">2020-12-01</span>) </span>1 December 2020<span class="noprint ForceAgeToShow"> (age&nbsp;5)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=December 1st, 2020}} <span style="display:none"> (<span class="bday">2020-12-01</span>) </span>December 1, 2020<span class="noprint ForceAgeToShow"> (age&nbsp;5)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">2020-12-01</span>) </span>December 1, 2020<span class="noprint ForceAgeToShow"> (age&nbsp;5)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=3rd April 2022}} <span style="display:none"> (<span class="bday">2022-04-03</span>) </span>3 April 2022<span class="noprint ForceAgeToShow"> (age&nbsp;4)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">2022-04-03</span>) </span>3 April 2022<span class="noprint ForceAgeToShow"> (age&nbsp;4)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=April 3rd, 2022}} <span style="display:none"> (<span class="bday">2022-04-03</span>) </span>April 3, 2022<span class="noprint ForceAgeToShow"> (age&nbsp;4)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">2022-04-03</span>) </span>April 3, 2022<span class="noprint ForceAgeToShow"> (age&nbsp;4)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=2nd May 2022}} <span style="display:none"> (<span class="bday">2022-05-02</span>) </span>2 May 2022<span class="noprint ForceAgeToShow"> (age&nbsp;4)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">2022-05-02</span>) </span>2 May 2022<span class="noprint ForceAgeToShow"> (age&nbsp;4)</span>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|birth|birth_date=May 2nd, 2022}} <span style="display:none"> (<span class="bday">2022-05-02</span>) </span>May 2, 2022<span class="noprint ForceAgeToShow"> (age&nbsp;4)</span>[[Category:Pages where birth or death is being automatically determined]] <span style="display:none"> (<span class="bday">2022-05-02</span>) </span>May 2, 2022<span class="noprint ForceAgeToShow"> (age&nbsp;4)</span>[[Category:Pages where birth or death is being automatically determined]]

test_death_with_birth

test_death_with_birth
TestExpectedActual
check {{#invoke:person date/sandbox|death|birth_date=|death_date=}}
check {{#invoke:person date/sandbox|death|birth_date=&nbsp;|death_date=&nbsp;}} &nbsp; &nbsp;
check {{#invoke:person date/sandbox|death|birth_date=?|death_date=?}} ?[[Category:Pages with invalid birth or death dates]] ?[[Category:Pages with invalid birth or death dates]]
check {{#invoke:person date/sandbox|death|birth_date=1990|death_date=2020}} 2020 (aged&nbsp;29&ndash;30) [[Category:Pages where birth or death is being automatically determined]] 2020 (aged&nbsp;29&ndash;30) [[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=1790|death_date=2020}} 2020 (aged&nbsp;229&ndash;230)&#32;<strong class="error">invalid year, age > 130</strong> [[Category:Pages where birth or death is being automatically determined]] 2020 (aged&nbsp;229&ndash;230)&#32;<strong class="error">invalid year, age > 130</strong> [[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=1890|death_date=2025}} 2025 (aged&nbsp;134&ndash;135)&#32;<strong class="error">invalid year, age > 130</strong> [[Category:Pages where birth or death is being automatically determined]] 2025 (aged&nbsp;134&ndash;135)&#32;<strong class="error">invalid year, age > 130</strong> [[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=1986|death_date=June 2021}} June 2021<span style="display:none">(2021-06-00)</span> (aged&nbsp;34–35)[[Category:Pages where birth or death is being automatically determined]] June 2021<span style="display:none">(2021-06-00)</span> (aged&nbsp;34–35)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=Jan 1983|death_date=2012}} 2012 2012
check {{#invoke:person date/sandbox|death|birth_date=1965|death_date=Nov 2015}} November 2015<span style="display:none">(2015-11-00)</span> (aged&nbsp;49–50)[[Category:Pages where birth or death is being automatically determined]] November 2015<span style="display:none">(2015-11-00)</span> (aged&nbsp;49–50)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=1805|death_date=January 1856}} January 1856<span style="display:none">(1856-01-00)</span> (aged&nbsp;50–51)[[Category:Pages where birth or death is being automatically determined]] January 1856<span style="display:none">(1856-01-00)</span> (aged&nbsp;50–51)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=unknown|death_date=Nov 2015}} Nov 2015 Nov 2015
check {{#invoke:person date/sandbox|death|birth_date=October 1965|death_date= Nov 2015 }} November 2015<span style="display:none">(2015-11-00)</span> (aged&nbsp;50)[[Category:Pages where birth or death is being automatically determined]] November 2015<span style="display:none">(2015-11-00)</span> (aged&nbsp;50)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=April 1665|death_date=Nov 2015}} <strong class="error">Error: Invalid dates for calculating age</strong>[[Category:Pages where birth or death is being automatically determined]] <strong class="error">Error: Invalid dates for calculating age</strong>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date= Nov 7, 1993 |death_date= Nov 25, 2014 }} November 25, 2014<span style="display:none">(2014-11-25)</span> (aged&nbsp;21)[[Category:Pages where birth or death is being automatically determined]] November 25, 2014<span style="display:none">(2014-11-25)</span> (aged&nbsp;21)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=1993|death_date=Nov 25, 2014}} November 25, 2014<span style="display:none">(2014-11-25)</span> (aged&nbsp;20–21)[[Category:Pages where birth or death is being automatically determined]] November 25, 2014<span style="display:none">(2014-11-25)</span> (aged&nbsp;20–21)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=1853|death_date=Nov 25, 2014}} <strong class="error">Error: Invalid dates for calculating age</strong>[[Category:Pages where birth or death is being automatically determined]] <strong class="error">Error: Invalid dates for calculating age</strong>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=Dec 1993|death_date=Nov 25, 2014}} November 25, 2014<span style="display:none">(2014-11-25)</span> (aged&nbsp;20)[[Category:Pages where birth or death is being automatically determined]] November 25, 2014<span style="display:none">(2014-11-25)</span> (aged&nbsp;20)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=25 Jan 1914|death_date=2014}} 2014<span style="display:none">(2014-00-00)</span> (aged&nbsp;99–100)[[Category:Pages where birth or death is being automatically determined]] 2014<span style="display:none">(2014-00-00)</span> (aged&nbsp;99–100)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=November 7, 1993|death_date=December 12, 2014}} December 12, 2014<span style="display:none">(2014-12-12)</span> (aged&nbsp;21)[[Category:Pages where birth or death is being automatically determined]] December 12, 2014<span style="display:none">(2014-12-12)</span> (aged&nbsp;21)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=7 Nov 1693|death_date=8 Apr 1995}} <strong class="error">Error: Invalid dates for calculating age</strong>[[Category:Pages where birth or death is being automatically determined]] <strong class="error">Error: Invalid dates for calculating age</strong>[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=7 Nov 1993|death_date=8 Apr 1995}} 8 April 1995<span style="display:none">(1995-04-08)</span> (aged&nbsp;1)[[Category:Pages where birth or death is being automatically determined]] 8 April 1995<span style="display:none">(1995-04-08)</span> (aged&nbsp;1)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date=7 November 1993|death_date=8 April 1995}} 8 April 1995<span style="display:none">(1995-04-08)</span> (aged&nbsp;1)[[Category:Pages where birth or death is being automatically determined]] 8 April 1995<span style="display:none">(1995-04-08)</span> (aged&nbsp;1)[[Category:Pages where birth or death is being automatically determined]]
check {{#invoke:person date/sandbox|death|birth_date={{bda|1993|11|7}}|death_date=8 April 1995}} 8 April 1995 8 April 1995
check {{#invoke:person date/sandbox|death|birth_date=Unknown|death_date=1995}} 1995 1995
check {{#invoke:person date/sandbox|death|birth_date=Unknown|death_date=8 April 1995}} 8 April 1995 8 April 1995
check {{#invoke:person date/sandbox|death|birth_date=1960s|death_date=8 April 1995}} 8 April 1995 8 April 1995

test_birth_with_reference

test_birth_with_reference
TestExpectedActual
check {{#invoke:person date/sandbox|birth|birth_date=1990{{cn}}}} 1990<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources.">citation needed</span>]]</i>&#93;</sup> 1990<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources.">citation needed</span>]]</i>&#93;</sup>
check {{#invoke:person date/sandbox|birth|birth_date=1995 {{cn}}}} 1995 <sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources.">citation needed</span>]]</i>&#93;</sup> 1995 <sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources.">citation needed</span>]]</i>&#93;</sup>
check {{#invoke:person date/sandbox|birth|birth_date=5 October 1986{{cn}}}} 5 October 1986<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources.">citation needed</span>]]</i>&#93;</sup> 5 October 1986<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources.">citation needed</span>]]</i>&#93;</sup>
check {{#invoke:person date/sandbox|birth|birth_date=5 October 1986 {{cn}}}} 5 October 1986 <sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources.">citation needed</span>]]</i>&#93;</sup> 5 October 1986 <sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources.">citation needed</span>]]</i>&#93;</sup>
check {{#invoke:person date/sandbox|birth|birth_date=5 October 1986<ref name="someref">{{Cite web |title= Some website }}</ref>}} 5 October 1986'"`UNIQ--ref-00000003-QINU`"' 5 October 1986'"`UNIQ--ref-00000002-QINU`"'

References