Charlie;
This is a nice code pattern, thanks for sharing it with the community.
You may be interested in this advanced addition
- Let us say you wanted "HOUSEBAY Digital Alarm Clock" to be a system
tiddler, eg "$:/HOUSEBAY Digital Alarm Clock"
- Inside tFishyRef you could do this
<$set name=system-tiddler value={{{ [all[current]addprefix[$:/]] }}}>
<$tiddler tiddler=<<system-tiddler>>
your original tFishyRef here
</$tiddler>
But you still transclude it as such
{{HOUSEBAY Digital Alarm Clock||tFishyRef}}
Notes:
- This demonstrates how a template can do something more with the
current tiddler passed in the template
- You could use any prefix
- Rather than current tiddler you could pass a tag name and transclude
all tagged
- This opens a very extensible set of solutions, in addition to those
already enabled by your technique above.
Regards
Tony
On Saturday, 19 September 2020 at 12:09:10 UTC+10 Charlie Veniot wrote:
> G'day
>
> On occasion, I prefer to show the title of a tiddler without it showing as
> a tiddler link (just for consistent formatting that matches other text),
> but still want a link to that tiddler "right there". In those cases, I
> used to show the title of the tiddler as regular text followed by the link
> to the tiddler with alternate text (usually something low-key like a period.
>
> For example: {{Some Tiddler!!title}} [[.|Some Tiddler]]
>
> I just recently adopted a tweaked approach, based on a suggestion by
> Felicia Crow for something else (thank-you!!!), and using this little guy
> (which I've recently become kind of attached to because he is so frigging
> cute: 🐟
>
> Now, instead: {{Some Tiddler||tFishyRef}} (that winds up adding a
> superscript 🐟 tiddler link. )
>
> Please see screenshots below for the full monty.
>
> Cheers !
>
> [image: SuperscriptTiddlerFishyLink.png]
>
>
> [image: FishyLinkWikiText.png]
>
>
> [image: FishyLinkTemplate.png]
>
>
>
>
>
>
>
--
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/c142a450-964d-4a70-9604-e562c5e32166n%40googlegroups.com.