mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-01 15:46:18 +00:00
8a8dcf8255
* add startCount to unusedtitle macro, new tests, new docs * rename test files * update .from-version in docs
28 lines
721 B
Plaintext
28 lines
721 B
Plaintext
title: Macros/unusedtitle/basic-params
|
|
description: test <<unusedtitle>> with basic macro parameters
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
<<unusedtitle>>
|
|
|
|
<!-- EDGECASE: separator is ignored if tiddler title does not exist -->
|
|
<<unusedtitle separator:"-">>
|
|
|
|
<<unusedtitle baseName:"anotherBase">>
|
|
|
|
<<unusedtitle baseName:"About" separator:"-">>
|
|
|
|
<!-- v5.3.6 startCount -->
|
|
|
|
<<unusedtitle startCount:"3">>
|
|
|
|
<<unusedtitle startCount:"-1" baseName:"invalid start">>
|
|
|
|
<<unusedtitle startCount:"aaa" baseName:"invalid count">>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>New Tiddler</p><p>New Tiddler</p><p>anotherBase</p><p>About</p><p>New Tiddler 3</p><p>invalid start</p><p>invalid count</p> |