> Is there a way to define something once and then just include it on
> the pages I need with the parameters I give?
> Like once defying a tiddler named Infobox and then in others just
> doing {{Infobox|foo|bar}}First, create the tiddler called [[InfoBox]] with the desired content. You can then 'transclude' (include and render) that tiddler's content into another tiddler, by using the TW core macro: <<tiddler InfoBox>> This macro also allows you to pass optional space-separated parameters, like this: <<tiddler InfoBox with: "foo" "bar" "baz" "mumble frotz" "gronk snork snerfle") You can indicate where these parameter values are to be inserted into the transcluded InfoBox content by embedded special 'substitution markers' into that content, using $1 through $9, where the number corresponds to the order of the parameters as passed in. Thus, if InfoBox contains something like this: Hello $1... $2 said: $3, $4 and $5 the above macro would render output like this: Hello foo... bar said: baz, mumble frotz, and gronk snork snerfle enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

