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 |
||
| 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 | ||
| 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=Floor height m|attribute=FLOOR_HEIGHT_M|icon=TYGRON_Logo_T1_94x135.png|unit=m|range=0 to {{doublemaxvalue}}|description=Whether you can see it}} | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 12:10, 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 |
|---|---|---|---|---|
| Floor height m | FLOOR_HEIGHT_M | m | 0 to 1.7976931348623157E308 | Whether you can see it |