File size: 597 Bytes
8ae5fc5
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{%- if exists("templateParams") -%}
  <span>{% include "synopsis_indent.tmpl" -%}template &lt;{{ noop() -}}
  {%- for param in templateParams -%}
    {%- if not loop.is_first %}{% include "synopsis_indent.tmpl" -%}&nbsp;&nbsp;{% endif -%}
    {{- param.type -}}
    {%- if not isEmpty(param.name) %} {% endif -%}
    {{- param.name -}}
    {%- if existsIn(param, "defvalPlain") %} = {{ escape(param.defvalPlain) }}{% endif -%}
    {%- if not loop.is_last -%}
      ,</span>
      {{- noop() }}<span>{% include "synopsis_indent.tmpl" -%}
    {%- endif -%}
  {%- endfor -%}&gt;</span>
{%- endif -%}