リテラル

{* COMMENT *} {$foo}

{$bar.buz}

{if $cond}

{$boo}

{elseif $cond2}

{$buz}

{/if}

\{$xxx}

{*

{$abc|filter}

{$xyz|modifier:80:90}

{$qwerty|add:1|sub:2}

*} {foreach from=$strings item=i name=o} data={$i} index={$smarty.foreach.o.index} iteration={$smarty.foreach.o.iteration} first={$smarty.foreach.o.first} last={$smarty.foreach.o.last} {/foreach} {$strings[0]} {$nested[0][0]} {$nested[1][0]} {include file="include.html"}