mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-18 12:00:02 +00:00
add new-child core image
This commit is contained in:
parent
0b8d3e6d3b
commit
9c32e53772
12
core/images/new-child.tid
Normal file
12
core/images/new-child.tid
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
tags: $:/tags/Image
|
||||||
|
title: $:/core/images/new-child
|
||||||
|
|
||||||
|
\parameters (size:"22pt")
|
||||||
|
<svg class="tc-image-edit-button tc-image-button" viewBox="0 0 128 128" width=<<size>> height=<<size>>>
|
||||||
|
<path d="M6.9 27.9a6.72 6.96 0 1 0 0 13.9h41a6.72 6.96 0 1 0 0-13.9z"
|
||||||
|
transform="translate(13.6 62.5)" />
|
||||||
|
<path d="M27.3 4.57a6.72 6.96 0 0 0-6.64 7.05v46.5a6.72 6.96 0 1 0 13.4 0v-46.5a6.72 6.96 0 0 0-6.81-7.05z"
|
||||||
|
transform="translate(13.6 62.5)" />
|
||||||
|
<path d="M60.5 58.1c-3.75-.055-6.82 3.08-6.82 6.96s3.07 7.01 6.82 6.96h46.1c3.75.055 6.82-3.08 6.82-6.96s-3.07-7.01-6.82-6.96zM20.5 28.4c-3.75-.055-6.82 3.08-6.82 6.96s3.07 7.01 6.82 6.96h86.1c3.75.055 6.82-3.08 6.82-6.96s-3.07-7.01-6.82-6.96z"/>
|
||||||
|
</svg>
|
||||||
|
|
@ -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]] %>
|
<% if [<_mode>match[tocpMode]] %>
|
||||||
<$action-sendmessage $message="tm-new-tiddler" $name=<<field>> $value=<<currentTiddler>>/>
|
<$action-sendmessage $message="tm-new-tiddler" $name=<<field>> $value=<<currentTiddler>>/>
|
||||||
{{$:/wikilabs/images/new-child-alone}}
|
{{$:/core/images/new-child}}
|
||||||
<% else %>
|
<% else %>
|
||||||
<$action-sendmessage $message="tm-new-tiddler" $name=<<field>> $value={{{[<currentTiddler>format:titlelist[]]}}}/>
|
<$action-sendmessage $message="tm-new-tiddler" $name=<<field>> $value={{{[<currentTiddler>format:titlelist[]]}}}/>
|
||||||
{{$:/core/images/new-here-button}}
|
{{$:/core/images/new-here-button}}
|
||||||
<% endif %>
|
<% endif %>
|
||||||
</$button>
|
</$button>
|
||||||
\end _newChild
|
\end _newChild
|
||||||
|
|
||||||
<% if [<tv-toc-show-new-child>match[yes]] %>
|
<% if [<tv-toc-show-new-child>match[yes]] %>
|
||||||
<% if [<_mode>match[tagMode]] %>
|
<% if [<_mode>match[tagMode]] %>
|
||||||
<span class="tc-small-gap-left tc-toc-new-child-tag"><$macrocall $name="_newChild" field="tags"/></span>
|
<span class="tc-small-gap-left tc-toc-new-child-tag"><$macrocall $name="_newChild" field="tags"/></span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user