Template:Category values: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{collection table| type={{{type|table}}} | suppresscategory={{{suppresscategory|<noinclude>template</noinclude>}}} | allowselflink={{{allowselflink|}}} | content={{{1|}}} | attribute=true | postfix={{{group|Function Value}}} | linkoverride={{{linkoverride|}}} | category=Category Values <!-- -->| Category value | {{{categoryvalue|}}}<!-- -->| Attribute | {{{attribute|}}}<!-- -->| Unit | {{{unit|}}}<!-- -->| Range | {{{range|}}}<!-- -->| Description | {{{description|}}}<!..." |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
| content={{{1|}}} | | content={{{1|}}} | ||
| attribute=true | | attribute=true | ||
| postfix={{{group| | | postfix={{{group|Category Value}}} | ||
| linkoverride={{{linkoverride|}}} | | linkoverride={{{linkoverride|}}} | ||
| category=Category Values | | category=Category Values | ||
<!-- | <!-- | ||
-->| | -->| Name | {{{categoryvalue|}}}<!-- | ||
-->| Attribute | {{{attribute|}}}<!-- | -->| Attribute | {{{attribute|}}}<!-- | ||
-->| Unit | {{{unit|}}}<!-- | -->| Unit | {{{unit|}}}<!-- | ||
| Line 18: | Line 18: | ||
* categoryvalue: Name of the [[Category Value]], only the first letter capitalized | * categoryvalue: Name of the [[Category Value]], only the first letter capitalized | ||
* attribute: Name of the attribute, proper TQL name | * attribute: Name of the attribute, proper TQL name | ||
* unit: The unit the | * unit: The unit the category value is in | ||
* range: Range of valid values for this Function Value | * range: Range of valid values for this Function Value | ||
* description: What the | * description: What the category value means/is | ||
Example: | Example: | ||
{{ | {{Category values|suppresscategory=true|allowselflinks=true| | ||
{{ | {{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 |