diff --git a/editions/tw5.com/tiddlers/$__wikilabs_images_new-child-alone.tid b/editions/tw5.com/tiddlers/$__wikilabs_images_new-child-alone.tid deleted file mode 100644 index 403b68613..000000000 --- a/editions/tw5.com/tiddlers/$__wikilabs_images_new-child-alone.tid +++ /dev/null @@ -1,18 +0,0 @@ -created: 20170127140027445 -modified: 20240618144740558 -tags: -title: $:/wikilabs/images/new-child-alone -type: text/vnd.tiddlywiki - - - - - - - diff --git a/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField 1 b/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField 1 deleted file mode 100644 index fb6ea84ca..000000000 --- a/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField 1 +++ /dev/null @@ -1,18 +0,0 @@ -title: Description -text: Simple TOC - captionField parameter -+ -title: Narrative-extended - -* The "Fifth" tiddler has an alternative "caption-field" - -+ -title: Fifth -tags: Fourth -alt: alt-caption -text: 5th -+ -title: Output - -
-<> -
diff --git a/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField 1.meta b/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField 1.meta deleted file mode 100644 index b33755150..000000000 --- a/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField 1.meta +++ /dev/null @@ -1,7 +0,0 @@ -created: 20240724104351802 -description: asdf -import-compound: Examples/TOC/SimpleToc -modified: 20240724112711726 -tags: $:/tags/wiki-test-spec -title: Examples/TOC/SimpleToc/captionField 1 -type: text/vnd.tiddlywiki-multiple \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField.tid b/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField.tid index 7f93e51e5..4e419ac78 100644 --- a/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField.tid +++ b/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_captionField.tid @@ -1,20 +1,25 @@ created: 20240724082221230 -modified: 20240724100646572 -tags: +import-compound: Examples/TOC/SimpleToc +modified: 20240730081240127 +tags: $:/tags/wiki-test-spec title: Examples/TOC/SimpleToc/captionField -type: text/vnd.tiddlywiki +type: text/vnd.tiddlywiki-multiple -<$testcase testOutput="Output"> +title: Description +text: Simple TOC - captionField parameter ++ +title: Narrative-extended -<$data title="Description" text="Simple TOC - captionField parameter"/> +* The "Fifth" tiddler has an alternative "caption-field" -<$data title="Narrative-extended" text="""* The "Fifth" tiddler has an alternative "caption-field" """/> ++ +title: Fifth +tags: Fourth +alt: alt-caption +text: 5th ++ +title: Output -<$data $compound-tiddler="Examples/TOC/SimpleToc"/> - -<$data title="Fifth" tags="Fourth" text="5th" alt="alt-caption"/> - -<$data title="Output" text="""
+
<>
-"""/> diff --git a/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_parentField.tid b/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_parentField.tid new file mode 100644 index 000000000..5f4d60138 --- /dev/null +++ b/editions/tw5.com/tiddlers/Examples_TOC_SimpleToc_parentField.tid @@ -0,0 +1,52 @@ +created: 20240730081443212 +description: Simple TOC - parentField parameter +modified: 20240730090835300 +tags: $:/tags/wiki-test-spec +title: Examples/TOC/SimpleToc/parentField +type: text/vnd.tiddlywiki-multiple + +title: Narrative + +* The "Output" code defines a "Simple Table of Contents" using the ''parent'' field in child-tiddlers to connect to a parent-tiddler +* Click through all the tabs to get additional info + +<$transclude $tiddler="Narrative-extended" $mode="block"/> + ++ +title: root + +The parent-field in the ''child''-tiddlers are used to define the relation to the parent tiddler ++ +title: Child-1 +parent: root + +1st 1st 1st 1st 1st ++ +title: Child-2 +parent: root + +2nd 2nd 2nd 2nd 2nd ++ +title: Child-3 +parent: root + +3rd 3rd 3rd 3rd 3rd ++ +title: Child-2-1 +caption: 2-1 caption +parent: Child-2 + +This tiddler contains a caption, which will be shown in the TOC instead of the tiddler title ++ +title: Output + + +\define tv-toc-show-new-child() no + +
+<> +
+