Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Counter/2

Template page
< Template:Counter
Revision as of 09:46, 5 February 2024 by Nattern (talk | contribs) (Created page with "<includeonly>{{#vardefine:{{{counter name|counter}}}|{{#expr:{{#var:{{{counter name|counter}}}}}+1}}}}</includeonly><noinclude>{{Documentation |content=Secondary template that adds +1 to the value of the local variable "counter2" every time it is called. == Usage == If you need multiple counters that count at the same time you can use {{code|<nowiki>{{counter/2}}</nowiki>}} together with the {{code|<nowiki>{{counter}}</nowiki>}} template. {{code|<nowiki>{{counter/2}}</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

Secondary template that adds +1 to the value of the local variable "counter2" every time it is called.

Usage

If you need multiple counters that count at the same time you can use {{counter/2}} together with the {{counter}} template.

{{counter/2}} should be defined with {{#vardefine:counter2|0}}. See Template:Counter for documentation.