Hi Tobias >I did some updating and consolidation at the page below. Please, be so kind to take a quick look, and let me know if anything's off...
> http://tb5.tiddlyspot.com/#Variables%20vs.%20Parameters Note that "$macroParameter$" and [[$macroParameter$]] are both really a combination of two bits of syntax: double square brackets and double quotes to quote a tiddler title that might contain spaces, and the $dollar$ notation for substituting a macro parameter. You've listed {{transclusion}} under "within macros" which might be misleading: there's no special handling for {{transclusion}} processing within macros; the transclusion is just part of the output of the macro and gets wikified at that point. Similarly, listing <$widget param="$macroParameter$"/> as a way to pass widget parameters; it's again a compound syntax, whereas the other examples in that section are basic variants of the attribute syntax. You are analysing all the combinations of two layers of syntax where I think it might be easier to understand if you instead focused on understanding the way that those two layers work and interact. The two layers are ordinary wikitext processing and the special processing that occurs when macros are expanded. All of the complexity in your examples arises from macro-related syntax interacting with wikitext processing. If we teach people that <$widget param="$macroParameter$"/> is an out-of-the-box syntax then they risk missing that they can do things like <$widget param="mytiddlertitleprefix-$macroParameter$"/>. The key is to gain an understanding of the two layers involved. Best wishes Jeremy. On Sat, Nov 22, 2014 at 6:36 PM, Tobias Beer <[email protected]> wrote: > Hi Jeremy, > > >> I find the table a bit confusing. The underlying situation is much >> simpler: >> >> * Textual substitution for $parameters$ and $(variables)$ only takes >> place within macro bodies >> * Transcluding a variable with <<variable>> is a basic wikitext construct >> that can also be used for widget/html element attributes >> * Transcluding a tiddler text reference with {{title}} is a basic >> wikitext construct that can also be used for widget/html element attributes >> * Filters use [<variable>] for a variable transclusion, and [{title}] for >> a tiddler transclusion >> > > Thanks for the consolidated list! I will use it to try fill the above > table with the expectated behavior and do some testing in... > > http://pv5.tiddlyspot.com > > Not sure where to place such a consolidated aggregation in tiddlywiki.com. > Imho, it would be good if it were not just scattered all about different > module documentations. > > I did some updating and consolidation at the page below. Please, be so > kind to take a quick look, and let me know if anything's off... > > http://tb5.tiddlyspot.com/#Variables%20vs.%20Parameters > > I turned your excellent overview into an example wiki... >>> >> >> You've been very productive recently! I'd like to link to your new TW5 >> stuff, what's the best base URL to use? >> > > Yes, trying to catch up and using *tb5 *as a central hub for gathering > tw5 know-how... > > http://tb5.tiddlyspot.com > > That's the place for me until that perhaps more distant moment where I > might be doing some more segmented node.js-serving. Although I am doing > that already, I might eventually split up contents into dedicated > TiddlySpots to keep the load a bit at bay in tb5. > > Best wishes, Tobias. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

