text required default (empty)The content to display. If it is longer than the length threshold, only a shortened part is shown until the reader clicks the toggle. Empty or whitespace-only text produces no output.
length optional default 49Character threshold measured against the text with HTML tags removed. The toggle appears only when the text is longer than this; shorter text is shown in full with no toggle.
add optional default (empty)Text appended after the shortened part (for example three dots) to signal that more text follows. Used only when the text is actually truncated; ignored for short text.
switch_state_1 optional default [+]Label for the show-more link. The tokens [+], [-] and [*] are replaced with the plus, minus and loading icons. When left empty it defaults to the plus icon.
switch_state_2 optional default [-]Label for the hide link shown next to the full text. The same [+], [-], [*] icon tokens apply. It defaults to the minus icon only when switch_state_1 is also left empty; if you set switch_state_1 but leave this empty, no hide link is rendered.
[{expandable:}]
[{expandable: }]
{expandable:Quarterly report summary:40}
{expandable:News from the field}
{expandable:Brief item:40:[truncated]}
{expandable:The committee approved the new community garden proposal after a long debate:30:...:Read more:Show less}
{expandable:The committee approved the new community garden proposal after a long debate:30}