How can I add tabs inside a tiddler?

Skip to first unread message

Cooper Alishio

unread,
Sep 15, 2018, 10:20:36 PM9/15/18
to TiddlyWiki
In an attempt to organize/combine some of my tiddlers I want to add tabs inside individual tiddlers. 
I know how to use this macro:
<<tabs "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour" "SampleTabOne" "$:/state/tab1">>
But, I don't know where to go from here as far as adding information to the tabs: specifically adding information to one tab and not the other. Im very new to the whole tidily wiki website and coding, so what would be helpful is a chuck of code with words like "sample" in place of actual information, so that I can copy/paste it and add in the information later, similar to how someone could copy/paste the above code, and simply replace "sampletabone" with "biography".

Again, I know basically nothing about coding but I do want to use TiddlyWiki for note taking in school, so the most basic answers would be very helpful. Thank you

Eric Shulman

unread,
Sep 16, 2018, 12:15:07 AM9/16/18
to TiddlyWiki
On Saturday, September 15, 2018 at 7:20:36 PM UTC-7, Cooper Alishio wrote:
In an attempt to organize/combine some of my tiddlers I want to add tabs inside individual tiddlers. 
I know how to use this macro:
<<tabs "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour" "SampleTabOne" "$:/state/tab1">>
But, I don't know where to go from here as far as adding information to the tabs: specifically adding information to one tab and not the other.

You are very nearly there!

In your macro example above, the first parameter is a list of tiddler titles (i.e., "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour").  These tiddlers are used to hold the contents of each tab.  Just create four more tiddlers and enter your desired content there and they will appear in the individual tabs.

let me know how it goes...

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals

Mat

unread,
Sep 16, 2018, 12:13:31 PM9/16/18
to TiddlyWiki
In addition to what Eric said, I'd recommend using TabLinks for manipulating the tiddlers. It's a rather annoying experience otherwise. I actually updated it just the other day but didn't tell anyone...

<:-)
Reply all
Reply to author
Forward
0 new messages