Display the contents of the backlinks tab INSIDE a Tiddler

Just what the title says :wink:

<$list filter="[<currentTiddler>backlinks[]]">

<\$list>

Put this in a tiddler tagged with $:/tags/ViewTemplate

Or leave out the tag and just transclude the tiddler with {{||TiddlerTitle}}as needed

1 Like

Before I give you the code (@Brian_Radspinner already did), here is the fishing rod rather than the fish;

  • Install the link-to-tabs plugin
  • Open the info tabs, select backlinks tab
    • and click on the link icon
  • This opens $:/core/ui/TiddlerInfo/References which you can edit to see how it is already done.

If you want to do something in tiddlywiki first look to see if it is already in some form in tiddlywiki, then look at how its done.

However, it is a fact, that the Info dropdown is designed to act on the current tiddler you can just transclude the tiddler you found;

{{||$:/core/ui/TiddlerInfo/References}} note the || to ensure it acts on current tiddler.

I would avoid putting this into your tiddler, use a template to display and/or include it in a tiddler with the $:/tags/ViewTemplate tag and view Template mechanism.

  • Alternatively look into the “View Template BodyView” cascade.

Simply adding

{{||$:/core/ui/TiddlerInfo/References}}

has worked for me, thanks!

2 Likes

See Krystal wiki https://crazko.github.io/krystal/#Bi-directional%20links

This plugin $:/plugins/rmnvsl/krystal is also available in TW5 CPL Wiki — TiddlyWiki5 Plugin Library for TiddlyWiki Chinese Communities

source wikitext is krystal/references.tid at master · crazko/krystal · GitHub

1 Like