Hello,

There's no such feature. If a reusable template fragment has
parameters (or has nested content), then you meant to use macros (or
functions).


Sunday, April 2, 2017, 11:47:54 PM, Ingo Mahnke wrote:

> Hallo,
> maybe someone can help me.
> Is it possibile to use custom parameter with the include directive?
>
>
> Template 1
> ....
> ....
> <#include "template2.ftl" param=v1>
> ...
> ..
>
>
> template2.ftl
> ....
> ...
> <#if (param=="v1")>
> ..
> ..
> <#else>
> ..
> ..
> </#if>
>
>
> Thank you very much!!!
>
> Ingo
>  
>

-- 
Thanks,
 Daniel Dekany

Reply via email to