Template:Function values: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
-->| Unit | {{{unit|}}}<!-- | -->| Unit | {{{unit|}}}<!-- | ||
-->| Per category | {{{category|}}}<!-- | -->| Per category | {{{category|}}}<!-- | ||
-->| Range | {{{range|}}}<!-- | |||
-->| Description | {{{description|}}}<!-- | -->| Description | {{{description|}}}<!-- | ||
-->}}<noinclude> | -->}}<noinclude> | ||
Line 20: | Line 21: | ||
* unit: The unit the function value is in | * unit: The unit the function value is in | ||
* category: Whether the Function Value is a Category Value | * category: Whether the Function Value is a Category Value | ||
* range: Range of valid values for this Function Value | |||
* description: What the function value means/is | * description: What the function value means/is | ||
Example: | Example: | ||
{{Function values|suppresscategory=true|allowselflinks=true| | {{Function values|suppresscategory=true|allowselflinks=true| | ||
{{Function values|type=row|functionvalue=Floor height m|attribute=FLOOR_HEIGHT_M|icon=TYGRON_Logo_T1_94x135.png|unit=m|description=Whether you can see it}} | {{Function values|type=row|functionvalue=Floor height m|attribute=FLOOR_HEIGHT_M|icon=TYGRON_Logo_T1_94x135.png|unit=m|range=0-{{doublemaxvalue}}|description=Whether you can see it}} | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 13:35, 26 January 2024
Function value | Attribute | Unit | Per category | Range | Description |
---|
Parameters:
- functionvalue: Name of the function value, only the first letter capitalized
- attribute: Name of the attribute, proper TQL name
- unit: The unit the function value is in
- category: Whether the Function Value is a Category Value
- range: Range of valid values for this Function Value
- description: What the function value means/is
Example:
Function value | Attribute | Unit | Per category | Range | Description |
---|---|---|---|---|---|
Floor height m | FLOOR_HEIGHT_M | m | 0-1.7976931348623157E308 | Whether you can see it |