Template:Death date: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Patleahy
Add a df (day first) option to this template. See Template talk:Euro birth date#Suggested move.
meta>Patleahy
→‎Usage: Document df (day first) option.
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>{{Death date | 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.
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.
 
; Example<nowiki>:</nowiki>
 
<nowiki>{{Death date | 1993 | 2 | 24 | df=yes}}</nowiki><br> returns "{{Death date | 1993 | 2 | 24 | df=yes}}"
 
'''Note''': The template will appear broken when the parameters are left blank.


==See also==
==See also==

Revision as of 19:29, 20 July 2007

Usage

Returns a person's date of death.

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

{{Death date | 1993 | 2 | 24}}
returns February 24 1993

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.

Example:

{{Death date | 1993 | 2 | 24 | df=yes}}
returns "24 February 1993 "

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

See also

Template:Death date and age