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:

Page
Template:Csp formfield/ask token
Template:Csp formfield/checkbox
Template:Csp formfield/date
Template:Csp formfield/datetime-local
Template:Csp formfield/number
Template:Csp formfield/select
Template:Csp formfield/text
Template:Csp formfield/textarea
Template:Csp formfield/token