thank you for the <<version>> macro. My tw5 version is 5.1.22.

BTW, I cannot be successful into transforming the icon into an image link
to the tiddler of the displayed tip. Either the icon disappear, ot the
target of the link is not there or I have my coding directly written.

\define !tipDirect(tiddler)
<$tiddler tiddler="$tiddler$">
<aside class="tip-block"><div class="tip-icon"><a href="#$tiddler$"
alt="tiddler for this tip">{{$:/core/images/tip}}</a></div><$transclude
mode="block"/></aside></$tiddler>
\end

is nearly good but the link is not functional (once it opened tiddlers for
every word in the title of the tip). More simply I was thinking to code:

\define !tipDirect(tiddler)
<$tiddler tiddler="$tiddler$">
<aside class="tip-block"><div
class="tip-icon">[[{{$:/core/images/tip}}|$tiddler]]</div><$transclude
mode="block"/></aside></$tiddler>
\end

but the icons is not displayed here.

I also tried

\define !tipDirect(tiddler)
<$tiddler tiddler="$tiddler$">
<aside class="tip-block"><div
class="tip-icon">[[{{$:/core/images/tip}}\{{!!title}}]]</div><$transclude
mode="block"/></aside></$tiddler>
\end

but the link is to "{{!!title}}" and of coure there is no more image.

-- 
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/CADGOhxO_FRZmucHdZ6SfiGJBzx49ptKtyQyXoGYM3SvnsGK%2BLg%40mail.gmail.com.

Reply via email to