Difference between revisions of "Template:Stat/sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 10: Line 10:
 
| Stat Maximum = {{{max value|}}}<!-- 9999999 -->
 
| Stat Maximum = {{{max value|}}}<!-- 9999999 -->
 
| Stat Minimum = {{{min value|}}}<!-- -9999999 -->
 
| Stat Minimum = {{{min value|}}}<!-- -9999999 -->
| Default Base Value = {{{default base value|}}}<!-- 1 -->
+
| Default Base Value = {{{default base value|1}}}<!-- 1 -->
 
| To String Style = {{{to string style|}}}
 
| To String Style = {{{to string style|}}}
 
| Health Type = Stat
 
| Health Type = Stat
 
| Effective Minimum = {{#expr: {{{effective minimum|}}} }}
 
| Effective Minimum = {{#expr: {{{effective minimum|}}} }}
 
| Effective Maximum = {{#expr: {{{effective maximum|}}} }}
 
| Effective Maximum = {{#expr: {{{effective maximum|}}} }}
 +
  <!-- Other -->
 +
| Worker Int = {{worker int|}}
 +
| To String Style Unfinalized = {{to string style unfinalized|}}
 +
| Mutable Stats = {{mutable stats|}}
 +
| Show Developmental Stage Filter = {{show developmental stage filter|}}<!-- Baby, Child, Adult -->
 +
| Post Process Curve = {{post process curve|}}
 +
| Disable If Skill Disabled = {{disable if skill disabled|}}
 +
| Category = {{category|}}-->
 +
| To String Number Sense = {{to string number sense|Absolute}}
 +
<!-- | To String Style = {{to string style|}}-->
 +
| Worker Class = {{worker class|}}
 
<!-- Strings -->
 
<!-- Strings -->
 
| Offset Label = {{offset label|}}
 
| Offset Label = {{offset label|}}
Line 23: Line 34:
 
<!-- Booleans -->
 
<!-- Booleans -->
 
| Always Hide = {{always hide|}}
 
| Always Hide = {{always hide|}}
 +
<!--
 +
| Apply Factors If Negative = {{apply factors if negative|true}}
 +
| Cacheable = {{cacheable|}}
 +
| Display Max When Above Or Equal = {{display max when above or equal|}}
 +
| Finalize Equipped Stat Offset = {{finalize equipped stat offset|true}}
 +
-->
 
| For Information Only = {{for information only|}}
 
| For Information Only = {{for information only|}}
 +
<!--
 +
| Hide In Classic Mode = {{hide in classic mode|}}
 +
| Minified Thing Inherits = {{minified thing inherits|}}
 +
| Never Disabled = {{never disabled|}}
 +
| Overrides Hide Stats = {{overrides hide stats|}}
 +
| Round Value = {{round value|}}
 +
| Scenario Randomizable = {{scenario randomizable|}}
 +
| Show If Undefined = {{show if undefined|true}}
 +
| Show Non Abstract = {{show non abstract|true}}
 +
-->
 
| Show On Animals = {{show on animals|true}}
 
| Show On Animals = {{show on animals|true}}
 
| Show On Default Value = {{show on default value|true}}
 
| Show On Default Value = {{show on default value|true}}
Line 38: Line 65:
 
| Show On Untradeables = {{show on untradeables|true}}
 
| Show On Untradeables = {{show on untradeables|true}}
 
| Show Zero Base Value = {{show zero base value|}}
 
| Show Zero Base Value = {{show zero base value|}}
 +
| Suppress Disabled Error = {{suppress disabled error|}}
 +
| Immutable = {{immutable|}}
 +
<!-- Floats -->
 +
<!-- | Default Base Value = {{default base value|1}}-->
 +
| Hide At Value = {{hide at value|-2.14748365 e9}}
 +
<!-- | Max Value = {{max value|9999999}}-->
 +
<!-- | Min Value = {{min value|-9999999}}-->
 +
| No Skill Factor = {{no skill factor|1}}
 +
| No Skill Offset = {{no skill offset|}}
 +
| Round To Five Over = {{round to five over|Max Value}}
 +
| Value If Missing = {{value if missing|}}
 +
<!-- Lists -->
 +
| Show If Hediffs Present = {{show if hediffs present|}}
 +
| Capacity Factors = {{capacity factors|}}
 +
| Capacity Offsets = {{capacity offsets|}}
 +
| Show On Pawn Kind = {{show on pawn kind|}}
 +
| Skill Need Factors = {{skill need factors|}}
 +
| Skill Need Offsets = {{skill need offsets|}}
 +
| Post Process Stat Factors = {{post process stat factors|}}
 +
| Stat Factors = {{stat factors|}}
 +
| Parts = {{parts|}}
 +
| Show If Mods Loaded = {{show if mods loaded|}}
 +
| Show If Mods Loaded Any = {{show if mods loaded any|}}
 +
<!-- Integer -->
 
| Display Priority In Category = {{display priority in category|}}
 
| Display Priority In Category = {{display priority in category|}}
    | To String Number Sense = {{to string number sense|Absolute}}
 
| Worker Class = {{worker class|}}
 
 
   }}
 
   }}
 
   [[Category:{{#switch: {{{category|}}}
 
   [[Category:{{#switch: {{{category|}}}

Revision as of 03:10, 21 September 2024

Template:Template sandbox notice

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/sandbox is a stat: Speed of movement in cells per second. Its minimum allowed value is 0.15 c/s. Its default value is 3 c/s.

Table

Stat

Speed of movement in cells per second.

Base Stats

Def Name
MoveSpeed
Label
move speed
Min Value
0.15
Default Base Value
3.0
To String Style
FloatTwo
Format String
{0} c/s

Other

Scenario Randomizable
true
Capacity Factors
Moving
Parts
StatPart_Glow, StatPart_RevenantSpeed
Display Priority In Category
2500
Stat/sandbox is a stat: Speed of movement in cells per second. Its minimum allowed value is 0.15 c/s. Its default value is 3 c/s.