This is the Csp formfield/datetime-local template. It should be called in the following format:
{{Csp formfield/datetime-local
|name= (text)
|required= (optional: "required")
|value= (date-time with format yyyy-mm-ddThh:mm) e.g. "2022-03-01T10:00"
}}
Example
Related templates: