To create a new SMS template:
Navigate to More > Settings > Text SMS Templates.
Click the green Add Template button to create a new template.
Add a name to your template and compose your message. You can click on a lead field on the left side of the template creator to add a dynamic data tag to the template.
Select a group for your template to be added to and click Save.
Additional information about SMS template settings and creating groups can be found here.