Hi wolfsong On Thursday, May 12, 2016 at 10:27:18 PM UTC+2, wolfsong wrote: > > After looking through the forum a bit I think I need something that's a > close to this > <https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/tabs$20template/tiddlywiki/KCu4GqZiH94/Lj0MIgr_IgAJ> > where > I have a template for a tabbed document that separates each section into > it's own tiddler. I'm just not certain how to pass the name of to the > sections and do this as a template. I have a macro that sorta works in that > it creates the tabs when called > > \define monitoringtabs(<<currentTiddler>>) > <<tabs tabsList:"[[Description]] [[Devices]] [[Frequency]] [[Script > Name]] [[Monitoring Criteria]] [[Alert Trigger Criteria]] [[Immediate > Reaction Steps]]" class:"tc-vertical">> > \end > > What I'd like the template to actually do is call the macro and create the > tabs but with the naming convention of Parent Title: Description, Parent > Title: Frequency, etc. but only show the suffix for each of the tabs. Is > that possible? >
In spite of your obvious efforts to make the questions very clear, it's a bit vague to me (what is "a tabbed document" - do you mean a tabbed tiddler? And I certainly don't understand "use a template to pull in tiddlers") ...but I think I got at least a few things. So FWIW; For getting a tab to show something else than the title of the tiddler it is showing, you use a caption field in the tiddler. To get vertical tabs, I'm guessing (based on docs, didn't try) that you just put class="tc-vertical" inside the tabs macro, perhaps at extreme right. In your macro def, I don't think you should include the currentTddler macro call as an argument. Try to just leav the parameter list empty i.e () and just make the call inside the actual macro where you need it. However, it doesn't look like you're using it so... just skip it. Hope this is of at least some help. But keep on asking for the other stuff. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/40341846-5ac2-40b7-ab62-a924ef9729d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

