이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

unusedtitle Macro (Examples 1)

2024년 1월 19일 오후 3:16
<<unusedtitle template:"$count:2$-new">>

<<unusedtitle baseName:"new" template:"$count:2$-$basename$">>

<<unusedtitle baseName:"new" separator:"-" template:"$count:2$$separator$$basename$">>

<<unusedtitle startCount:"10" baseName:"new" separator:"-" template:"$count:2$$separator$$basename$">>


Show the code
\define testCreate()
<$action-createtiddler $basetitle=<<unusedtitle template:"$count:2$-new">>/>
\end

\define testCreate1()
<$action-createtiddler $basetitle=<<unusedtitle baseName:"new" separator:"-" template:"$count:2$$separator$$basename$">>/>
\end

\define testNew()
<$action-sendmessage $message="tm-new-tiddler" title=<<unusedtitle baseName:"new" template:"$count:2$-$basename$">> />
\end

\define testStartCount()
<$action-createtiddler $basetitle=<<unusedtitle startCount:"10" baseName:"new" separator:"-" template:"$count:2$$separator$$basename$">>/>
\end

```
<<unusedtitle template:"$count:2$-new">>
```

<$button actions=<<testCreate>> >
<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" text="$:/core/ui/SideBar/Recent"/>
Create Tiddler
</$button>

```
<<unusedtitle baseName:"new" template:"$count:2$-$basename$">>
```

<$button actions=<<testNew>>>
<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" text="$:/core/ui/SideBar/Recent"/>
New Tiddler
</$button>

```
<<unusedtitle baseName:"new" separator:"-" template:"$count:2$$separator$$basename$">>
```

<$button actions=<<testCreate1>>>
<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" text="$:/core/ui/SideBar/Recent"/>
Create Tiddler
</$button>


```
<<unusedtitle startCount:"10" baseName:"new" separator:"-" template:"$count:2$$separator$$basename$">>
```

<$button actions=<<testStartCount>>>
<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" text="$:/core/ui/SideBar/Recent"/>
Create Tiddler
</$button>

---

<details>
    <summary>Show the code</summary>
    <pre><code><$view><pre><code>
</details>