You must have a project role that includes the Create Tasks user right.
In the Elements view, select the elements for which you want to create a task.
The Create Task dialog box appears.
Select Task > Create Task from Templae.
In the Use Template list, select the required predefined template and click Apply.
The form fields are filled with the template settings (name, type, due date, description, users, user groups, and color target). The fields can be modified after applying the template content. The modification of the values will not affect the original template values.