http://history.sydlexia.com/index.php?title=Template:Death_date_and_age/doc&feed=atom&action=historyTemplate:Death date and age/doc - Revision history2024-03-28T22:47:27ZRevision history for this page on the wikiMediaWiki 1.33.2http://history.sydlexia.com/index.php?title=Template:Death_date_and_age/doc&diff=4396&oldid=prevSydLexia: New page: <includeonly>{{template doc page transcluded}}</includeonly> <noinclude>{{template doc page viewed directly}}</noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF TH...2008-08-02T01:00:37Z<p>New page: <includeonly>{{template doc page transcluded}}</includeonly> <noinclude>{{template doc page viewed directly}}</noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF TH...</p>
<p><b>New page</b></p><div><includeonly>{{template doc page transcluded}}</includeonly><br />
<noinclude>{{template doc page viewed directly}}</noinclude><br />
<!-- <br />
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE<br />
YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT<br />
--><br />
==Usage==<br />
Returns a person's date of death and his/her age at that date.<br />
Available shortcut: '''{{tl|Dda}}'''.<br />
<br />
Using this template rather than simply inserting the date into articles allows for the inclusion of hidden [[metadata]] about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.<br />
<br />
; Syntax<nowiki>:</nowiki><br />
: <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki></tt>''year of death''<tt><nowiki>|</nowiki></tt>''month of death''<tt><nowiki>|</nowiki></tt>''day of death''<tt><nowiki>|</nowiki></tt>''year of birth''<tt><nowiki>|</nowiki></tt>''month of birth''<tt><nowiki>|</nowiki></tt>''day of birth''<tt><nowiki>}}</nowiki></tt><br />
<br />
; Format:<br />
:<tt><nowiki>{{</nowiki>{{PAGENAME}}|yyyy|mm|dd|yyyy|mm|dd<nowiki>}}</nowiki></tt><br />
:<tt><nowiki>{{</nowiki>Dda|yyyy|mm|dd|yyyy|mm|dd<nowiki>}}</nowiki></tt><br />
<br />
; Example<nowiki>:</nowiki><br />
<nowiki>{{Death date and age|1993|2|24|1941|4|12}}</nowiki><br>returns {{Death date and age|1993|2|24|1941|4|12}}<br />
<br />
An optional parameter, df, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date, and applies only for users who have not set a date formatting preference.<br />
<br />
; Example<nowiki>:</nowiki><br />
<br />
<nowiki>{{Death date and age|1993|2|24|1941|4|12|df=yes}}</nowiki><br> returns "{{Death date and age|1993|2|24|1941|4|12|df=yes}}"<br />
<br />
When only the year of a person's birth and/or death are known, or if it is desired not to state a person's full dates of birth and death for privacy reasons, use the templates {{tl|Birth year and age}} and {{tl|Death year and age}} instead.<br />
<br />
'''Note''': The template will appear broken when the parameters are left blank (as seen above).<br />
<br />
'''Note:''' Do not use this template inside of the [[WP:PERSONDATA|Persondata]] template as it can interfere with data extraction.<br />
<br />
==See also==<br />
*[[Wikipedia:Age calculation templates]]<br />
*{{tl|BirthDeathAge}} &ndash; carries out the functions of this template and all the following ones<br />
*{{tl|Birth date}}<br />
*{{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the death date<br />
*{{tl|Birth year and age}} &ndash; year of birth and approximate age<br />
*{{tl|Death date}}<br />
*{{tl|Death year and age}} &ndash; year of death and approximate age at death<br />
<br />
<includeonly><br />
<br />
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. --><br />
<br />
[[Category:Date mathematics templates|{{PAGENAME}}]]<br />
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]<br />
<br />
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --><br />
[[da:Skabelon:Dødsdato og alder]]<br />
[[ko:틀:사망일과 만나이]]<br />
[[he:תבנית:תאריך פטירה]]<br />
[[hsb:Předłoha:Smjertny datum a staroba]]<br />
[[ja:Template:死亡年月日と没年齢]]<br />
[[nl:Sjabloon:Leeftijd en sterfdatum]]<br />
[[no:Mal:Dødsdato og alder]]<br />
[[sk:Šablóna:Dátum úmrtia a vek]]<br />
[[tl:Template:Death date and age]]<br />
[[vi:Tiêu bản:Ngày mất và tuổi]]<br />
[[zh:Template:Death date and age]]<br />
<br />
</includeonly></div>SydLexia