| Recommend this page to a friend! |
| Packages of Michael Beck | Xoops 2.5 | htdocs/xoops_lib/vendor/smarty/smarty/docs/designers/language-custom-functions/language-function-counter.md | Download |
|
|
||||||||||||||||||||
{counter}
Attributes| Attribute Name | Required | Description | |----------------|----------|-----------------------------------------------------------| | name | No | The name of the counter | | start | No | The initial number to start counting from (defaults to 1) | | skip | No | The interval to count by (defaults to 1) | | direction | No | The direction to count (up/down) (defaults to 'up') | | print | No | Whether or not to print the value (defaults to true) | | assign | No | the template variable the output will be assigned to | If you supply the Examples
this will output: |