Template:Category values: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
Example: | Example: | ||
{{Category values|suppresscategory=true|allowselflinks=true| | {{Category values|suppresscategory=true|allowselflinks=true| | ||
{{Category values|type=row|categoryvalue= | {{Category values|type=row|categoryvalue=Parking lots per m2|attribute=PARKING_LOTS_PER_M2|icon=TYGRON_Logo_T1_94x135.png|unit=m|range=0 to {{doublemaxvalue}}|description=Whether you can see it}} | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 12:11, 12 May 2026
| Category value | Attribute | Unit | Range | Description |
|---|
Parameters:
- categoryvalue: Name of the Category Value, only the first letter capitalized
- attribute: Name of the attribute, proper TQL name
- unit: The unit the category value is in
- range: Range of valid values for this Function Value
- description: What the category value means/is
Example:
| Category value | Attribute | Unit | Range | Description |
|---|---|---|---|---|
| Parking lots per m2 | PARKING_LOTS_PER_M2 | m | 0 to 1.7976931348623157E308 | Whether you can see it |