Toggle Minimized View
Search

Templates: Junecode: counter

This documentation was updated on July 14th, 2009

Inserts a number that increments by one each time it’s called. Useful for giving each item a unique ID or numbering a list.

Attributes

id: optional. If you’re using this tag more than once in a single template, you should give each one a unique id. This will make sure the counters are kept separate.

Example

<div id="item{junecode:counter}"></div>

You are here: Junecode: about: design: junecode: counter
Can’t find what you need? View a complete site map