30 lines
712 B
Plaintext
30 lines
712 B
Plaintext
Tags inside a last{~n}
|
|
=================={~n}
|
|
{#people}
|
|
{name}{@last petname="fluffy"},{pet}{petname}{/last}
|
|
{/people}{~n}
|
|
|
|
last inside a scalar{~n}
|
|
===================={~n}
|
|
{#scalar}
|
|
{name}{@last petname="fluffy"},{pet}{petname}{/last}
|
|
{/scalar}{~n}
|
|
|
|
Nested last inside another non-array section{~n}
|
|
============================================{~n}
|
|
{#people}
|
|
{#toys}
|
|
{name}'s pet {pet} plays with a {.}{@last}, {/last}
|
|
{/toys}
|
|
{/people}{~n}
|
|
|
|
Else block inside a last{~n}
|
|
========================{~n}
|
|
{#people}
|
|
{name}{@last},{pet}{petname}{:else}elseblock{/last}
|
|
{/people}{~n}
|
|
|
|
Sep outside any section{~n}
|
|
======================={~n}
|
|
{@last}last is printed outside any section{/last}
|