Template:CountTotal: Difference between revisions
From A KoL Wiki
imported>Fig bucket Created page with "<includeonly><span class="countTotal-{{{2|0}}}-{{{1}}}""></span></includeonly><noinclude> {{Code2}} Shows the sum of counted items. ==Usage== *<nowiki>{{CountTotal|n|m}}</no..." |
imported>Fig bucket m revise this too |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span class=" | <includeonly><span class="counttotal countable-{{{1|0}}} {{#if:{{{2|}}}|countable-{{{2}}}}} {{#if:{{{3|}}}|countable-{{{3}}} {{#if:{{{4|}}}|countable-{{{4}}} {{#if:{{{5|}}}|countable-{{{5}}} {{#if:{{{6|}}}|countable-{{{6}}} {{#if:{{{7|}}}|countable-{{{7}}} {{#if:{{{8|}}}|countable-{{{8}}} {{#if:{{{9|}}}|countable-{{{9}}} {{#if:{{{10|}}}|countable-{{{10}}} {{#if:{{{11|}}}|countable-{{{11}}} {{#if:{{{12|}}}|countable-{{{12}}} {{#if:{{{13|}}}|countable-{{{13}}} {{#if:{{{14|}}}|countable-{{{14}}} {{#if:{{{15|}}}|countable-{{{15}}} {{#if:{{{16|}}}|countable-{{{16}}} {{#if:{{{17|}}}|countable-{{{17}}}}}"></span></includeonly><noinclude> | ||
{{Code2}} | {{Code2}} | ||
Shows the sum of | Shows the sum of countable items within one or more groups. | ||
==Usage== | ==Usage== | ||
*<nowiki>{{CountTotal| | *<nowiki>{{CountTotal|group1|group2|...}}</nowiki> | ||
* Shows the sum of | * Shows the sum of items in each of the given countable groups. The default group is "0", and currently a maximum of 17 groups can be specified. | ||
* See {{tl|CountItem}} for specifying countable items. | |||
* See {{tl|CountItem}} for | |||
[[Category:Utility Templates|{{PAGENAME}}]] | [[Category:Utility Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:22, 10 July 2016
[edit]
{{CountTotal}}
<span class="counttotal countable-{{{1|0}}} {{#if:{{{2|}}}|countable-{{{2}}}}} {{#if:{{{3|}}}|countable-{{{3}}} {{#if:{{{4|}}}|countable-{{{4}}} {{#if:{{{5|}}}|countable-{{{5}}} {{#if:{{{6|}}}|countable-{{{6}}} {{#if:{{{7|}}}|countable-{{{7}}} {{#if:{{{8|}}}|countable-{{{8}}} {{#if:{{{9|}}}|countable-{{{9}}} {{#if:{{{10|}}}|countable-{{{10}}} {{#if:{{{11|}}}|countable-{{{11}}} {{#if:{{{12|}}}|countable-{{{12}}} {{#if:{{{13|}}}|countable-{{{13}}} {{#if:{{{14|}}}|countable-{{{14}}} {{#if:{{{15|}}}|countable-{{{15}}} {{#if:{{{16|}}}|countable-{{{16}}} {{#if:{{{17|}}}|countable-{{{17}}}}}"></span>
Shows the sum of countable items within one or more groups.
Usage
- {{CountTotal|group1|group2|...}}
- Shows the sum of items in each of the given countable groups. The default group is "0", and currently a maximum of 17 groups can be specified.
- See {{CountItem}} for specifying countable items.