mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-02 04:27:00 +00:00
add WidgetVariable documentation
This commit is contained in:
27
editions/tw5.com/tiddlers/wikitext/Variables in WikiText.tid
Normal file
27
editions/tw5.com/tiddlers/wikitext/Variables in WikiText.tid
Normal 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.
|
||||
Reference in New Issue
Block a user