imported>Jevanyn |
imported>Jevanyn |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<br>The counter "counterxone" is {{#var:counterxone|0}}, should be 7 | <br>The counter "counterxone" is {{#var:counterxone|0}}, should be 7 | ||
<br>The counter "counterxtwo" is {{#var:counterxtwo|0}}, should be 3 | <br>The counter "counterxtwo" is {{#var:counterxtwo|0}}, should be 3 | ||
− | + | <hr> | |
+ | <!-- template does not work without some arguments | ||
+ | {{counter2}}{{counter2}}{{counter2}}{{counter2}}{{counter2}}{{counter2}}{{counter2}}{{counter2}} | ||
+ | <br>The default counter "counterxdefault" is {{#var:counterxdefault|0}}, should be 8 | ||
<br> | <br> | ||
− | + | --> | |
− | |||
{{counter2|ace|echo=value}} | {{counter2|ace|echo=value}} | ||
{{counter2|ace|echo=value}} | {{counter2|ace|echo=value}} | ||
Line 15: | Line 17: | ||
<br>The counter "counterxace" is {{#var:counterxace|0}}, should be 4 | <br>The counter "counterxace" is {{#var:counterxace|0}}, should be 4 | ||
<br>The hidden counter "counterxdeuce" is {{#var:counterxdeuce|0}}, should be 1 | <br>The hidden counter "counterxdeuce" is {{#var:counterxdeuce|0}}, should be 1 | ||
+ | |||
+ | <br> | ||
+ | {{counter2|M}}M | ||
+ | {{counter2|F}}F | ||
+ | {{counter2|F}}F | ||
+ | {{counter2|F}}F | ||
+ | {{counter2|F}}F | ||
+ | <br>Number of M = {{#var:counterxM}} | ||
+ | <br>Number of F = {{#var:counterxF}} | ||
+ | <br>Number of combined = {{#expr:{{#var:counterxM|0}}+{{#var:counterxF|0}}}} | ||
+ | |||
+ | <br> | ||
+ | {{counter2|M}}M | ||
+ | {{counter2|F}}F | ||
+ | {{counter2|F}}F | ||
+ | {{counter2|F}}F | ||
+ | {{counter2|F}}F | ||
+ | <br>Number of M = {{#var:counterxM}} | ||
+ | <br>Number of F = {{#var:counterxF}} | ||
+ | <br>Number of combined = {{#expr:{{#var:counterxM|0}}+{{#var:counterxF|0}}}} |
Latest revision as of 16:28, 20 April 2015
1
2
3
4
5
6
7
8
The counter "counterx" is 8, should be 8
1
2
3
4
5
6
1
2
3
7
The counter "counterxone" is 7, should be 7
The counter "counterxtwo" is 3, should be 3
1
2
ace
ace
The counter "counterxace" is 4, should be 4
The hidden counter "counterxdeuce" is 1, should be 1
M
F
F
F
F
Number of M = 1
Number of F = 4
Number of combined = 5
M
F
F
F
F
Number of M = 2
Number of F = 8
Number of combined = 10