Template:Date to Version/doc: Difference between revisions
Created page with "{{Documentation/Header}} Template that returns the Version running during the date. (Uses Variables) ==Syntax== {{T|Date to Version|v1=date}} ==Examples== {{T|Date to Version|_Y_=1}}<br> {{T|Date to Version|2025-08-29|_Y_=1}}<br> {{T|Date to Version|2026-01-01|_Y_=1}}<br> ==See Also== * {{T|CurrentVersion}} * {{T|Version to Date}} ==Template Data== <!-- Edit the Template Data through the "MANAGE TEMPLATEDATA" button at the top left --><templatedata> { "params":..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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> | ||