Difference between revisions of "User:Jevanyn/test1"

From Geohashing
imported>Jevanyn
imported>Jevanyn
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{counter|one}}
+
{{counter}}{{counter}}{{counter}}{{counter}}{{counter}}{{counter}}{{counter}}{{counter}}
{{counter|one}}
+
<br>The counter "counterx" is {{#var:counterx|0}}, should be 8
{{counter|one}}
+
{{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|one}}{{counter|two}}{{counter|two}}{{counter|two}}{{counter|one}}
{{counter|one}}
+
<br>The counter "counterxone" is {{#var:counterxone|0}}, should be 7
{{counter|one}}
+
<br>The counter "counterxtwo" is {{#var:counterxtwo|0}}, should be 3
{{counter|one}}
+
<hr>
{{counter|two}}
+
<!-- template does not work without some arguments
{{counter|one}}
+
{{counter2}}{{counter2}}{{counter2}}{{counter2}}{{counter2}}{{counter2}}{{counter2}}{{counter2}}
The counter name {{#var:countername}} is still defined
+
<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