Template:Systime: Difference between revisions
Implement TemplateData.
Fireheart& (talk | contribs) m (Re-apply 'includeonly'.) |
Fireheart& (talk | contribs) (Implement TemplateData.) |
||
Line 15: | Line 15: | ||
---- | ---- | ||
{{Systime|2399|12|31|23|45}} | {{Systime|2399|12|31|23|45}} | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Year", | |||
"example": "2399", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Month", | |||
"example": "2", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"3": { | |||
"label": "Day", | |||
"example": "21", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"4": { | |||
"label": "Hour", | |||
"description": "The hour in 24-hour time.", | |||
"example": "23", | |||
"type": "number" | |||
}, | |||
"5": { | |||
"label": "Minute", | |||
"example": "55", | |||
"type": "number" | |||
}, | |||
"6": { | |||
"label": "Second", | |||
"example": "13", | |||
"type": "number" | |||
} | |||
}, | |||
"description": "Display a timestamp in Systime with a calendar tooltip.", | |||
"sets": [ {"label": "Day of Year", "params": ["2", "3"]} ] | |||
} | |||
</templatedata> |