[tw5] Re: Dynamic class

2022-01-23 Thread Thomas Schnetzer
Many thanks this works! Eric Shulman schrieb am Sonntag, 23. Januar 2022 um 10:41:15 UTC+1: > Remove the quotes around `"""<>"""`. Like this: > ``` > <$macrocall $name="tabs" tabsList="""[tag[$tName$]nsort[order]]""" > class=<> /> > > <$macrocall $name="testFunction" alignmentTabs=<> > tName=

[tw5] Re: Dynamic class

2022-01-23 Thread Eric Shulman
Remove the quotes around `"""<>"""`. Like this: ``` <$macrocall $name="tabs" tabsList="""[tag[$tName$]nsort[order]]""" class=<> /> <$macrocall $name="testFunction" alignmentTabs=<> tName="""$tName$""" /> ``` On Sunday, January 23, 2022 at 1:29:55 AM UTC-8 thomas.sch...@gmail.com wrote: > Hel

[tw5] Re: Dynamic class

2022-01-23 Thread Thomas Schnetzer
Hello Marc I tested this only the last Test shows the Tabs Vertical Thanks for your help. ``` \define testFunction(alignmentTabs:"", tName:"" ) Second Test: <>,$alignmentTabs$ <$macrocall $name="tabs" tabsList="[tag[$tName$]nsort[order]]" class="""$alignmentTabs$""" /> \end \define dynamicTabs

[tw5] Re: Dynamic class

2022-01-22 Thread 'Mark S.' via TiddlyWiki
``` We need to see more of your code. Syntax like $something$ only works inside a macro. So what are the parameters of the macro? And how is the macro called? Likewise, a notation like <> represents a macro or variable, which has to be defined. If you have such a variable, how is it defined?