{{#if pattern.type}}
{{#ifCond value=pattern.type comp="atom" mode="eq"}}{{/ifCond}}
{{#ifCond value=pattern.type comp="molecule" mode="eq"}}{{/ifCond}}
{{#ifCond value=pattern.type comp="organism" mode="eq"}}{{/ifCond}}
{{#ifCond value=pattern.type comp="template" mode="eq"}}{{/ifCond}}
{{/if}}