Value of ifTest: {ifTest}
{if:ifTest}
ifTest evaluated to non-false
{else:}
ifTest evaluated to false
{end:}
Value of ifTest2: {ifTest2}
{if:ifTest2}
ifTest evaluated to non-false
{else:}
ifTest evaluated to false
{end:}
Value of switchTest: {switchTest}
Value of other: {other}
{switch:switchTest}
Default case
{case:other}
switchTest was equal to other
Value of other: {other}
{case:'vemplator'}
switchTest variable was vemplator
{endswitch:}
Loop over items, showing index and value
{foreach:rows,i,row}
#{i} = {row['name']}
{end:}
Loop over items, showing only value
{foreach:rows,row}
{row['name']}
{end:}
Simple
rows[0]['name'] = {rows[0]['name']}
Making use of a Function
ucwords(rows[1]['name'] = {ucwords(rows[1]['name'])}
Member Variables
obj.names['first'] = {obj.names['first']}
obj.names['last'] = {obj.names['last']}
Methods
obj.fullName() = {obj.fullName()}