Difference between revisions of "Template:Stat/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (category)
Line 4: Line 4:
  
 
The [[Capacity]] equivalent is [[Template: Capacity]].
 
The [[Capacity]] equivalent is [[Template: Capacity]].
 +
 +
== Example ==
 +
{{Stat
 +
| set property = 0
 +
| default base value = 1
 +
| minValue = 0.1
 +
| minValue = 1
 +
| to string style = PercentZero
 +
| description = Speed at which this person sows and harvests [[plants]].
 +
}}
  
 
<includeonly>[[Category:SMW templates]]</includeonly>
 
<includeonly>[[Category:SMW templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 04:38, 4 October 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 default value is 100%.