Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.

Tiddler Slices

TiddlyWiki Community Wiki

Jump to: navigation, search
This page is still incomplete. You can help by contributing to its expansion.
Please improve the article, or discuss the issue on the talk page.

TiddlerSlicing is a special notation to pull out a chunk of specially-marked text from within a tiddler.

Each slice is a line consisting of a name-and-value pair, which can be specified anywhere within a tiddler, in any of these formats:

theName: textSlice
|theName:| textSlice |
|theName| textSlice |

The name may contain any of the characters a-z, A-Z, _ and 0-9. It may also be formatted using Wiki Markup (bold and/or italic), which is ignored when retrieving the data.

TiddlerSlicing does not work everywhere; at this point, it is mainly intended to support the ColorPalette and similar usages.

[edit] Retrieval

There are two basic way to retrieve tiddler slices:

  • using the [[Tiddler::Slice]] notation (only works in tiddlers evaluated by TiddlyWiki, e.g. PageTemplate)
  • using the tiddler macro: <<tiddler [[tiddlerName::sliceName]]>>

[edit] Example

|''theName:''| textSlice |

Slices can then be referenced by qualifying the parent tiddler name with the symbols :: and the name of the slice:

theTiddler::theName

[edit] See Also

Personal tools