{* This is a comment *}

Test Rain Tpl {$version}


Variables

Variable: {$variable}

Init Variable {$v = 10}

Show Variable {$v}

Modifier {$variable|strlen}

Cascade Modifier {$variable|substr:2,5|strlen}

Scoping (array) {$week.0}

Var test {$variable}

Loop

Simple Loop

Modifier on Loop

Simple Nested Loop

Loop on created array

If

True condition: {if="true"}This is true{/if}

Modifier inside if: {if="$variable|is_string"}True{/if}