This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:expression:for [2012/11/25 18:49] admin created |
en:public:developer:template_system:tags:expression:for [2012/11/25 18:50] (current) admin [Example] |
||
---|---|---|---|
Line 27: | Line 27: | ||
<code> | <code> | ||
- | |||
<#for var="i" from="0" to="5"> | <#for var="i" from="0" to="5"> | ||
<#i><br /> | <#i><br /> | ||
<#endfor> | <#endfor> | ||
- | |||
</code> | </code> | ||
+ | |||
+ | The above example will output: | ||
+ | |||
+ | <code> | ||
+ | 0 | ||
+ | 1 | ||
+ | 2 | ||
+ | 3 | ||
+ | 4 | ||
+ | 5 | ||
+ | </code> | ||
+ |