mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 02:39:42 +00:00
25 lines
544 B
Plaintext
25 lines
544 B
Plaintext
|
title: ListWidget/WithLimit
|
||
|
description: List widget with limit
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
|
||
|
+
|
||
|
title: Output
|
||
|
|
||
|
Zero: <$list filter="1 2 3 4" limit="0" template="Template"/>
|
||
|
|
||
|
One: <$list filter="1 2 3 4" limit="1" template="Template"/>
|
||
|
|
||
|
Two: <$list filter="1 2 3 4" limit="2" template="Template"/>
|
||
|
|
||
|
Minus Two: <$list filter="1 2 3 4" limit="-2" template="Template"/>
|
||
|
|
||
|
+
|
||
|
title: Template
|
||
|
|
||
|
<$text text=<<currentTiddler>>/>
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>Zero: </p><p>One: 1</p><p>Two: 12</p><p>Minus Two: 34
|
||
|
</p>
|