Templates: Junecode: counter

This documentation was updated on Tuesday, July 14, 2009 at 4:26 AM

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 templates: junecode: counter
This site was created with Junecode. Copyright © 2010–2023 Junecloud LLC.