{%- if exists("templateParams") -%}
{% include "synopsis_indent.tmpl" -%}template <{{ noop() -}}
{%- for param in templateParams -%}
{%- if not loop.is_first %}{% include "synopsis_indent.tmpl" -%} {% endif -%}
{{- param.type -}}
{%- if not isEmpty(param.name) %} {% endif -%}
{{- param.name -}}
{%- if existsIn(param, "defvalPlain") %} = {{ escape(param.defvalPlain) }}{% endif -%}
{%- if not loop.is_last -%}
,
{{- noop() }}{% include "synopsis_indent.tmpl" -%}
{%- endif -%}
{%- endfor -%}>
{%- endif -%}