Editing Template:Death date/doc
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<includeonly>{{high-use|7,000+}}</includeonly> | <includeonly>{{high-use|7,000+}}</includeonly> | ||
− | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
Returns a person's date of death. | Returns a person's date of death. | ||
Line 9: | Line 9: | ||
===Range, Calendar=== | ===Range, Calendar=== | ||
Since the data is emitted in the [[ISO 8601]] format, the calendar must be the Gregorian calendar; the first acceptable year is 1583, the last acceptable year is 9999 (which would only be a concern for fictitious characters). | Since the data is emitted in the [[ISO 8601]] format, the calendar must be the Gregorian calendar; the first acceptable year is 1583, the last acceptable year is 9999 (which would only be a concern for fictitious characters). | ||
− | |||
===Syntax=== | ===Syntax=== | ||
====To display the death date only==== | ====To display the death date only==== | ||
Line 20: | Line 19: | ||
'''Note''': The template will appear broken when the parameters are left blank. | '''Note''': The template will appear broken when the parameters are left blank. | ||
− | === | + | === Day First (df) and Month First (mf) options=== |
The '''df''' (day first) and '''mf''' (month first) parameters indicate the intended date format to display. The appropriate parameter should be set to "y" or "yes" e.g. '''df=yes''' or '''mf=y'''. | The '''df''' (day first) and '''mf''' (month first) parameters indicate the intended date format to display. The appropriate parameter should be set to "y" or "yes" e.g. '''df=yes''' or '''mf=y'''. | ||
Line 30: | Line 29: | ||
Examples: | Examples: | ||
+ | |||
:<nowiki>{{Death date | 1993 | 2 | 24 | df=yes }}</nowiki> displays "24 February 1993". | :<nowiki>{{Death date | 1993 | 2 | 24 | df=yes }}</nowiki> displays "24 February 1993". | ||
:<nowiki>{{Death date | 1993 | 2 | 24 | mf=yes }}</nowiki> displays "February 24, 1993". | :<nowiki>{{Death date | 1993 | 2 | 24 | mf=yes }}</nowiki> displays "February 24, 1993". | ||
+ | === See also === | ||
+ | *[[Wikipedia:Age calculation templates]] | ||
+ | {{Birth, death and age templates}} | ||
− | {{ | + | <includeonly> |
+ | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
+ | [[Category:Date mathematics templates|{{PAGENAME}}]] | ||
+ | [[Category:Templates generating microformat dates|{{BASEPAGENAME}}]] | ||
+ | [[Category:Templates generating hCalendars|{{BASEPAGENAME}}]] | ||
− | + | </includeonly> | |
− | |||
− | |||
− | |||
− | |||
− |