Template:Stat total: Difference between revisions
>Illviljan mNo edit summary |
>Illviljan (Feel free to rename the template to something shorter and better if you figure something out.) |
||
Line 18: | Line 18: | ||
\end{align} | \end{align} | ||
}} | }} | ||
:''For more information about the [https://en.wikipedia.org/wiki/List_of_mathematical_symbols symbols], see [https://en.wikipedia.org/wiki/Summation#Capital-sigma_notation sum] and [https://en.wikipedia.org/wiki/Multiplication#Capital_Pi_notation product] notation. | |||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 16:07, 4 July 2016
Failed to parse (unknown function "\begin{align}"): \color[RGB]{163,141,109} \begin{align} a & \text{ the total amount of additional {{{stat}}} } & a & \in \mathbb{N}_{0} \\ b & \text{ the total amount of increased {{{stat}}} } & b & \in \mathbb{N}_{0} \\ c & \text{ the total amount of reduced {{{stat}}} } & c & \in \mathbb{N}_{0} \\ d & \text{ the total amount of more {{{stat}}} } & d & \in \mathbb{N}_{0} \\ e & \text{ the total amount of less {{{stat}}} } & e & \in \mathbb{N}_{0} \\ \end{align} |
Failed to parse (unknown function "\begin{align}"): \color[RGB]{163,141,109} \begin{align} \text{Total {{{stat}}} value} = & \sum_{i=0}^{a} \text{additional {{{stat}}}}_{i} * \\ & \left( 1 + \sum_{j=0}^{b} \text{increased {{{stat}}}}_{j} - \sum_{k=0}^{c} \text{reduced {{{stat}}}}_{k} \right) * \\ & \prod_{l=0}^{d} (1 + \text{more {{{stat}}}}_{l}) * \prod_{m=0}^{e} (1 - \text{less {{{stat}}}}_{m}) \end{align}
This template is used to display how stats are calculated in this game.
Usage
{{Stat total|Duration}}
yields:
Failed to parse (unknown function "\begin{align}"): \color[RGB]{163,141,109} \begin{align} a & \text{ the total amount of additional {{{stat}}} } & a & \in \mathbb{N}_{0} \\ b & \text{ the total amount of increased {{{stat}}} } & b & \in \mathbb{N}_{0} \\ c & \text{ the total amount of reduced {{{stat}}} } & c & \in \mathbb{N}_{0} \\ d & \text{ the total amount of more {{{stat}}} } & d & \in \mathbb{N}_{0} \\ e & \text{ the total amount of less {{{stat}}} } & e & \in \mathbb{N}_{0} \\ \end{align} |
Failed to parse (unknown function "\begin{align}"): \color[RGB]{163,141,109} \begin{align} \text{Total {{{stat}}} value} = & \sum_{i=0}^{a} \text{additional {{{stat}}}}_{i} * \\ & \left( 1 + \sum_{j=0}^{b} \text{increased {{{stat}}}}_{j} - \sum_{k=0}^{c} \text{reduced {{{stat}}}}_{k} \right) * \\ & \prod_{l=0}^{d} (1 + \text{more {{{stat}}}}_{l}) * \prod_{m=0}^{e} (1 - \text{less {{{stat}}}}_{m}) \end{align}
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.