Liquid formatting is an open source Ruby-based template language built by Shopify (Liquid Documentation). Looker utilizes Liquid to reference values from measures and dimensions within the html
parameter.
Examples in this post will be using the HTML documentation with available parameters, as well as the URL query parameters.
Note:
{{ value }}
in these patterns is substitutable for any other appropriate value parameter. The value type parameters are found in the HTML documentation.
Please note that the template
parameter is deprecated as of 3.30. As of 3.30, all Looker models just assume liquid templating, so you don’t have to explicitly state it in your model.