Template:Function values: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "{{collection table| type={{{type|table}}} | suppresscategory={{{suppresscategory|<noinclude>template</noinclude>}}} | allowselflink={{{allowselflink|}}} | content={{{1|}}} | a..."
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 6: Line 6:
| postfix={{{group|Function Value}}}
| postfix={{{group|Function Value}}}
| linkoverride={{{linkoverride|}}}
| linkoverride={{{linkoverride|}}}
| category=
| category=Function Values
<!--
<!--
-->| Function value | {{{functionvalue|}}}<!--
-->| Function value | {{{functionvalue|}}}<!--
-->| Attribute | {{{attribute|}}}<!--
-->| Attribute | {{{attribute|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Unit | {{{unit|}}}<!--
-->| Per category | {{{category|}}}<!--
-->| Range | {{{range|}}}<!--
-->| Description | {{{description|}}}<!--
-->| Description | {{{description|}}}<!--
-->}}<noinclude>
-->}}<noinclude>
Line 19: Line 19:
* attribute: Name of the attribute, proper TQL name
* attribute: Name of the attribute, proper TQL name
* 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
* 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 to {{doublemaxvalue}}|description=Whether you can see it}}
}}
}}


</noinclude>
</noinclude>

Latest revision as of 14:15, 12 May 2026

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
  • range: Range of valid values for this Function Value
  • description: What the function value means/is

Example: