Skip to main content

Text display

system:text

Shows text, a translation component or existing formatted text.

Nodes are written into the body or children of a resource pack card template. Besides their own fields, all nodes share id, style, when, unless and repeat; see Common node fields.

JSON fields​

FieldTypeRequiredDefaultDescription
typeResource IDyes—system:text
textStringno""Display text; supports {{key}} placeholders.
translateStringno""Translation key; when non-empty, takes precedence over text.
argsString arrayno[]List of translation argument strings; may contain placeholders.
inlineBooleannofalseWhether to use inline display.

JSON example​

{
"type": "system:text",
"text": "{{summary}}"
}

Placed in the body of a card template or the children of a container. Placeholders come from server snapshots and client build events; changing only the JSON does not produce the missing data or business handlers.

Java entry point​

com.iafenvoy.system.screen.card.node.text.TextNode. This page is based on the Codec in the current 26.1.2 source.