imported>Jevanyn |
imported>Jevanyn |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{counter}}{{counter}}{{counter}}{{counter}}{{counter}}{{counter}}{{counter}}{{counter}} | ||
+ | <br>The counter "counterx" is {{#var:counterx|0}}, should be 8 | ||
{{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|two}}{{counter|two}}{{counter|two}}{{counter|one}} | {{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|two}}{{counter|two}}{{counter|two}}{{counter|one}} | ||
− | The counter | + | <br>The counter "counterxone" is {{#var:counterxone|0}}, should be 7 |
− | The counter | + | <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> | ||
+ | --> | ||
+ | {{counter2|ace|echo=value}} | ||
+ | {{counter2|ace|echo=value}} | ||
+ | {{counter2|ace|echo=token}} | ||
+ | {{counter2|deuce}} | ||
+ | {{counter2|ace|echo=token}} | ||
+ | <br>The counter "counterxace" is {{#var:counterxace|0}}, should be 4 | ||
+ | <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