If anything, TW5, IMHO, seems to have been written to *discourage* you from 
writing Javascript.

It's a matter of adapting to a new paradigm. It probably isn't anything 
like the main-line Wikis, for better or worse.

In TWC, what everyone was always trying to do was to find some way to 
iterate and display information from tiddlers that matched some criteria. 
This typically depended on 3rd party plugins. In TW5 that capability is 
built-in, in the form of the <$list> Widget (Widgets are bits of code that 
perform operations inside tiddlers). 

Inside a list, you might frequently transclude the contents of tiddlers 
that have been selected by the "filter" parameter of the <$list> widget. 
The output fields from those tiddlers might be modified by a template 
tiddler.

The template tiddler would not, typically, use parameters. Instead, it 
would use fields that exist inside each of the generated. In fact, I'm not 
sure you can directly pass parameters to a TW5 template tiddler.

Depending on your use case, what you may actually want is a macro. Macros 
take parameters similar to templates in TWC.

This description is a bit hasty, I know. The best thing to do is to go to 
TiddlyWiki.com and read up on <$list>, transclusion, and macros. Then 
figure out what it is you want to accomplish. If you can't figure out how 
to do what you want, then come back with a description of your use case, 
and there's sure to be someone who will tell you how to do that (or that it 
can't be done without some feature not available yet).

Good luck,
Mark

On Sunday, September 13, 2015 at 8:24:08 AM UTC-7, Hegart Dmishiv wrote:
>
> On Monday, September 14, 2015 at 3:09:47 AM UTC+12, PMario wrote:
>>
>> TW5 is not 100% compatible with TWc. It is a rewrite from scratch. 
>> see: http://tiddlywiki.com/#Macros:Macros%20Transclusion
>> -m
>>
>
> Thanks for the reply, but, um, does that mean I'll have to learn how to 
> write JavaScript in order to do simple transclusion with parameters in 
> TW5.x? What do widgets have to do with any of it? Sorry, what seemed to be 
> a standard and simple technique is ending up in the "too hard basket". Why 
> would a core functionality in a previous version no longer be available in 
> the update? If we have to learn to write JavaScript to use it, then is it 
> really even a wiki still?
>
> I don't mean to be harsh, but I'm really disappointed that I've spent so 
> much time on this so far, only to find that the most basic of functionality 
> that I'll need from it is not readily available to me. I can do wikitext. I 
> can't do JavaScript.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/703b7734-ec5c-4933-8462-0dcd6a905b7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to