2014-10-02 23:15:06 +00:00
|
|
|
caption: Variables
|
2014-10-02 15:02:48 +00:00
|
|
|
created: 20141002141231992
|
2014-10-02 23:15:06 +00:00
|
|
|
modified: 20141002230751664
|
2014-10-02 15:02:48 +00:00
|
|
|
tags: WikiText
|
|
|
|
title: Variables in WikiText
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
2014-10-02 23:15:06 +00:00
|
|
|
! Defining Variables
|
2014-10-02 15:02:48 +00:00
|
|
|
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
|
|
|
|
|
2014-10-02 23:15:06 +00:00
|
|
|
Variables are used in:
|
2014-10-02 15:02:48 +00:00
|
|
|
|
|
|
|
* Variable substitution `$(name)$`
|
|
|
|
* Concise shortcut `<<name>>`
|
|
|
|
* [[Filter expression|Introduction to Filters]] `[operator<variable-operand>]`
|
2014-10-02 23:15:06 +00:00
|
|
|
* Some default behaviors of [[Widgets]]
|
2014-10-02 15:02:48 +00:00
|
|
|
|
2014-10-02 23:15:06 +00:00
|
|
|
See also [[currentTiddler|WidgetVariable: currentTiddler]] variable and built-in [[variables|Variables]].
|