Just a silly "tTxt" template

27 views
Skip to first unread message

Charlie Veniot

unread,
May 9, 2022, 7:00:04 PM5/9/22
to TiddlyWiki
Definitely nothing revolutionary here, but in case it gives you ideas.

I often reuse tiddler titles, and I distinguish them by adding suffixes to the titles, with a unicode character separating the parts of the title.

First part of the title has what I like to display when doing transclusions.

The second part being the suffix which I do not want to show.

For example, I have a scenario in which I want to display the title of some tiddler, name of that tiddler being in a variable called "thisGuy".

```
{{{ [<thisGuy>] || tPt }}}
```

(Although I could setup this up with a macro, I prefer this syntax.  It is a mystery...)

The tPt (template Pretty title) tiddler:

```
<$text text={{{ [<currentTiddler>split[#️⃣]first[]] }}} />
```


Charlie Veniot

unread,
May 9, 2022, 7:24:58 PM5/9/22
to TiddlyWiki
ARG:  a silly "tPt" template !
Reply all
Reply to author
Forward
0 new messages