Select color (TQL): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude>
{{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude>
{{Select TQL|type=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 HEX format|fixed=1|polygon=false|}}</onlyinclude>
}}
}}



Revision as of 14:39, 28 February 2023

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