Template:Death date: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough
m Protected Template:Death date: Very widely used template. [edit=sysop:move=sysop]
meta>Rich Farmbrough
remove linear seperator.
Line 9: Line 9:
<nowiki>{{Death date | 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}}


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.
An optional parameter, df, can be set (to "y" or "yes" for example) 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. Conversely the unimplemented parameter , mf, can be set as a hint for "month first", currently the default behaviour.  


; Example<nowiki>:</nowiki>
; Example<nowiki>:</nowiki>
Line 23: Line 23:


</noinclude>
</noinclude>
----

Revision as of 10:39, 28 August 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 "y" or "yes" for example) 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. Conversely the unimplemented parameter , mf, can be set as a hint for "month first", currently the default behaviour.

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