Skip to content
Zotonic
  • Start
  • Guides
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Filters · mod_base
  • Reference
  • Frontend developer
  • Template filter
  • Transform
  • Structured data

make_value

Module

mod_base

Convert a template value to its simple value representation.

This resolves values such as model lookups and converts template runtime wrappers before they are passed to code that expects a plain Erlang value.

For example:

{% with value|make_value as plain_value %}
    {{ plain_value }}
{% endwith %}

Edit on GitHub

Related documentation

Filters

survey_prepare_thurstone

Normalize a survey Thurstone question before rendering or processing it.

Filters

survey_prepare_matching

Prepare the items and options of a survey matching question for rendering.

Filters

translated_texts

Check all properties of a map, list or resource. Returns a list of all properties that are translated (have a #trans{} record) and their…

Filters

to_boolean

Convert the input to a boolean value.

Filters

floor

Round down a floating point value.

Filters

survey_page_options

Check the list of blocks and collect all options for that page.

Filters

language_sort_localized

Sort a list of language codes or map with languages on their localized name in the currently selected language. This is useful for…

Filters

truncatechars

Truncate a text to a maximum length in characters.

Filters

sub_year

Subtracts a year from a date. The value must be of the form {{Y,M,D},{H,I,S}} .

GitHub © 2026 Zotonic