From 9c32e537726b39536b11eb7f53039db7bec3a8a9 Mon Sep 17 00:00:00 2001 From: pmario Date: Tue, 30 Jul 2024 11:14:26 +0200 Subject: [PATCH] add new-child core image --- core/images/new-child.tid | 12 ++++++++++++ core/wiki/macros/toc.tid | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 core/images/new-child.tid diff --git a/core/images/new-child.tid b/core/images/new-child.tid new file mode 100644 index 000000000..64cba12c5 --- /dev/null +++ b/core/images/new-child.tid @@ -0,0 +1,12 @@ +tags: $:/tags/Image +title: $:/core/images/new-child + +\parameters (size:"22pt") +> height=<>> + + + + + diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index 64a580506..b926aad77 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -49,14 +49,13 @@ The very first toc macro is _not_ reused. So it can be used as a simple referenc > <% if [<_mode>match[tocpMode]] %> <$action-sendmessage $message="tm-new-tiddler" $name=<> $value=<>/> - {{$:/wikilabs/images/new-child-alone}} + {{$:/core/images/new-child}} <% else %> <$action-sendmessage $message="tm-new-tiddler" $name=<> $value={{{[format:titlelist[]]}}}/> {{$:/core/images/new-here-button}} <% endif %> \end _newChild - <% if [match[yes]] %> <% if [<_mode>match[tagMode]] %> <$macrocall $name="_newChild" field="tags"/>