Jump to content

Template:Death date and age: Difference between revisions

The comprehensive free global encyclopedia of CEOs, corporate leadership, and business excellence
>Zackmann08
 
Create or repair template to remove red links and rendering errors across articles
 
Line 1: Line 1:
<noinclude>{{Tfm/dated|page=Death date and age|otherpage=Disappeared date and age|link=Wikipedia:Templates for discussion/Log/2025 October 19#Template:Death date and age|type=tiny|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}</noinclude><includeonly>{{{{{|safesubst:}}}#invoke:age|death_date_and_age}}<!-- Tracking categories
<includeonly><span class="dday" style="display:none;">{{{1}}}-{{padleft:{{#expr:{{{2}}}}}|2|0}}-{{padleft:{{#expr:{{{3}}}}}|2|0}}</span>{{#if:{{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}} {{{1}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}}, {{{1}}}}}{{#if:{{{4|}}}| (aged&nbsp;{{#expr: {{{1}}} - {{{4}}} - {{#ifexpr: ({{{2}}} < {{{5|1}}}) or (({{{2}}} = {{{5|1}}}) and ({{{3}}} < {{{6|1}}})) | 1 | 0 }} }})}}</includeonly><noinclude>
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using death date and age with unknown parameters|_VALUE_]]}}|preview=Page using [[Template:Death date and age]] with unknown parameter "_VALUE_"|showblankpositional=1| 1 | 2 | 3 | 4 | 5 | 6 | df | mf }}<!--
Displays a date of death in Manual of Style format, with the age at death when the date of birth is also supplied.
--></includeonly><noinclude>{{documentation}}</noinclude>
 
<pre>{{Death date and age|2020|11|27|1973|12|12}} -> November 27, 2020 (aged 46)</pre>
 
Parameters are death year, month, day, then birth year, month, day.
 
[[Category:Date templates]]
</noinclude>

Latest revision as of 05:25, 25 August 2026

Displays a date of death in Manual of Style format, with the age at death when the date of birth is also supplied.

{{Death date and age|2020|11|27|1973|12|12}} -> November 27, 2020 (aged 46)

Parameters are death year, month, day, then birth year, month, day.