Thanks for the suggestion Tobias, unfortunately it doesn't work. What
you end up with instead of a table of four columns with empty cells on
either end, is a table of one column, with single two-celled columns
within each cell.
Any other ideas? e.g is there some way to attach a "backspace" to the
end of the <<tiddler TiddlerName>>(here) to get rid of the added
linebreak?
I would play around with {{{ get.something }}} (I'd have to search
longer to look up how people use them - the curly brackets don't seem
to show up in searches :-( ) to get the content of the tiddler with
the "mini" table I want to build with, but I need to use the <<tiddler
TiddlerName with: "foo" "bar">> to make this work and I'm not aware of
any way to do that with that other method.
Dave
On Feb 9, 2:10 am, Tobias Beer <[email protected]> wrote:
> Hi Dave,
>
> If I remember right, the output of a tiddler-macro-call is trailed by
> a linebreak, which is how I'd guess the table syntax fails. You might
> try to wrap each tiddler-macro-call in an outer table row, like so...
>
> out += "|<<tiddler [[TiddlerName]]\>\>|\n";
>
> You would then have to use css to get rid of excessive borders,
> paddings and margins.
>
> Tobias.
>
> On 9 Feb., 06:31, Dave Parker <[email protected]> wrote:
>
> > Good evening...
>
> > If I use this script:
>
> > <script>
> > var out = "" ;
> > for (var i=1; i<7; ++i)
> > {
> > out += "|a|b|\n" ;}
>
> > return out ;
> > </script>
>
> > I get a 6 row table of 2 columns.
>
> > But if I use this:
>
> > <script>
> > var out = "" ;
> > for (var i=1; i<7; ++i)
> > {
> > out += "<<tiddler [[TiddlerName]]\>\>\n" ;}
>
> > return out ;
> > </script>
> > referring to a tiddler "TiddlerName" that has
> > |a|b|
> > in it,
>
> > I get 6 separate two-cell tables. I need to make the tables using the
> > <<tiddler TiddlerName>> method. Can anyone tell me why this is
> > happening and how to correct it?
>
> > Thanks,
> > Dave P
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.