Actions

Template

Incvar

From Retro CDN

Revision as of 08:23, 5 November 2021 by Ccawley2011 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Increment a variable by 1.

Usage

{{#vardefine:testvalue|5}}
{{incvar|testvalue}}
testvalue = {{#var:testvalue}}

Returns:


testvalue = 6