1[% META 2 author = 'abw' 3 version = 1.23 4%] 5[% INCLUDE header title = "Yet Another Template Test" +%] 6This is a more complex file which includes some BLOCK definitions 7[% INCLUDE footer +%] 8 9[% BLOCK header %] 10This is the header, title: [% title %] 11[% END %] 12 13[% BLOCK footer %][%# NOTE: the 'template' is the parent doc, not this one %] 14This is the footer, author: [% template.author %], version: [% template.version+%] 15[% "- $x " FOREACH x = [3 2 1] %] 16[% END %] 17 18 19