Difference between revisions of "Template:Bdd/doc"
imported>Enterprisey (+docs) |
imported>Enterprisey (suggested -> required) |
||
| 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": { | ||
Revision as of 03:54, 11 January 2017
| 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 |