# Rendering templates within templates

<mark style="color:green;">SINCE 7.1.0.5</mark>

No more duplicate template fragments, Email This Issue now can render templates within templates in a very simple way.

To include a template by its name, add this to your template:&#x20;

```
#renderTemplate("MySignatureTemplate")
```

To include a template by its ID, add this to your template:&#x20;

```
#renderTemplate(123)
```

Recursive inclusion of templates are handled and prevented.

{% hint style="info" %}
**Note**: Velocity variables declared in the templates as `#set($variable=...)` will only be usable in the template that declares them. Variables are not visible outside their declaring template.
{% endhint %}

<br>
