Template:Category values: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
| category=Category Values | | category=Category Values | ||
<!-- | <!-- | ||
-->| | -->| Name | {{{categoryvalue|}}}<!-- | ||
-->| Attribute | {{{attribute|}}}<!-- | -->| Attribute | {{{attribute|}}}<!-- | ||
-->| Unit | {{{unit|}}}<!-- | -->| Unit | {{{unit|}}}<!-- | ||
| Line 24: | Line 24: | ||
Example: | Example: | ||
{{Category values|suppresscategory=true|allowselflinks=true| | {{Category values|suppresscategory=true|allowselflinks=true| | ||
{{Category values|type=row|categoryvalue=Parking lots | {{Category values|type=row|categoryvalue=Parking lots|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> | ||
Latest revision as of 14:27, 12 May 2026
| Name | 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:
| Name | Attribute | Unit | Range | Description |
|---|---|---|---|---|
| Parking lots | PARKING_LOTS_PER_M2 | m | 0 to 1.7976931348623157E308 | Whether you can see it |