Difference between revisions of "Template:Stat"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 54: Line 54:
 
<!-- Floats -->
 
<!-- Floats -->
 
<!--| Default Base Value = {{{default base value|1}}}-->
 
<!--| Default Base Value = {{{default base value|1}}}-->
| Hide At Value = {{{hide at value|-2.14748365 e9}}}
+
| Hide At Value = {{{hide at value|-2.14748365^9}}}
 
<!--| Max Value = {{{max value|9999999}}}-->
 
<!--| Max Value = {{{max value|9999999}}}-->
 
<!--| Min Value = {{{min value|-9999999}}}-->
 
<!--| Min Value = {{{min value|-9999999}}}-->
 
| No Skill Factor = {{{no skill factor|1}}}
 
| No Skill Factor = {{{no skill factor|1}}}
 
| No Skill Offset = {{{no skill offset|}}}
 
| No Skill Offset = {{{no skill offset|}}}
| Round To Five Over = {{{round to five over|Max Value}}}
+
| Round To Five Over = {{{round to five over|{{#if: Stat Maximum}} }}}
 
| Value If Missing = {{{value if missing|}}}
 
| Value If Missing = {{{value if missing|}}}
 
<!-- Lists -->
 
<!-- Lists -->

Revision as of 04:02, 21 September 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

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 is a stat: Speed at which this person sows and harvests plants. Its minimum allowed value is 10% (effectively limited to 11%). Its maximum allowed value is 100% (effectively limited to 90%). Its default value is 50%.