Text Panel: Difference between revisions
No edit summary |
|||
| Line 10: | Line 10: | ||
: '' Main article: [[Web interface]]'' | : '' Main article: [[Web interface]]'' | ||
The [[Web interface]] can be enriched by adding a Panel to it with [[HTML|HTML, CSS and/or javaScript code]]. The content of the Panel is directly injected into the [[Web interface]]. | The [[Web interface]] can be enriched by adding a Panel to it with [[HTML|HTML, CSS and/or javaScript code]]. The content of the Panel is directly injected into the [[Web interface]]. | ||
===Text Template Panel=== | |||
{{main|Template Panel}} | |||
Text Panels can also be generated through the use of [[Template Panel]]s. These behave mostly like normal Text Panels but are not directly accessible to the end-user. Instead, based on a [[Template Panel]], Text Panels can be generated automatically, related to specific data in the [[Project]]. | |||
{{article end | {{article end | ||
Revision as of 15:35, 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.
Web interface
- Main article: Web interface
The Web interface can be enriched by adding a Panel to it with HTML, CSS and/or javaScript code. The content of the Panel is directly injected into the Web interface.
Text Template Panel
- Main article: Template Panel
Text Panels can also be generated through the use of Template Panels. These behave mostly like normal Text Panels but are not directly accessible to the end-user. Instead, based on a Template Panel, Text Panels can be generated automatically, related to specific data in the Project.