<% if (typeof title === 'undefined') { var title = id; } if (typeof subText === 'undefined') { var subText = ''; } else { subText = '(' + subText + ')'; } %>
<%= title %> <%= subText %>
<% if (syntax) { %>
<%= data %>
<% } else { %>
<%= data %>
<% } %>