Difference between revisions of "Template:Counter"
From Geohashing
imported>Jevanyn (Created page with "This is a test template, to make something that can count the number of times it can be included on a page. Ultimately I'll be using it on this wiki as well as Wikipedia. {{if...") |
imported>Jevanyn |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This is a test template, to make something that can count the number of times it can be included on a page. Ultimately I'll be using it on this wiki as well as Wikipedia. | + | <noinclude>This is a test template, to make something that can count the number of times it can be included on a page. Ultimately I'll be using it on this wiki as well as Wikipedia.</noinclude> |
− | + | <includeonly>{{#vardefine:countername|counterx{{{1|}}}}}{{#if:{{#var:{{#var:countername}}}}|{{#vardefine:{{#var:countername}}|{{#expr:{{#var:{{#var:countername}}}}+1}}}}|{{#vardefine:{{#var:countername}}|1}}}}{{#var:{{#var:countername}}}}{{#vardefine:countername|}}</includeonly> | |
− | |||
− | |||
− | |||
− | {{ | ||
− | {{ | ||
− | |||
− | {{ |
Latest revision as of 20:48, 17 March 2015
This is a test template, to make something that can count the number of times it can be included on a page. Ultimately I'll be using it on this wiki as well as Wikipedia.