[pmwiki-users] Include with variables

Hans design5 at softflow.co.uk
Sun Dec 21 16:18:13 CST 2008


Sunday, December 21, 2008, 9:55:27 PM, DaveG wrote:

> Thanks Hans, but unless I'm reading it wrong, that shows me how to have
> the data in a separate page. What I'm looking for is to pass the data 
> inline from the include statement.

> So rather than this:
> (:include TemplatePage basepage="TemplateData":)

> I'm talking about this:
> (:include TemplatePage var1="value" var2="value":)

this will work if var1, var2 etc are in your TemplatePage as
replacement variables of form {$$var1}, {$$var2} etc.


  ~Hans




More information about the pmwiki-users mailing list