Actions

Template

Incvar

From Retro CDN

Revision as of 16:01, 20 December 2020 by Scarred Sun (talk | contribs) (Created page with "<includeonly>{{addvar|{{{1}}}|1}}</includeonly><noinclude> Increment a variable by 1. ==Usage== <pre> <nowiki>{{#vardefine:testvalue|5}}</nowiki> <nowiki>{{incvar|testvalue}}...")
(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