add WidgetVariable documentation

This commit is contained in:
Eucaly
2014-10-02 23:02:48 +08:00
parent 459133cc57
commit d9ccac21d0
6 changed files with 107 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
created: 20141002141231992
modified: 20141002144153170
tags: WikiText
title: Variables in WikiText
type: text/vnd.tiddlywiki
caption: Hard Linebreaks
! 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 with:
* Variable substitution `$(name)$`
* Concise shortcut `<<name>>`
* [[Filter expression|Introduction to Filters]] `[operator<variable-operand>]`
Built-in [[variables|Variables]] are useful for dynamic WikiText.