Can you use the {for} smarty tag in a template to do a simple loop like

{for $itemnumber=1 to 16}

I tried it and got a syntax error: unrecognized tag 'for'

I don't have much experience with smarty, so I thought I'd ask to see if this is possible within a template before looking further to see where my error may be. Thanks!