Template:Date to Version/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation/Header}} | {{Documentation/Header}} | ||
Template that returns the [[Version]] | {{Lua|Version Dates}} | ||
Template that returns the current [[Version]] on a particular date. | |||
==Syntax== | ==Syntax== | ||
| Line 6: | Line 7: | ||
==Examples== | ==Examples== | ||
{{T|Date to Version|_Y_=1}}<br> | {{T|Date to Version|2025-08-30|_Y_=1}}<br /> | ||
{{T|Date to Version|2025 | {{T|Date to Version|September 17, 2025|_Y_=1}}<br /> | ||
{{T|Date to Version|2026 | {{T|Date to Version|January 25 2026|_Y_=1}}<br /> | ||
==Template Data== | ==Template Data== | ||
<templatedata> | |||
{ | { | ||
"params": { | "params": { | ||
| Line 23: | Line 18: | ||
"description": "Date to input.", | "description": "Date to input.", | ||
"type": "date", | "type": "date", | ||
"required": true | "required": true | ||
} | } | ||
| Line 30: | Line 24: | ||
"1" | "1" | ||
], | ], | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||