Base Tag Library

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.

years 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
header HTML & b@se tags Renders a single usable space above the body
body HTML & b@se tags Runs an array for result
*footer HTML & b@se tags Renders a single usable space below the body

Was this article useful?

Be notified when this page is updated. Optional.