Variables Warnings¶
WARN-TEXT-UNDECLARED-NAME: Board text reads a name nothing declares¶
- Level: warning
- Domain: compile
- Suppressible: yes
Message template:
Fix: Fix the name, or declare it under variables:.
Fires at compile time when a board's text: or title: reads a Jinja name that no variable anywhere in the board declares and that is not a built-in (queries, glob_boards, glob_folders, range, a {% set %} or {% for %} name). Board text renders an unknown name as nothing, so a typo would otherwise vanish without a trace. A declared variable that has no value yet does not fire. The hint names the closest variable, or queries.<name> when the name is a query's. Fenced code is not Jinja and is not read. Emitted by compile/validate/board_warnings.py.