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 |
||
(One intermediate revision by the same user not shown) | |||
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 "death". | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"Surface date" | "1": { | ||
"description": "The Gregorian calendar date on which the person | "label": "Surface date", | ||
"description": "The Gregorian calendar date on which the person died. 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", | ||
"type": "date", | "type": "date", | ||
"required": true | "required": true | ||
}, | }, | ||
"D'ni | "2": { | ||
"description": "The D'ni | "label": "D'ni hahr", | ||
"description": "The D'ni hahr (year) when the person died.", | |||
"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 died. If the exact date of their death 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 died. If the exact date of their death is unknown, use 1.", | |||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
" | "2", | ||
" | "3", | ||
" | "4" | ||
] | ], | ||
"format": "inline", | |||
"description": " " | |||
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 00:36, 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 "death".
Parameter | Description | Type | Status | |
---|---|---|---|---|
Surface date | 1 | The Gregorian calendar date on which the person died. 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 died. | Number | required |
D'ni vailee | 3 | The D'ni vailee (month) when the person died. If the exact date of their death is unknown, use 1. | Number | required |
D'ni yahr | 4 | The D'ni yahr (day) when the person was died. If the exact date of their death is unknown, use 1. | Number | required |