From 1d848e2f51d0fa57b97383a3b38fcea252150285 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 2 Dec 2014 15:29:17 +0000 Subject: [PATCH] Add parameter docs for tabbed toc macro --- .../TableOfContentsMacro Tabbed Example.tid | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Tabbed Example.tid b/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Tabbed Example.tid index dad1ea333..2c2082920 100644 --- a/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Tabbed Example.tid +++ b/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Tabbed Example.tid @@ -6,6 +6,14 @@ tags: table-of-contents-example The tabbed table of contents macro renders a selective expandable table of contents with an attached panel that displays the currently selected tiddler. +!!! Parameters + +|!Position |!Name |!Description |!Default | +|1st |tag |Tag to be used for constructing the table of contents | | +|2nd |sort |Optional sorting subfilter (eg `sort[title]`) | | +|3rd |selectedTiddler |Title of the tiddler containing the title of the currently displayed tiddler |"$:/temp/toc/selectedTiddler" | +|4th |unselectedText |Text to be displayed when no tiddler is selected | | + !!! Internal navigation This example shows how to construct a tabbed table of contents with internal navigation, so that clicking links in the displayed tiddler will replace the displayed tiddler.