Try transcluding like this:
<$transclude mode=block tiddler="look at that tip"/>
On Tuesday, April 7, 2020 at 3:39:41 PM UTC-7, Jean-Pierre Rivière wrote:
>
> Hi!
>
> I'm using tiddlywiki v5.1.21 to produce some rulsets. I'd like to have
> some special kind of tiddlers for tips and warning.
>
> Basically, I was thingking of a simple transclusion like:
>
> {{look at that tip}}
>
> which doe the trick, but you cannot see it's a tip. So I thought doing
> that:
>
> <aside>
> {{look at that tip}}
> </aside>
>
> (with a few css in the bargain). BUT the tranclusion in that xase is
> incomplete: the transcluded tiddler has not any paragraph (code <p>...</p>)
> even though is was coded so as to to have several ones. Which means it is
> useless. Even a simple <div> has the same failure.
>
> I've tried looking for transclusion in this group. I notably saw tw5
> magick trick for "full-enhanced"
> http://tw5magick.tiddlyspot.com/#Another%20TOC%20example but then I got
> an error: 'Recursive transclusion error in transclude widget'. My code is
> below:
>
> ! <span title="Edit section"><$button message="tw-edit-tiddler"
> param={{!!title}} class="btn-invisible"><$view
> field="title"/></$button></span>
> <$transclude/>
>
> (a direct paste of the original, in a tiddler named "full-enhanced").
>
> I also poke at
> https://groups.google.com/forum/#!topic/TiddlyWiki/rsoiC7DdnsE which has
> some nice TOC tricks but far above my level of understanding.
>
>
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/dd5ce6bb-16d7-425b-8772-8fbe3a54cd75%40googlegroups.com.