Text Panel: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Redirected page to Panel#Types
Tag: New redirect
 
Removed redirect to Panel#Types
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Panel#Types]]
 
==Calculation Model==
The [[Tag#$TQL|$TQL tags]] in the text content of a Text Panel are calculated and replaced by their resulting values. These tags must always be preceded by a dollar sign ($), followed by either a [[Select (TQL)|TQL Select statement]], or one of the [[Tag|supported text panel tags]]. The TQL tags may also end with a dollar sign. TQL statements always require a performed project calculation.
 
Example: <code>$SELECT_NAME_WHERE_NEIGHBORHOOD_IS_0</code> and <code>$SELECT_NAME_WHERE_NEIGHBORHOOD_IS_0$</code> will both be identified and replaced.
 
Important: [[Tag#$TQL|$TQL tags]] used in [[JavaScript]] that contain X or Y clauses [[Tag#TQL_Tags_with_X_and_Y_Queries|should be put between brackets]].
 
{{article end
|seealso=*[[Panel]]
|api=*Text Panel text endpoint:
}}

Revision as of 14:12, 12 November 2026

Calculation Model

The $TQL tags in the text content of a Text Panel are calculated and replaced by their resulting values. These tags must always be preceded by a dollar sign ($), followed by either a TQL Select statement, or one of the supported text panel tags. The TQL tags may also end with a dollar sign. TQL statements always require a performed project calculation.

Example: $SELECT_NAME_WHERE_NEIGHBORHOOD_IS_0 and $SELECT_NAME_WHERE_NEIGHBORHOOD_IS_0$ will both be identified and replaced.

Important: $TQL tags used in JavaScript that contain X or Y clauses should be put between brackets.

See also

API Endpoints

  • Text Panel text endpoint: