Difference between revisions of "Template:Death date"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Death date should not redirect to Template:Birth date now that template includes the bday hCard tag.)
(Make the same as Death date)
Line 7: Line 7:
  
 
; Example<nowiki>:</nowiki>
 
; Example<nowiki>:</nowiki>
<nowiki>{{death date and age|1993|2|24}}</nowiki><br>returns {{death date|1993|2|24}}
+
<nowiki>{{Euro death date and age|1993|2|24}}</nowiki><br>returns {{subst:Euro death date|1993|2|24}} when the reader does not have a date format preference set.
 +
 
 +
'''Note:''' This template is the same as {{tl|Death date}} except that this template insert the calendar date with the day first (e.g. as '''24 February''', not '''February 24''') when the reader does not have a [[Help:Preferences#Date_format|date format preference]] set.
  
 
<span style="font-weight:bold; color:#CC0000">Note</span>: The template will appear broken when the parameters are left blank.
 
<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>
 
</noinclude>

Revision as of 14:53, 7 May 2007

Usage

Returns a person's date of death.

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

{{Euro death date and age|1993|2|24}}
returns {{subst:Euro death date|1993|2|24}} when the reader does not have a date format preference set.

Note: This template is the same as {{Death date}} except that this template insert the calendar date with the day first (e.g. as 24 February, not February 24) when the reader does not have a date format preference set.

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