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 yahr": {
"2": {
"description": "The D'ni yahr (day) when the person was born. If the exact date of their birth is unknown, use 1.",
"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 hahr": {
"3": {
"description": "The D'ni hahr (year) when the person was born.",
"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 vailee": {
"4": {
"description": "The D'ni vailee (month) when the person was born. If the exact date of their birth is unknown, use 1.",
"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
}
}
},
},
"description": "This template is a shorthand for the {{tlx|event}} template that auto-generates the necessary text for the Semantic MediaWiki data, hides the event data itself, and sets the event type to \"birth\".",
"paramOrder": [
"paramOrder": [
"Surface date",
"1",
"D'ni hahr",
"2",
"D'ni vailee",
"3",
"D'ni yahr"
"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.

Template parameters

ParameterDescriptionTypeStatus
Surface date1

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

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

Numberrequired
D'ni vailee3

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

Numberrequired
D'ni yahr4

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

Numberrequired