Difference between revisions of "Template:Bdd"
Jump to navigation
Jump to search
imported>Cabayi |
imported>Enterprisey (+templatedata) |
||
| Line 4: | Line 4: | ||
[[Category:Time, date and calendar templates]] | [[Category:Time, date and calendar templates]] | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Birth month", | ||
| + | "description": "The full name of the month in which this person was born.", | ||
| + | "example": "January", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Birth day", | ||
| + | "description": "The day of the month on which this person was born.", | ||
| + | "example": "1", | ||
| + | "type": "number", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "3": { | ||
| + | "label": "Birth year", | ||
| + | "description": "The year in which this person was born. Places this person in a \"XXXX births\" category.", | ||
| + | "example": "1990", | ||
| + | "type": "number", | ||
| + | "required": true | ||
| + | }, | ||
| + | "4": { | ||
| + | "label": "Death month", | ||
| + | "description": "The full name of the month in which this person died.", | ||
| + | "example": "January", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "5": { | ||
| + | "label": "Death day", | ||
| + | "description": "The day of the month on which this person died.", | ||
| + | "example": "1", | ||
| + | "type": "number", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "6": { | ||
| + | "label": "Death year", | ||
| + | "description": "The year in which this person died. Places this page in a \"XXXX deaths\" category.", | ||
| + | "example": "2010", | ||
| + | "type": "number", | ||
| + | "required": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "Displays the birth date and death date of a person, then adds the relevant \"XXXX births\" and \"XXXX deaths\" categories.", | ||
| + | "paramOrder": [ | ||
| + | "1", | ||
| + | "2", | ||
| + | "3", | ||
| + | "4", | ||
| + | "5", | ||
| + | "6" | ||
| + | ] | ||
| + | } | ||
| + | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 03:49, 11 January 2017
({{{2}}} {{{1}}} {{{3}}} – {{{5}}} {{{4}}} {{{6}}}) [[Category:{{{3}}} births]] [[Category:{{{6}}} deaths]]
| This template's documentation is missing, inadequate, or does not accurately describe its functionality and/or the parameters in its code. Please help to expand and improve it. |
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 | suggested |
| Birth day | 2 | The day of the month on which this person was born.
| Number | suggested |
| 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 | suggested |
| Death day | 5 | The day of the month on which this person died.
| Number | suggested |
| Death year | 6 | The year in which this person died. Places this page in a "XXXX deaths" category.
| Number | required |