Categorymult (TQL Param): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Param TQL|suppresscategory=true|allowselflinks=true|
{{Param TQL|suppresscategory=true|allowselflinks=true|
<onlyinclude>
<onlyinclude>
{{Param TQL|tabletype=row|attribute=CATEGORYMULT|type=Item ID|description=Multiply the calculated value with this [[Category Value]] of a [[Building]]|polygon=false|}}
{{Param TQL|tabletype=row|attribute=CATEGORYMULT|type=[[Category Value]]|description=Multiply the calculated value with this [[Category Value]] of a [[Building]]|polygon=false|}}
</onlyinclude>
</onlyinclude>
}}
}}
Line 22: Line 22:
* In case this clause is used in combination with the [[Category (TQL Param)]], this category value is only multiplied for that category.
* In case this clause is used in combination with the [[Category (TQL Param)]], this category value is only multiplied for that category.
* In case this clause is not used in combination with the [[Category (TQL Param)]], the weighted average of this value is calculated, using a Building's Categories and their [[Category weight (Category Value)]].
* In case this clause is not used in combination with the [[Category (TQL Param)]], the weighted average of this value is calculated, using a Building's Categories and their [[Category weight (Category Value)]].
*Example clause with the Category Value  ''[[Parking lots demand (Category Value)|Demand for parking lots]]'':
 
:<syntaxhighlight copy>PARKING_LOTS_DEMAND_PER_M2</syntaxhighlight>
|seealso=*[[Category Value]]
|seealso=*[[Category Value]]
*[[Attribute mult (TQL Param)]]
*[[Functionmult (TQL Param)]]
}}
}}


{{TQL param nav}}
{{TQL param nav}}

Latest revision as of 12:42, 15 May 2026

Available for


Notes

See also