{asis:text}

Description

Returns its argument exactly as-is, with no escaping or formatting. Two cases: if the argument is a field id of the current item (for example abstract........), asis returns that field as stored in the database; this differs from the named getter abstract........, which honours the field HTML/plaintext setting and may turn newlines into line-break tags. If the argument is not a field id, it is returned as literal text. asis is variadic, so any colons in the value are preserved: the colon-separated parts are simply rejoined with a colon. The result is never HTML-escaped.

Parameters

text required default (required)

The value to return unchanged. If it matches a field id of the current item, asis returns that field exactly as stored (raw). Otherwise it is treated as literal text and returned verbatim; multiple colon-separated parts are rejoined with a colon.

Examples

test{asis:plain literal text}
Expectedplain literal text
Actualplain literal text
With a literal argument (not a field id of the current item), asis returns that text unchanged.
test{asis:Q&A: 50% done}
ExpectedQ&A: 50% done
ActualQ&A: 50% done
asis returns its text unchanged, including ampersands, percent signs and colons - no expansion or escaping is applied.
test[{asis:}]
Expected[]
Actual[]
Empty input yields empty output. The brackets are literal, added only to make the empty result visible.
test{asis:a:b:c}
Expecteda:b:c
Actuala:b:c
asis is variadic and joins all colon-separated arguments back with a colon. So a value containing colons survives unchanged; you do not need to escape them.
virtual{asis:abstract........}
Expected(the field raw stored value, e.g. red)
The canonical use: when the argument is a field id of the current item, asis returns that field exactly as stored in the database, bypassing the field HTML/plaintext setting that the named getter applies. Runtime-dependent on the current item, so shown as illustrative.