mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Sort out the docs for the tabs macro
This commit is contained in:
parent
a45f64e738
commit
0013f3a31c
22
editions/tw5.com/tiddlers/macros/TabsMacro.tid
Normal file
22
editions/tw5.com/tiddlers/macros/TabsMacro.tid
Normal file
@ -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:
|
||||
|
||||
<<tabs "Docs WikiText Features RoadMap" "WikiText" 1>>
|
||||
|
||||
<<tabs "[tag[tips]]" "GoogleChromeTips" 2>>
|
||||
|
@ -1,8 +0,0 @@
|
||||
title: TabsExample
|
||||
tags: samples
|
||||
|
||||
Here is an example of the tabs macro:
|
||||
|
||||
<<tabs "Docs WikiText Features RoadMap" "WikiText" 1>>
|
||||
|
||||
<<tabs "[tag[tips]]" "GoogleChromeTips" 2>>
|
Loading…
Reference in New Issue
Block a user