Render conditionally based on a template data flag:
<TemplateData.When attribute="enable_phone_field">
When template data is "true" or truthy, this renders
</TemplateData.When>
<TemplateData.Unless attribute="hide_suffix">
When template data is "false" or falsy, this renders
</TemplateData.Unless>
Render template data value, no default:
<h1>
<TemplateData.Value attribute="headline_text" renderHtml={true} />
</h1>
Render template data value, with default content:
<h1>
<TemplateData.Value attribute="headline_text" renderHtml={true}>
When available, render template data content, otherwise render this as fallback
</TemplateData.Value>
</h1>
Render template data content conditionally:
<TemplateData.When attribute="headline_text">
<h1>
<TemplateData.Value attribute="headline_text" renderHtml={true}>
Render template data content, if available, otherwise this as fallback
</TemplateData.Value>
</h1>
</TemplateData.When>