Template:Category 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|}}} | 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|Function Value}}}
| 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 function value is in
* 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 function value means/is
* description: What the category value means/is


Example:
Example:
{{Function values|suppresscategory=true|allowselflinks=true|
{{Category 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 to {{doublemaxvalue}}|description=Whether you can see it}}
{{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

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: