Difference between revisions of "Template:Death date"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(+ redirection;)
 
(Death date should not redirect to Template:Birth date now that template includes the bday hCard tag.)
Line 1: Line 1:
#REDIRECT [[template:birth date]]
+
<includeonly>[[{{MONTHNAME|{{{2}}}}} {{{3}}}]] [[{{{1}}}]]</includeonly><noinclude>
 +
== Usage ==
 +
Returns a person's date of death.
 +
 
 +
; Syntax<nowiki>:</nowiki>
 +
: <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>
 +
 
 +
; Example<nowiki>:</nowiki>
 +
<nowiki>{{death date and age|1993|2|24}}</nowiki><br>returns {{death date|1993|2|24}}
 +
 
 +
<span style="font-weight:bold; color:#CC0000">Note</span>: The template will appear broken when the parameters are left blank.
 +
 
 +
==See also==
 +
[[Template:Death date and age]]
 +
 
 +
[[Category:Date mathematics templates|{{PAGENAME}}]]
 +
 
 +
</noinclude>

Revision as of 02:07, 2 May 2007

Usage

Returns a person's date of death.

Syntax:
{{Death date|year of death|month of death|day of death}}
Example:

{{death date and age|1993|2|24}}
returns February 24, 1993(1993-02-24)

Note: The template will appear broken when the parameters are left blank.

See also

Template:Death date and age