टेम्पलेट:Death date: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
remove linear seperator.
made change per talk request
लाइन 1:
<includeonly>{{#if:{{{df|}}}|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]]}} [[{{{1}}}]]</includeonly><noinclude>
{{pp-template}}
== Usage ==
{{template doc}}
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 | 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>