Hi folks,
How do I combine showing a link to tiddler as popup with setting up a function where I can do the same for multiple links.
I have several tiddlers that have word definitions.
Each tiddler has word as title and definition as text.
Ineffable
Too great or extreme to be expressed in words.
Ephemeral
Lasting for a very short time;] transient.
Serendipity
The occurrence of events by chance in a happy or beneficial way.
Labyrinth
A complicated irregular network of passages or paths; a maze.
Quintessential
Representing the most perfect or typical example of something.
Euphoria
A feeling or state of intense excitement and happiness.
Now I want to manually (need specific order for my use case) collect all the headwords in a separate tiddler and show the definition text as a popup (or hover)
Following the documentation I can do <$reveal> with <$button> using class=tc-btn-invisible tc-tiddlylink . Do I have to do this for each link?
Are any of those close to what you were looking for?
To control the order, you can do it in the list field of the Def tiddler, if you want this order to be used everywhere. But if you want to order them in place where youâre using them, you can just replace [tag[Def]] with the ordered list of values:
This adds a help button that looks like this<<HelpButton demo>>
This adds a help button that looks like this<>
This adds a help button that looks like this<<HelpButton demo2 'why?'>>
This adds a help button that looks like this<<HelpButton demo2 âwhy?â>>
Contents of the demo field: {{!!demo}} This is the demo help.
Contents of the demo2 field: {{!!demo2}} This is a demo with a custom button.
You make a field for each label that contains the help information. This can have html and simple wikitext. Since it is a field linebreaks need to be added using html <br> tags.