I don't know if I understand you. When you click in a link you got the tiddler or the empty template of tiddler, that Mario has shown you.
I think that an alternative for it to work with the links, you would have to use the LinkCatcherWidget <https://tiddlywiki.com/static/LinkCatcherWidget.html> but I don't have much idea how it works. Maybe it doesn't work. El sábado, 1 de mayo de 2021 a las 15:37:39 UTC+2, [email protected] escribió: > Alternatively, you could add a new button to the tiddler "ViewToolbar" > that, when clicked after save of your tiddler, finds all links in the text > of the tiddler that are links to tiddlers that do not yet exist, and then > creates each one of those tiddlers with default values. Assuming every > single new tiddler you ever create gets the same defaults. > > If different tiddlers get different defaults, then you would want the > links to have something in the tiddler titles to say what kind of tiddlers > they are. > > For example: > > - [[John Doe s]] to indicate student > - [[John Doe t]] to indicate teacher > - [[Physics 101 c]] to indicate class > - [[D232 cr]] to indicate class room > > So the button goes through each link in the tiddler, determines whether or > not the tiddler related to the link exists. If the link is to a tiddler > that does not exist, then get the last part of the tiddler title to > determine tiddler "type", and create that tiddler with all of the default > values for that type. > > On Saturday, May 1, 2021 at 10:28:23 AM UTC-3 Charlie Veniot wrote: > >> G'day Jax, >> >> Transclusion and transclusion templates might be your friend here. >> >> Instead of typing into a tiddler links [[like this]], type them in {{ >> like this || *setAsType* }}. >> >> Setup *setAsType* so that if the transcluded tiddler does not exist, the >> result: place a button to create that tiddler (*Tip*: Set class to >> tc-btn-invisible tc-tiddlylink to have a button look like an internal link) >> with whatever default values, and then open that tiddler. If the tiddler >> does exist, then never mind the button and instead show a simple link to >> the tiddler. >> >> You could then have all sorts of tiddler templates to create tiddlers >> with default content. setAsStudent, setAsTeacher, setAsClass, >> setAsClassRoom ... >> >> If access to backlinks is an issue, then consider Just a neat use of >> Relinks "References" feature >> <https://groups.google.com/g/tiddlywiki/c/gZP2x2eoYQo/m/yd0wsNx5AQAJ> as >> an alternative way to get backlinks. >> >> >> On Thursday, April 29, 2021 at 2:12:46 PM UTC-3 [email protected] >> wrote: >> >>> Hello. >>> >>> Thanks to posts in this group I have been able to create new buttons >>> that are used to create various custom Tiddlers. These are simple and work >>> very well, however I would like to take this one stage further. >>> >>> The vast majority of my new Tiddlers are created via standard square >>> bracket links in text that are added on the fly and then clicked to create >>> the new Tiddler. >>> >>> What I want is for those new Tiddlers that are created by clicking on >>> links in text, to be created with some text already in them. I'm not >>> worried about adding tags at this stage. >>> >>> Is there a system default Tiddler (or some other mechanism) that I can >>> edit or create so that ALL Tiddlers created when clicking on a text link >>> will have my default text in them? >>> >>> Many thanks for your time >>> >>> Jax >>> >>> >>> -- 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/ed7d5464-31f2-4dba-a2d9-5d64499f951bn%40googlegroups.com.

