---
title: "HTML and field types (Liquid templates)"
slug: "html-field-types"
description: "Fields and template logic for Opensense Liquid templates: conditional and hidden fields, internal and external wraps, sender email, and comments."
updated: 2026-10-13T00:00:00.000Z
canonical: "https://help.opensense.com/docs/html-field-types"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.opensense.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HTML and field types (Liquid templates)

## Overview

These articles explain the fields and template logic you can use in Liquid templates. Opensense has used Liquid templates since 2022. If your template uses tags in `$tag;` format, use [HTML and field types (legacy templates)](https://help.opensense.com/docs/html-field-types-1) instead.

## Articles

<dl class="kb-insights-summary">
  <div><dt><a href="https://help.opensense.com/docs/conditional-fields-new-liquid-templates">Conditional fields</a></dt><dd>Show a field only when the user has a value for it.</dd></div>
  <div><dt><a href="https://help.opensense.com/docs/hidden-fields-new-liquid-templates">Hidden fields</a></dt><dd>Keep fields such as image links, meeting links, and badges out of the visible signature block.</dd></div>
  <div><dt><a href="https://help.opensense.com/docs/external-and-internal-wraps-new-liquid-templates">External and internal wraps</a></dt><dd>Show a different signature or banner to recipients outside and inside your domain.</dd></div>
  <div><dt><a href="https://help.opensense.com/docs/displaying-sender-or-recipient-email-new-liquid-templates">Sender or recipient email</a></dt><dd>Insert the sender or recipient email address with <code>{{sgsender}}</code> and <code>{{sgrecipient}}</code>.</dd></div>
  <div><dt><a href="https://help.opensense.com/docs/display-signature-elements-based-on-field-value-liquid-templates-only">Elements based on a field value</a></dt><dd>Show a signature element, such as an office address, based on the value of a directory field.</dd></div>
  <div><dt><a href="https://help.opensense.com/docs/add-comments-into-design-templates-liquid-templates-only">Comments in templates</a></dt><dd>Add comments to template code. Comments do not appear in sent email.</dd></div>
  <div><dt><a href="https://help.opensense.com/docs/web-safe-fonts-new-liquid-templates">Web-safe fonts</a></dt><dd>Choose fonts that display the same on all devices and platforms.</dd></div>
</dl>
