On Tuesday, August 27, 2019 at 1:30:17 PM UTC-7, Cade Roux wrote:
>
> Where I want tiddlers to be transcluded if they exist and a button to
> create the tiddler if they don't exist in my table.
>
try this:
\define btn(title)
<$button class="tc-btn-invisible tc-tiddlylink">
<$action-createtiddler $basetitle="$title$" />
Create Tiddler: $title$
</$button>
\end
\define conditionaltiddler(title)
<$list filter="[$title$]" emptyMessage=<<btn>>>{{$title$}}</$list>
\end
enjoy,
-e
Eric Shulman
TiddlyTools: "Small Tools for Big Ideas!" (tm) http://tiddlytools.github.io
(TWClassic)
InsideTiddlyWiki: The Missing Manuals
--
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/29f6ceba-b75a-497d-845b-ae864080f19a%40googlegroups.com.