Hi. Please give me more descriptions or examples of this extension.
This post was posted by Kghbln, but signed as Roc michael.
Hi. Please give me more descriptions or examples of this extension.
This post was posted by Kghbln, but signed as Roc michael.
It adds a variable {{AUTOINCRMENT}} that increases by 1 automatically each time it's used on a page. For example, "{{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}}" would produce "0 1 2 3 4".
It's a really a good idea for using this extension in documents. But in general use, I think it's practical to make this extension start with "1" instead of "0" or users have to use this extension like the following way:
{{#expr:{{AUTOINCREMENT}}+1}},{{#expr:{{AUTOINCREMENT}}+1}},{{#expr:{{AUTOINCREMENT}}+1}},.......
This post was posted by Kghbln, but signed as Roc michael.
You could just do to prime the pump.
{{#if:{{AUTOINCREMENT}}}} {{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}}
would display as: "1 2 3 4 5"
This post was posted by Kghbln, but signed as BlindWanderer.