Difference between revisions of "Template:Bdd/doc"
imported>Enterprisey (+docs) |
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 6: | Line 6: | ||
:{{tlc|Bdd|''Birth month''|''Birth day''|''Birth year''|''Death month''|''Death day''|''Death year''}} | :{{tlc|Bdd|''Birth month''|''Birth day''|''Birth year''|''Death month''|''Death day''|''Death year''}} | ||
| − | where < | + | where <kbd>''Birth month/day/year''</kbd> are the full month name/day of the month/year in which this person was born, and <kbd>''Death month/day/year''</kbd> are the same, but for when this person died. |
== Template data == | == Template data == | ||
| Line 18: | Line 18: | ||
"example": "January", | "example": "January", | ||
"type": "string", | "type": "string", | ||
| − | " | + | "required": true |
}, | }, | ||
"2": { | "2": { | ||
| Line 25: | Line 25: | ||
"example": "1", | "example": "1", | ||
"type": "number", | "type": "number", | ||
| − | " | + | "required": true |
}, | }, | ||
"3": { | "3": { | ||
| Line 39: | Line 39: | ||
"example": "January", | "example": "January", | ||
"type": "string", | "type": "string", | ||
| − | " | + | "required": true |
}, | }, | ||
"5": { | "5": { | ||
| Line 46: | Line 46: | ||
"example": "1", | "example": "1", | ||
"type": "number", | "type": "number", | ||
| − | " | + | "required": true |
}, | }, | ||
"6": { | "6": { | ||
Latest revision as of 05:34, 5 August 2018
| This is a documentation subpage for Template:Bdd. It contains usage information, categories and other content that is not part of the original template page. |
Displays the birth date and death date of a person, adding relevant categories.
Usage
{{Bdd|Birth month|Birth day|Birth year|Death month|Death day|Death year}}
where Birth month/day/year are the full month name/day of the month/year in which this person was born, and Death month/day/year are the same, but for when this person died.
Template data
TemplateData for Bdd
Displays the birth date and death date of a person, then adds the relevant "XXXX births" and "XXXX deaths" categories.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Birth month | 1 | The full name of the month in which this person was born.
| String | required |
| Birth day | 2 | The day of the month on which this person was born.
| Number | required |
| Birth year | 3 | The year in which this person was born. Places this person in a "XXXX births" category.
| Number | required |
| Death month | 4 | The full name of the month in which this person died.
| String | required |
| Death day | 5 | The day of the month on which this person died.
| Number | required |
| Death year | 6 | The year in which this person died. Places this page in a "XXXX deaths" category.
| Number | required |