30 lines
453 B
Plaintext
30 lines
453 B
Plaintext
title: ListWidget/WithJoinTemplate
|
|
description: List widget with join template and $list-empty
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
+
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
|
|
\procedure test(filter)
|
|
<$list filter=<<filter>>>
|
|
Item:<<currentTiddler>>
|
|
|
|
<$list-empty>
|
|
None!
|
|
</$list-empty>
|
|
|
|
<$list-join>,</$list-join>
|
|
</$list>
|
|
\end
|
|
|
|
<<test "1 2 3">>
|
|
|
|
<<test "">>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>Item:1,Item:2,Item:3</p><p>None!</p> |