Template:Death date: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough
remove linear seperator.
meta>MZMcBride
made change per talk request
Line 1: Line 1:
<includeonly>{{#if:{{{df|}}}|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]]}} [[{{{1}}}]]</includeonly><noinclude>
<includeonly>{{#if:{{{df|}}}|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]]}} [[{{{1}}}]]</includeonly><noinclude>
== Usage ==
{{pp-template}}
Returns a person's date of death.
{{template doc}}
 
; 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 | 1993 | 2 | 24}}</nowiki><br>returns {{Death date | 1993 | 2 | 24}}
 
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>
 
<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==
[[Template:Death date and age]]
 
[[Category:Date mathematics templates|{{PAGENAME}}]]
 
</noinclude>
</noinclude>

Revision as of 20:41, 3 September 2007