years
Generates a list of recent years
Example
[%years from:'-10' to:'+10'%]
[%param *body%]
[@year@]
[%/param%]
[%/years%]
Usage
Generates a list of years using their full name within the range specified in the from
& to
.
Parameters
Name | Options | Description |
---|---|---|
to:'' | +integer / -integer |
Sets the upper limit of years from the current year |
from:'' | +integer / -integer |
Sets the lower limit of years from the current year |
*body |
HTML & b@se tags | Runs an array for result |
Data Tags (body)
Data Tag | Example | Description |
---|---|---|
[@count@] |
0 | Index of each result starting at 0 |
[@current_year@] |
2018 | The current year |
[@year@] |
2008 | Year element in the array |