Template:Died/doc: Difference between revisions
From Guild of Archivists
(Created page with " <templatedata> { "params": { "Surface date": { "description": "The Gregorian calendar date on which the person was born. If the exact day is unknown, use April 22 to ap...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
This template is a shorthand for the {{tlx|event}} template that auto-generates the necessary text for the Semantic MediaWiki's date data, hides the event data's descriptive text, and sets the event type to "birth". | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"Surface date" | "1": { | ||
"label": "Surface date", | |||
"description": "The Gregorian calendar date on which the person was born. If the exact day is unknown, use April 22 to approximately align with the first day of the D'ni year.", | "description": "The Gregorian calendar date on which the person was born. If the exact day is unknown, use April 22 to approximately align with the first day of the D'ni year.", | ||
"example": "1997-10-31; April 21, 7656 BC", | "example": "1997-10-31; April 21, 7656 BC", | ||
Line 9: | Line 11: | ||
"required": true | "required": true | ||
}, | }, | ||
"D'ni | "2": { | ||
"description": "The D'ni | "label": "D'ni hahr", | ||
"description": "The D'ni hahr (year) when the person was born.", | |||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
}, | }, | ||
"D'ni | "3": { | ||
"description": "The D'ni | "label": "D'ni vailee", | ||
"description": "The D'ni vailee (month) when the person was born. If the exact date of their birth is unknown, use 1.", | |||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
}, | }, | ||
"D'ni | "4": { | ||
"description": "The D'ni | "label": "D'ni yahr", | ||
"description": "The D'ni yahr (day) when the person was born. If the exact date of their birth is unknown, use 1.", | |||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
" | "2", | ||
" | "3", | ||
" | "4" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 00:35, 8 July 2020
This template is a shorthand for the {{event}}
template that auto-generates the necessary text for the Semantic MediaWiki's date data, hides the event data's descriptive text, and sets the event type to "birth".
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Surface date | 1 | The Gregorian calendar date on which the person was born. If the exact day is unknown, use April 22 to approximately align with the first day of the D'ni year.
| Date | required |
D'ni hahr | 2 | The D'ni hahr (year) when the person was born. | Number | required |
D'ni vailee | 3 | The D'ni vailee (month) when the person was born. If the exact date of their birth is unknown, use 1. | Number | required |
D'ni yahr | 4 | The D'ni yahr (day) when the person was born. If the exact date of their birth is unknown, use 1. | Number | required |