This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Widgets in WikiText

 13th May 2022 at 11:33am

Widgets provide rich functionality within WikiText. They have the same syntax as HTML elements, but the tag name always starts with $. For example:

<$button message="tm-navigate" to="HelloThere">Open ~HelloThere</$button>

Note that widgets inherit all the features of HTML in WikiText:

  • Widget attributes can be specified as:
    • Unquoted strings (that cannot contain spaces)
    • Strings quoted with single or double quotes
    • Strings quoted with triple-double quotes
    • Macro invocations (eg attr=<<myMacro>>)
    • Transclusions (eg, attr={{MyTiddler!!field}})
    • Filtered transclusions (eg, attr={{{ [filter[op]] }}})
    • New in v5.3.0 Substituted Attribute Values
  • The content of a widget is parsed in inline mode unless the opening tag is followed by two linebreaks, which forces block mode

See HTML in WikiText for more details.

The available widgets include: