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 "birth".
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 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 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 was born.",
"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 was born. If the exact date of their birth is unknown, use 1.",
"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 born. If the exact date of their birth is unknown, use 1.",
"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".

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Surface date1

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
Daterequired
D'ni hahr2

The D'ni hahr (year) when the person died.

Numberrequired
D'ni vailee3

The D'ni vailee (month) when the person died. If the exact date of their death is unknown, use 1.

Numberrequired
D'ni yahr4

The D'ni yahr (day) when the person was died. If the exact date of their death is unknown, use 1.

Numberrequired