Template:Death date and age: Difference between revisions

From Pornopedia, the sexy encyclopedia
Till Kraemer (talk | contribs)
mNo edit summary
UniversalLoser (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{{{{♥|safesubst:}}}#invoke:age|death_date_and_age}}</includeonly><noinclude>{{Wikipedia|Template:Death_date_and_age}}</noinclude>
<includeonly>{{{{{♥|safesubst:}}}#invoke:age|death_date_and_age}}</includeonly><noinclude><templatedata>
{
"params": {
"Year of death": {
"aliases": [
"1"
],
"description": "The year in which the person died",
"example": "1986",
"type": "number",
"required": true
},
"Month of death": {
"aliases": [
"2"
],
"description": "The month (number) in which the person died",
"example": "11",
"type": "number",
"required": true
},
"Day of death": {
"aliases": [
"3"
],
"description": "The day (number) in which the person died",
"example": "31",
"type": "number",
"required": true
},
"Year of birth": {
"aliases": [
"4"
],
"description": "The year in which the person was born",
"example": "1901",
"type": "number"
},
"Month of birth": {
"aliases": [
"5"
],
"description": "The month (number) in which the person was born",
"example": "12",
"type": "number"
},
"Day of birth": {
"aliases": [
"6"
],
"description": "The day (number) in which the person was born",
"example": "30",
"type": "number"
},
"Day first": {
"aliases": [
"df"
],
"description": "When set to 'y' or 'yes', the date of death is output in a DMY format",
"type": "string"
},
"Month first": {
"aliases": [
"mf"
],
"description": "When set to 'y' or 'yes', stresses that the default MDY date format is intended for the date of death",
"type": "string"
}
},
"description": "A template for displaying a death date, and alternatively (by supplying a birth date) the person's age at death."
}
</templatedata></noinclude>

Latest revision as of 13:08, 26 March 2024

A template for displaying a death date, and alternatively (by supplying a birth date) the person's age at death.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Year of deathYear of death 1

The year in which the person died

Example
1986
Numberrequired
Month of deathMonth of death 2

The month (number) in which the person died

Example
11
Numberrequired
Day of deathDay of death 3

The day (number) in which the person died

Example
31
Numberrequired
Year of birthYear of birth 4

The year in which the person was born

Example
1901
Numberoptional
Month of birthMonth of birth 5

The month (number) in which the person was born

Example
12
Numberoptional
Day of birthDay of birth 6

The day (number) in which the person was born

Example
30
Numberoptional
Day firstDay first df

When set to 'y' or 'yes', the date of death is output in a DMY format

Stringoptional
Month firstMonth first mf

When set to 'y' or 'yes', stresses that the default MDY date format is intended for the date of death

Stringoptional