Difference between revisions of "Template:Stat/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
 
{{Stat
 
{{Stat
 
| set property = 0
 
| set property = 0
| default base value = 1
+
| default base value = 0.5
 
| min value = 0.1
 
| min value = 0.1
 
| max value = 1
 
| max value = 1
| to string style = PercentZero
+
| effective minimum = 0.11
 +
| effective maximum = 0.9
 +
| toStringStyle = PercentZero
 
| description = Speed at which this person sows and harvests [[plants]].
 
| description = Speed at which this person sows and harvests [[plants]].
 
}}
 
}}

Revision as of 16:35, 22 November 2023

Creates the first line of a Stat page, displaying what it is, providing the description, categorizing the page and setting several page parameters.

Note: Description placed in the template should match the description of the stat in-game. Additional information and context can be added later. Links can be made from the text in the description.

The Capacity equivalent is Template: Capacity.

Example

Stat/doc is a stat: Speed at which this person sows and harvests plants. Its minimum allowed value is 0.1 (effectively limited to 0.11). Its maximum allowed value is 1 (effectively limited to 0.9). Its default value is 0.5.