mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 02:39:42 +00:00
29 lines
447 B
Plaintext
29 lines
447 B
Plaintext
|
title: ListWidget/WithExplicitTemplates
|
||
|
description: List widget with explicit templates
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
|
||
|
+
|
||
|
title: Output
|
||
|
|
||
|
\whitespace trim
|
||
|
|
||
|
\procedure test(filter)
|
||
|
<$list filter=<<filter>>>
|
||
|
<$list-template>
|
||
|
<$text text=<<currentTiddler>>/>
|
||
|
</$list-template>
|
||
|
<$list-empty>
|
||
|
None!
|
||
|
</$list-empty>
|
||
|
</$list>
|
||
|
\end
|
||
|
|
||
|
<<test "1 2 3">>
|
||
|
|
||
|
<<test "">>
|
||
|
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>123</p><p>None!</p>
|