G'day David,

I think I'm kind of simulating your process.

While editing a tiddler (say Tiddler A) and planning out content I'll 
eventuall transclude from some other at-the-moment non-existing tiddler 
(say Tiddler C), I'll enter in Tiddler A:

{{ Tiddler C | tAsDc }}.

tAsDc actually adds those two nice little icons (one of them being "open 
the transcluded tiddler".

If the tiddler doesn't exist, then clicking that wee button does the 
equivalent of pressing "+" (for a new tiddler), but with the tiddler name 
already there.  I love that kind of stuff. 

On Saturday, March 27, 2021 at 12:10:41 AM UTC-3 David Gifford wrote:

> Nice! 
> Very nice and clean.
>
> Just this week I started to use details as sections for articles. I use 
> simple transclusion of the details tiddler in the article tiddler, and with 
> a new button I create the details tiddler. Mine works when exporting 
> statics, something the DetailsWidget can't do, since widgets don't export 
> into static html, and I need to publish articles as static html.
>
> Here is my new button text (which also makes the summary use the tiddler 
> title):
>
> <$button class="tc-btn-invisible"><$action-sendmessage 
> $message="tm-new-tiddler" text="<details><summary><b><$view 
> field='title'/></b></summary><span>
>
> your text here
>
> </span></details>" />{{$:/core/images/new-button}}</$button>
>
> Obviously, your solution is more apt for most use cases. I am definitelty 
> going to experiment with it, and add it to the toolmap. Mine is 
> specifically for transcluding sections of a longer article, but as details 
> elements. Enjoy.
>
> On Friday, March 26, 2021 at 1:36:04 PM UTC-6 [email protected] wrote:
>
>> G'day,
>>
>> Me thinks this sample TiddlyWiki o' mine 
>> <https://tiddlywiki-programming.neocities.org/HowCharlieUsesDetailsWidget.html>
>>  
>> covers it all.
>>
>> Please, any questions or flubs that need fixing, get back to me here.
>>
>> Cheers !
>>
>

-- 
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/3a0edb4b-bfe9-4e44-a288-eb0b9e1636e2n%40googlegroups.com.

Reply via email to