Template:Died/doc: Difference between revisions
From Guild of Archivists
mNo edit summary |
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 " | 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> | ||
Line 6: | Line 6: | ||
"1": { | "1": { | ||
"label": "Surface date", | "label": "Surface date", | ||
"description": "The Gregorian calendar date on which the person | "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", | ||
Line 13: | Line 13: | ||
"2": { | "2": { | ||
"label": "D'ni hahr", | "label": "D'ni hahr", | ||
"description": "The D'ni hahr (year) when the person | "description": "The D'ni hahr (year) when the person died.", | ||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
Line 19: | Line 19: | ||
"3": { | "3": { | ||
"label": "D'ni vailee", | "label": "D'ni vailee", | ||
"description": "The D'ni vailee (month) when the person | "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 | ||
Line 25: | Line 25: | ||
"4": { | "4": { | ||
"label": "D'ni yahr", | "label": "D'ni yahr", | ||
"description": "The D'ni yahr (day) when the person was | "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 | ||
Line 35: | Line 35: | ||
"3", | "3", | ||
"4" | "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 |