# What is Liquid syntax?

Liquid syntax is a template language used in many web applications. In Current RMS, we use Liquid syntax to place dynamic content and modify data in document layouts and discussion templates.

In Liquid, there are three types of code:

* objects
* tags
* filters

## Objects

Objects are surrounded by matched pairs of curly brackets. They tell Current RMS where to show content on a layout.&#x20;

For example, to output your company name, use:

```markup
{{ company.name }}
```

If you [change your company name in System Setup](http://intercom.help/current-rms/set-up-your-system/your-account/add-your-logo-and-update-your-contact-information) in future, this will be reflected on all documents where you’ve used this Liquid object.&#x20;

{% content-ref url="/pages/-Lbgnk48HP-p5KeGN\_JR" %}
[Liquid objects](/liquid-syntax/introduction/liquid-objects.md)
{% endcontent-ref %}

## Tags

Tags are surrounded by matched pairs of curly brackets and percent signs. They are used for logic operations and control flow.

For example, to print out your company tax registration number only if you’ve entered one, use:

```markup
{% if company.tax_registration_number != blank %}
  {{ company.tax_registration_number }}
{% endif %}
```

{% content-ref url="/pages/-LbbtQa4PHC8I\_O6eXAX" %}
[Liquid tags](/liquid-syntax/introduction/liquid-tags.md)
{% endcontent-ref %}

## Filters

Filters change the output of a Liquid object. They are placed within an object after a pipe character, with optional data supplied after a colon.

For example, to capitalize your company name, use:

```markup
{{ company.name | upcase }}
```

{% content-ref url="/pages/-Lbgni6y7SNMqzbEXzPe" %}
[Liquid filters](/liquid-syntax/introduction/liquid-filters.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://current-rms.gitbook.io/liquid-syntax/introduction/what-is-liquid-syntax.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
