How to quickly navigate to a transcluded tiddler?

Give this a try:

First, create a tiddler (e.g., “EditLink”), containing:

<$button class="tc-btn-invisible" style="float:right;"
   message="tm-edit-tiddler" param=<<currentTiddler>>
   tooltip={{{ [[edit "]addsuffix<currentTiddler>addsuffix["]] }}}>
   {{$:/core/images/edit-button}}
</$button>
<$transclude mode="block"/>

This tiddler can be used as a “template” that transcludes a tiddler and automatically adds an edit button displayed in the upper right, like this:

{{HelloThere||EditLink}}

Note:

  • When viewing the “EditLink” tiddler, it will display a red error message:
    Recursive transclusion error in transclude widget
    This is caused by the <$transclude mode="block"/> widget and can be safely ignored as the message will only appear when directly viewing the “EditLink” tiddler itself.

enjoy,
-e

3 Likes