Select color (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Select TQL|suppresscategory=true|allowselflinks=true|
{{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude>
{{Select TQL|type=row|attribute=COLOR|unit=[[Color#HEX_format|Html HEX Color]]|description=Returns the value of the Color of an [[Item]] in HTML form|fixed=1|polygon=false|}}
{{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>
}}
}}


{{Param TQL|suppresscategory=true|allowselflinks=true|list=true|
{{Param TQL|suppresscategory=true|allowselflinks=true|list=true|
{{: Address (TQL Param)}}
{{: Area (TQL Param)}}
{{: Building (TQL Param)}}
{{: Category (TQL Param)}}
{{: Category (TQL Param)}}
{{: Function (TQL Param)}}
{{: Function (TQL Param)}}
{{: Building (TQL Param)}}
{{: Address (TQL Param)}}
{{: Stakeholder (TQL Param)}}
{{: Stakeholdertype (TQL Param)}}
{{: Zone (TQL Param)}}
{{: Panel (TQL Param)}}
{{: Indicator (TQL Param)}}
{{: Indicator (TQL Param)}}
{{: Overlay (TQL Param)}}
{{: Neighborhood (TQL Param)}}
{{: Neighborhood (TQL Param)}}
{{: Area (TQL Param)}}
{{: Terrain (TQL Param)}}
{{: Net function (TQL Param)}}
{{: Net function (TQL Param)}}
{{: Net line (TQL Param)}}
{{: Net line (TQL Param)}}
{{: Overlay (TQL Param)}}
{{: Panel (TQL Param)}}
{{: Stakeholder (TQL Param)}}
{{: Stakeholdertype (TQL Param)}}
{{: Terrain (TQL Param)}}
{{: Zone (TQL Param)}}
}}
}}
==Examples==
* <code>SELECT_COLOR_WHERE_AREA_IS_5</code>
:: ''Returns the [[Color#HEX_format|HEX Color]] of the COLOR [[Attribute]] of the [[Area]] with Item ID 5.''
* <code>SELECT_COLOR_WHERE_STAKEHOLDER_IS_3</code>
:: ''Returns the [[Color#HEX_format|HEX Color]] of the color parameter of the [[Stakeholder]] with Item ID 3.''
* <code>SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY</code>
:: ''Returns the [[Color#HEX_format|HEX Color]] of the default color of the Stakeholder Type MUNICIPALITY.''


{{article end
|notes=
* [[Function (TQL Param)]] and [[Building (TQL Param)]] return the color of their first [[Category]].
}}
{{TQL nav}}
{{TQL nav}}

Latest revision as of 09:40, 9 January 2024

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