Difference between revisions of "Template:Stat"

From RimWorld Wiki
Jump to navigation Jump to search
(did the recoding)
(allow expressions as inputs)
Line 11: Line 11:
 
         | To String Style    = {{{to string style|}}}
 
         | To String Style    = {{{to string style|}}}
 
         | Health Type        = Stat
 
         | Health Type        = Stat
         | Effective Minimum  = {{{effective minimum|}}}
+
         | Effective Minimum  = {{#expr: {{{effective minimum|}}} }}
         | Effective Minimum  = {{{effective maximum|}}}
+
         | Effective Minimum  = {{#expr: {{{effective maximum|}}} }}
 
   }}
 
   }}
 
   [[Category:{{#switch: {{{category|}}}
 
   [[Category:{{#switch: {{{category|}}}

Revision as of 16:50, 22 November 2023

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

No Table (Default)

Stat is a stat: Speed of movement in cells per second. Its minimum allowed value is 0.15. Its default value is 3.

Table

Stat is a stat: Speed of movement in cells per second. Its minimum allowed value is 0.15. Its default value is 3.