Select color (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Select TQL|<onlyinclude>
{{Select TQL|<onlyinclude>
{{Select TQL|tabletype=row|attribute=COLOR|unit=[[Color#HEX_format|HEX Color]]|description=Returns the value of the Color of an [[Item]] in HEX format|fixed=1|polygon=false|}}</onlyinclude>
{{Select TQL|tabletype=row|attribute=COLOR|unit=[[Color#HEX_format|HEX Color]]|description=Returns the value of the Color of an [[Item]] in [[Color#HEX format|HEX format]]|fixed=1|polygon=false|}}</onlyinclude>
}}
}}
==Allowed clause parameters==
==Allowed clause parameters==
Line 31: Line 31:
|notes=
|notes=
* [[Function (TQL Param)]] and [[Building (TQL Param)]] return the color of their first [[Category]].
* [[Function (TQL Param)]] and [[Building (TQL Param)]] return the color of their first [[Category]].
|api=* [[Api session query]]
}}
}}
{{TQL nav}}
{{TQL nav}}

Latest revision as of 12:32, 6 July 2026

Allowed clause parameters

Examples

  • SELECT_COLOR_WHERE_AREA_IS_5
Returns the HEX Color of the COLOR Attribute of the Area with Item ID 5.
  • SELECT_COLOR_WHERE_STAKEHOLDER_IS_3
Returns the HEX Color of the color parameter of the Stakeholder with Item ID 3.
  • SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY
Returns the HEX Color of the default color of the Stakeholder Type MUNICIPALITY.

Notes

API Endpoints