Difference between revisions of "Template:Stat"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>[[Category:Stat]]{{#if:{{{set property|1}}}|{{#set: Health Type = Stat | Stat Minimum = {{{minValue|{{{min value|}}} }}} | Stat Maximum = {{{maxValue|{{{max value|}}} }}} | Default Base Value = {{{default base value|{{{default value|}}} }}} }}}}'''{{PAGENAME}}''' is a [[Stat]]{{#if: {{{minValue|{{{min value|{{{maxValue|{{{max value}}} }}} }}} }}}| &nbsp;({{#if:{{{minValue|}}}|Min: {{%|{{{minValue}}}}}}}{{#if:{{{maxValue|}}}|Max: {{%|{{{maxValue}}}}}}})}}: {{Text | description | {{{description|}}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
+
<includeonly>[[Category:Stat]]{{#if:{{{set property|1}}}|{{#set: Health Type = Stat | Stat Minimum = {{{minValue|{{{min value|}}} }}} | Stat Maximum = {{{maxValue|{{{max value|}}} }}} | Default Base Value = {{{default base value|{{{default value|}}} }}} }}}}'''{{PAGENAME}}''' is a [[Stat]]{{#if: {{{minValue|{{{min value|{{{maxValue|{{{max value}}} }}} }}} }}}|&nbsp;({{#if:{{{minValue|}}}|&nbsp;Min: {{%|{{{minValue}}}}}}}{{#if:{{{maxValue|}}}|&nbsp;Max: {{%|{{{maxValue}}}}}}}&nbsp;)}}: {{Text | description | {{{description|}}} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 04:42, 4 October 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

Stat is a Stat ( ): Speed at which this person sows and harvests plants.