caption: Variables
created: 20141002141231992
modified: 20141018104313995
tags: WikiText
title: Variables in WikiText
type: text/vnd.tiddlywiki

! Defining Variables
Variables contains values defined by [[Widgets]].
Variables are available within the widget that defines them, and the child widgets in the widget tree.

Variables are defined by:

* TiddlyWiki core and viewtemplate
* SetWidget
* ListWidget
* [[Macro definition|Macros in WikiText]]

! Using Variables

Variables are used in:

* Variable substitution `$(name)$`
* Concise shortcut  `<<name>>`
* [[Filter expression|Introduction to Filters]] `[operator<variable-operand>]`
* Some default behaviors of [[Widgets]]

See also [[currentTiddler|WidgetVariable: currentTiddler]] variable, built-in [[variables|Variables]] and [[Confusion between Transclusion and Substitution]].
