version
parameter in different places in the wiki depending on how much of this syntax you have learned by the section it appears in. Currently you are viewing this tiddler without any such parameter, and you may not be seeing all of the content in it.]
Available in wikitext, attribute values, and filter expressions
The following types of references work within wikitext, as the values of HTML or widget attributes, and within filter expressions. In filter expressions, you use only one of each type of bracket. In wikitext and attribute values, you use two.
[[square brackets]]
- To link or refer to the title of a tiddler.
<<angle brackets>>
- To get the value of a variable or call a procedure.
{{curly braces}}
- To transclude the value of a field of a tiddler.
{{tiddler}}
to transclude thetext
field of a tiddler{{tiddler!!field}}
to transclude a different field of a tiddler{{!!field}}
to transclude a field of the current tiddler{{tiddler||Template}}
to transclude a tiddler through a template{{||Template}}
to transclude the current tiddler through a template{{tiddler|param1|param2|...}}
to transclude a tiddler with parameters (optionally with either!!
or||
syntax before the first|
to transclude an arbitrary field or perform a template transclusion, respectively)
Available only within wikitext and attribute values
{{{ triple curly braces }}}
- To select one or more tiddlers using a filter, then transclude them. You can think of this as the “super” or “extra powerful” version of normal double-brace transclusion, since it has one extra brace.
This form is not available inside another filter expression; if you need to nest filter expressions this way, store the results of the inner filter expression in a variable and then transclude the value of that variable into the outer filter expression.
Available only within attribute values
Backticks can be used to combine constant text and variables and/or the results of filter expressions into a single attribute of a widget or HTML element.
<$widget attribute=
`text with a $(variable)$ in it`/>- To combine constant text and one or more variables (in
$(these thingies)$
) into the value of an attribute <$widget attribute=
`text with a${ [[filter expression]] } in it
`/>- To combine constant text and the result of one or more filter expressions (in
${ these thingies }$
into the value of an attribute