1,935
editsAd placeholder
Template:Counter/2: Difference between revisions
Jump to navigation
Jump to search
did not work
(Testing to see if it can define itself if it is not defined.) Tag: Reverted |
(did not work) Tag: Undo |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#vardefine:{{{counter name|counter2}}}|{{#expr:{{#var:{{{counter name|counter2}}}}}+1}}}}</includeonly><noinclude>{{Documentation | ||
|content=Secondary template that adds +1 to the value of the local variable "counter2" every time it is called. | |content=Secondary template that adds +1 to the value of the local variable "counter2" every time it is called. | ||