Template:Function values: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 26: Line 26:
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|range=0 {{doublemaxvalue}}|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 13:35, 26 January 2024

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: