Difference between revisions of "Template:Stat"

From RimWorld Wiki
Jump to navigation Jump to search
m
m (temporarily remove problematic "For Information Only" and "Always Hide" categories)
Line 87: Line 87:
 
| Worker Class = {{{worker class|}}}<!-- Default = typeof(StatWorker) --><!--Type-->
 
| Worker Class = {{{worker class|}}}<!-- Default = typeof(StatWorker) --><!--Type-->
 
   }}
 
   }}
  {{#if:{{#expr:{{{P|Always Hide}}} = true}}|[[Category:Stats - Always Hide]]}}
 
  {{#if:{{#expr:{{{P|For Information Only}}} = true}}|[[Category:Stats - For Information Only]]}}
 
 
   [[Category:{{#switch: {{{category|}}}
 
   [[Category:{{#switch: {{{category|}}}
 
| Important
 
| Important

Revision as of 20:25, 22 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

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.