Difference between revisions of "Template:Stat"
Jump to navigation
Jump to search
m (simplification) |
|||
Line 1: | Line 1: | ||
− | <includeonly>[[Category:Stat]]{{#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]]: {{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|{{{maxValue|}}}}}}|({{#if:{{{minValue|}}}|Min: {{%|{{{minValue}}}}}}}{{#if:{{{maxValue|}}}|Max: {{%|{{{maxValue}}}}}}})}}: {{Text | description | {{{description|}}} }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 04:37, 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
No Table (Default)
Stat is a Stat: Speed of movement in cells per second.Table
Stat is a Stat: Speed of movement in cells per second. The above documentation is transcluded from Template:Stat/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |