If I were to have statement in my template such as...
[% INCLUDE foo
title = 'Hello World'
size = 35
offset = 10
%]
Is there a way for the file/block 'foo' to know which variables I have
passed it? (somewhat akin to @_ for perl functions). Or perhaps
phrased another way, can 'foo' access it's stash?
My motivation for asking is I'd like to process any additional arguments
given to a block/file. Using the example above, title, size, and offset
would be standard or expected parameters, but I'd like to have the flexibility
to allow...
[% INCLUDE foo
title = 'Hello World'
size = 35
offset = 10
yaa = 'Yet Another Argument'
%]
and have 'foo' be able process yaa (with any additional arguments) as well.
Thanks.