Wiki text includes simple ways to change the apperence of text, bold, creating 
bullet lists and links to tiddlers etc..

It is however possible it include html such as 
<code>some text</code> however if html demands javascript to calculate or 
process it, it will not work without making a plugin, JavaScript macro etc...

Widgets on the other hand are designed for tiddlywiki and take the form;

<$widgetname parameters/>
Or
<$widgetname parameters>
Content of widget
</$widgetname>

Notice how it is similar but different to html

The result of each widget depends on its design and the parameters used. They 
are tiddlywiki specific, somewidgets can be used inside other widgets as wiki 
text and html can also. All widgets are documented at tiddlywiki.com. one of 
the key features of widgets is the use of filters to select zero, one or more 
tiddlers, tags, fields and field values eg listWidget. Including setting the 
value of "variables" eg setWidget.

These selected values and other variables can be used inside the content of 
each widget and often in widget parameters or even html.

Another form of variable is the macro defined with 
\define macroname(optional parameters) values parameters variable and widgets 
on one line
Or
\define macroname(optional parameters) 
values parameters variable and widgets on multiple lines
\end

Never leave \defines empty or you get strange results.

A variable or macro defined can be used anywhere in a tiddler or widget where 
it is defined or globaly when in a tiddler tagged for macros.

Widgets most often introduce the kind of functions or processes you may have 
used javascript for (but cant), however they are also aware of tiddlywiki 
specific features, and will refresh based on changes elsewhere in your wiki 
automatically. Update or tag one tiddler anywhere and it will update all 
tiddlers and widgets that are currently displaying something with the change 
you just made.

Widgets form the processing heart of tiddlywiki. 

But then there is more... Look into text references and transclusions to access 
information from throughout your wiki and include it in tiddlers, wikitext, 
widgets, macros.

Everyone of these things tiddlers, references, links, transclusions, wikitext, 
widgets, macros can be inside each other and many levels deep. All you need to 
avoid is biting your own tail, including something inside itself such as you 
get a transclusion error or infinite loop.

I hope this helps, because it would have helped me at the beginning.

Regards
Tony



Posted from a mobile without code highlighting, I will edit in the forum post.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/30fae92a-43b4-4fb6-b1bc-750c39bb0acd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to