From 0013f3a31cca9cbe93afc150f8d41f7a41d129e5 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 21 Nov 2013 17:32:24 +0000 Subject: [PATCH] Sort out the docs for the tabs macro --- .../tw5.com/tiddlers/macros/TabsMacro.tid | 22 +++++++++++++++++++ .../tw5.com/tiddlers/samples/TabsExample.tid | 8 ------- 2 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 editions/tw5.com/tiddlers/macros/TabsMacro.tid delete mode 100644 editions/tw5.com/tiddlers/samples/TabsExample.tid diff --git a/editions/tw5.com/tiddlers/macros/TabsMacro.tid b/editions/tw5.com/tiddlers/macros/TabsMacro.tid new file mode 100644 index 000000000..a44ca1a75 --- /dev/null +++ b/editions/tw5.com/tiddlers/macros/TabsMacro.tid @@ -0,0 +1,22 @@ +title: TabsMacro +modified: 201311211345 +modifier: JeremyRuston +tags: macros + +The tabs macro displays a list of tiddlers as a tab control. The user can switch between tabs by clicking on them. By default, the tabs are labelled with the title of the corresponding tiddler. Alternatively, if a `caption` field is specified then it is used instead. + +! Parameters + +|!Position |!Name |!Description |!Default | +|1st |tabsList |Filter giving the tiddlers to be displayed | | +|2nd |default |Name of the tiddler containing the default tab | | +|3rd |state |String to distinguish multiple tabs within the same tiddler |''$:/state/tab'' | + +! Examples + +Here is an example of the tabs macro: + +<> + +<> + diff --git a/editions/tw5.com/tiddlers/samples/TabsExample.tid b/editions/tw5.com/tiddlers/samples/TabsExample.tid deleted file mode 100644 index 3f80420ef..000000000 --- a/editions/tw5.com/tiddlers/samples/TabsExample.tid +++ /dev/null @@ -1,8 +0,0 @@ -title: TabsExample -tags: samples - -Here is an example of the tabs macro: - -<> - -<>