Select color (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
{{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)}} | ||
{{: Indicator (TQL Param)}} | {{: Indicator (TQL Param)}} | ||
{{: Neighborhood (TQL Param)}} | {{: Neighborhood (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== | ==Examples== | ||
Revision as of 09:40, 9 January 2024
| Select | Unit | Description | Fixed clause amount | Polygon based |
|---|---|---|---|---|
| COLOR | HEX Color | Returns the value of the Color of an Item in HEX format | 1 | false |
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| ADDRESS |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Address with ID | false |
| AREA |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Area with ID | true |
| BUILDING |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Building with ID | false |
| CATEGORY |
Category X, Y, XA, YA |
Category with this value Buildings of this Category |
false |
| FUNCTION |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Function with ID | false |
| INDICATOR |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Indicator with ID | false |
| NEIGHBORHOOD |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Neighborhood with ID | true |
| NET_FUNCTION |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Net Function with ID | false |
| NET_LINE |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Net Line with ID | false |
| OVERLAY |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Overlay with ID | false |
| PANEL |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Panel with ID | false |
| STAKEHOLDER |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Stakeholder with ID Only include Plots that are owned by the stakeholder with this ID Only include Items that are related to this stakeholder |
true |
| STAKEHOLDERTYPE | Stakeholder Type | Stakeholder Type with this value Only include Plots that are owned by this type of Stakeholder |
true |
| TERRAIN |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Terrain of Terrain Type with ID | true |
| ZONE |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Zone with ID | true |
Examples
SELECT_COLOR_WHERE_AREA_IS_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
- Function (TQL Param) and Building (TQL Param) return the color of their first Category.