A widget is markup text that, if you're familiar with HTML, works identical 
to that of an HTML tag. Except that the widget has special TW powers. It's 
form looks like this:

<$thingy atrribute1=abc attribute2=xyz >Sometimes stuff goes here</$thingy>

If you had a widget invoked as <$thingy> then it would be referenced as 
ThingyWidget in the TW documentation. This is good to know when looking up 
documentation.

Widgets perform most of the heavy lifting in TW, including listing 
tiddlers, creating tiddlers, renaming fields, exposing tiddler contents, 
running macros.

Be careful not to confuse Widgets with WikiText (reference to WikiText). 
WikiText is a special markup that secretly, behind the scenes, is actually 
creating and invoking Widgets. For
instance, this wikitext for transcluding a tiddler:

{{myTiddler}}

is actually wikitext shorthand for

<$transclude tiddler="myTiddler"/>

It's important to keep the concepts of WikiText and Widgets separate in 
your thinking. WikiText can be used inside of Widgets, but Widgets can not 
be used inside of WikiText.

That is, you can do this:

<$transclude tiddler=<<mymacro>>/>

but you can not do this

{{<$transclude tiddler="mytiddler"/>}}

.....
.

On Monday, January 7, 2019 at 2:42:34 AM UTC-8, S. S. wrote:

> TonyM - thanks for getting it started!
>
> *The question asked was:* *can you please give me a simpler explanation 
> of what is meant by "a Widget"?*
>
> I was hoping this would be an easy question to answer for experienced 
> users. 
>
> This is what I have so far ...
>
> Widgets form the processing heart of TiddlyWiki.
>
> Widgets can be considered TiddlyWiki's personalized extension of HTML, to 
> perform tasks specific to the needs of TiddlyWiki's user's needs and 
> experience.
>
> They are used for tasks such as to:
>
>    -     create variables and complex short cuts (macros)
>    -     create buttons, check-boxes, and radio buttons
>    -     create, delete, modify, open & close tiddlers
>    -     edit text and images
>    -     display and manipulate your material (such as text, images, 
>    videos)
>    -     display and move to specific areas
>    -     ??
>    -     and much much more
>
> ...
>
>
> a little help would be appreciated !
>
>
> Thanks
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/18079b5a-0ead-4b6a-9124-952dd45e06bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to