mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 15:29:56 +00:00
toc-macros - somehow a "dot" slipped in with a commit :/
This commit is contained in:
parent
0bedb46e8a
commit
d0c7d7e307
@ -419,4 +419,4 @@ it will open the tiddler in the view area of the same tiddler
|
|||||||
itemTemplate=<<itemTemplate>>
|
itemTemplate=<<itemTemplate>>
|
||||||
/>
|
/>
|
||||||
</$linkcatcher>
|
</$linkcatcher>
|
||||||
\end.
|
\end
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
list: [[Draft of 'test-contacts']] [[b b]]
|
list: test-parent-field-toc test-parent-include-CTLR-click test-tagLike-toc test-toc-expandable test-toc-filter-field test-toc-simple test-toc-simple-expandable-tabbed-internal test-toc-sorted-names [[Draft of 'test-toc-simple-expandable-tabbed-internal']]
|
||||||
title: $:/StoryList
|
title: $:/StoryList
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
6
editions/tw5.com/tiddlers/$__config_RelinkOnRename.tid
Normal file
6
editions/tw5.com/tiddlers/$__config_RelinkOnRename.tid
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208143409196
|
||||||
|
modified: 20240208152306199
|
||||||
|
title: $:/config/RelinkOnRename
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
no
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240206183310652
|
||||||
|
modified: 20240206183310652
|
||||||
|
title: $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
show
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208143425724
|
||||||
|
modified: 20240208143425724
|
||||||
|
title: $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
show
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208145502831
|
||||||
|
modified: 20240208145502831
|
||||||
|
title: $:/config/ViewToolbarButtons/Visibility/$:/wikilabs/ui/buttons/new-child-alone
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
hide
|
@ -0,0 +1,4 @@
|
|||||||
|
title: $:/config/flibbles/relink/fields/itemTemplate
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
title
|
@ -0,0 +1,4 @@
|
|||||||
|
title: $:/config/flibbles/relink/fields/template
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
title
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208144107546
|
||||||
|
modified: 20240208144107546
|
||||||
|
title: $:/config/flibbles/relink/fields/toc-filter
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
filter
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208144111433
|
||||||
|
modified: 20240208144111433
|
||||||
|
title: $:/config/flibbles/relink/fields/toc-hide
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
filter
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208144114412
|
||||||
|
modified: 20240208144114412
|
||||||
|
title: $:/config/flibbles/relink/fields/toc-include
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
filter
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145456033
|
||||||
|
modified: 20240208145539333
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-expandable/captionField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,4 @@
|
|||||||
|
title: $:/config/flibbles/relink/macros/toc-expandable/exclude
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
title
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145854017
|
||||||
|
modified: 20240208150233020
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-expandable/itemTemplate
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
title
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208150002827
|
||||||
|
modified: 20240208150007669
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-expandable/parentField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208150042296
|
||||||
|
modified: 20240208150047982
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-expandable/tagField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145540803
|
||||||
|
modified: 20240208145551288
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-selective-expandable/captionField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208151920733
|
||||||
|
modified: 20240208151932180
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-selective-expandable/exclude
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
filter
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145845922
|
||||||
|
modified: 20240208150229999
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-selective-expandable/itemTemplate
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
title
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145946082
|
||||||
|
modified: 20240208145949707
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-selective-expandable/parentField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208150035072
|
||||||
|
modified: 20240208150039393
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-selective-expandable/tagField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145637638
|
||||||
|
modified: 20240208145647410
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-external-nav/captionField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208152001606
|
||||||
|
modified: 20240208152011194
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-external-nav/exclude
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
filter
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145744241
|
||||||
|
modified: 20240208150226583
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-external-nav/itemTemplate
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
title
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145926532
|
||||||
|
modified: 20240208145931690
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-external-nav/parentField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208150020766
|
||||||
|
modified: 20240208150024437
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-external-nav/tagField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145622594
|
||||||
|
modified: 20240208145634199
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-internal-nav/captionField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208152014153
|
||||||
|
modified: 20240208152024927
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-internal-nav/exclude
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
filter
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145827896
|
||||||
|
modified: 20240208150221937
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-internal-nav/itemTemplate
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
title
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208145938422
|
||||||
|
modified: 20240208145942289
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-internal-nav/parentField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240208150027108
|
||||||
|
modified: 20240208150030622
|
||||||
|
tags:
|
||||||
|
title: $:/config/flibbles/relink/macros/toc-tabbed-internal-nav/tagField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208144354194
|
||||||
|
modified: 20240208144354194
|
||||||
|
title: $:/config/flibbles/relink/macros/toc/captionField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208151834121
|
||||||
|
modified: 20240208151834121
|
||||||
|
title: $:/config/flibbles/relink/macros/toc/exclude
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
filter
|
@ -0,0 +1,4 @@
|
|||||||
|
title: $:/config/flibbles/relink/macros/toc/itemTemplate
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
title
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208144444658
|
||||||
|
modified: 20240208144444658
|
||||||
|
title: $:/config/flibbles/relink/macros/toc/parentField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208144431520
|
||||||
|
modified: 20240208144431520
|
||||||
|
title: $:/config/flibbles/relink/macros/toc/tagField
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
fieldname
|
@ -0,0 +1,9 @@
|
|||||||
|
caption: Wikilabs Library (latest)
|
||||||
|
created: 20200605142858499
|
||||||
|
modified: 20200611162358611
|
||||||
|
tags: $:/tags/PluginLibrary
|
||||||
|
title: $:/config/wikilabs/PluginLibraryWL/latest
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
url: https://wikilabs.github.io/editions/pluginlibraryWL/library/latest/index.html
|
||||||
|
|
||||||
|
~WikiLabs plugin library latest version!
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240206220011467
|
||||||
|
modified: 20240206220011467
|
||||||
|
title: $:/config/wikilabs/tocP/newChild
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
<span class='wltc-btn-new-child tc-tiny-gap-left'>{{||$:/wikilabs/ui/buttons/new-child-alone}}</span>
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@
|
|||||||
|
author: Mario Pietsch
|
||||||
|
core-version: >=5.1.15
|
||||||
|
dependents:
|
||||||
|
description: Adds some powerfull search tools
|
||||||
|
list: readme license history
|
||||||
|
name: Advance Search Plus
|
||||||
|
plugin-type: plugin
|
||||||
|
title: $:/plugins/wikilabs/advanced-search-plus
|
||||||
|
type: application/json
|
||||||
|
version: 0.6.0
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,11 @@
|
|||||||
|
author: Mario Pietsch
|
||||||
|
core-version: >=5.3.3
|
||||||
|
dependents:
|
||||||
|
description: Internal links are added to tabs if selected
|
||||||
|
icon: $:/plugins/wikilabs/link-to-tabs/icon
|
||||||
|
list: readme settings license history
|
||||||
|
name: Link to Tabs
|
||||||
|
plugin-type: plugin
|
||||||
|
title: $:/plugins/wikilabs/link-to-tabs
|
||||||
|
type: application/json
|
||||||
|
version: 3.0.0
|
1
editions/tw5.com/tiddlers/$__plugins_wikilabs_tocP.json
Normal file
1
editions/tw5.com/tiddlers/$__plugins_wikilabs_tocP.json
Normal file
File diff suppressed because one or more lines are too long
10
editions/tw5.com/tiddlers/$__plugins_wikilabs_tocP.json.meta
Normal file
10
editions/tw5.com/tiddlers/$__plugins_wikilabs_tocP.json.meta
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
author: Mario Pietsch
|
||||||
|
core-version: >=5.2.1
|
||||||
|
dependents:
|
||||||
|
description: Parent Based - Table of Contents
|
||||||
|
list: readme license history
|
||||||
|
name: tocP
|
||||||
|
plugin-type: plugin
|
||||||
|
title: $:/plugins/wikilabs/tocP
|
||||||
|
type: application/json
|
||||||
|
version: 0.3.2
|
61
editions/tw5.com/tiddlers/$__search-flt_export+system.tid
Normal file
61
editions/tw5.com/tiddlers/$__search-flt_export+system.tid
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
caption: export+system
|
||||||
|
created: 20240208181107805
|
||||||
|
hint: {{$:/language/Search/Filter/Hint}}
|
||||||
|
icon: $:/plugins/wikilabs/advanced-search-plus/filter-search.svg
|
||||||
|
input-tiddler: $:/search-flt/inp/export+system
|
||||||
|
input-title: $:/search-flt/export+system
|
||||||
|
modified: 20240208181107805
|
||||||
|
tags: $:/tags/AdvancedSearchPlus
|
||||||
|
title: $:/search-flt/export+system
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\define lingo-base() $:/language/Search/
|
||||||
|
|
||||||
|
<$tiddler tiddler=<<currentTab>>>
|
||||||
|
<$button tooltip={{$:/language/Buttons/Delete/Caption}} >
|
||||||
|
<$action-deletetiddler $tiddler={{!!input-tiddler}}/>
|
||||||
|
<$action-deletetiddler $tiddler={{!!input-title}}/>
|
||||||
|
<$action-deletetiddler $tiddler="$:/state/tab--1498284803"/>
|
||||||
|
<$transclude tiddler="$:/core/images/delete-button" />
|
||||||
|
</$button>
|
||||||
|
<<lingo Filter/Hint>><br>
|
||||||
|
|
||||||
|
<span class="tc-search tc-popup-keep">
|
||||||
|
<$reveal state={{!!input-tiddler}} type="nomatch" text="">
|
||||||
|
<$set name="search-term" tiddler={{!!input-tiddler}}>
|
||||||
|
<$macrocall $name="exportButton" exportFilter=<<search-term>> lingoBase="$:/language/Buttons/ExportTiddlers/"/>
|
||||||
|
</$set>
|
||||||
|
</$reveal>
|
||||||
|
<$button popup=<<qualify "$:/state/filterDropdown">> class="tc-btn-invisible">
|
||||||
|
{{$:/core/images/down-arrow}}
|
||||||
|
</$button>
|
||||||
|
</span>
|
||||||
|
<$reveal state=<<qualify "$:/state/filterDropdown">> type="popup" position="below" animate="yes" class="tc-block-dropdown tc-edit-type-dropdown">
|
||||||
|
<$linkcatcher to={{!!input-tiddler}}>
|
||||||
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Filter]]"><$link to={{!!filter}}><$transclude field="description"/></$link>
|
||||||
|
</$list>
|
||||||
|
</$linkcatcher>
|
||||||
|
|
||||||
|
</$reveal>
|
||||||
|
<span class="tc-search tc-advanced-search">
|
||||||
|
<$keyboard key="((input-tab-right))" actions=<<set-next-input-tab>>>
|
||||||
|
<$keyboard key="((input-tab-left))" actions=<<set-next-input-tab "before">>>
|
||||||
|
<$edit-text tiddler={{!!input-tiddler}} type="search" tag="input" focus="yes"/>
|
||||||
|
</$keyboard>
|
||||||
|
</$keyboard>
|
||||||
|
<$button class="tc-btn-invisible">
|
||||||
|
<$action-setfield $tiddler={{!!input-tiddler}} $field="text" $value=""/>
|
||||||
|
{{$:/core/images/close-button}}
|
||||||
|
</$button>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<$reveal state={{!!input-tiddler}} type="nomatch" text="">
|
||||||
|
<$set name="search-term" tiddler={{!!input-tiddler}}>
|
||||||
|
<$set name="resultCount" value="<$count filter=<<search-term>>/>">
|
||||||
|
<div class="tc-search-results">
|
||||||
|
<<lingo Filter/Matches>>
|
||||||
|
<$list filter=<<search-term>> template="$:/core/ui/ListItemTemplate"/>
|
||||||
|
</div>
|
||||||
|
</$set></$set>
|
||||||
|
</$reveal>
|
||||||
|
</$tiddler>
|
61
editions/tw5.com/tiddlers/$__search-flt_export-no-system.tid
Normal file
61
editions/tw5.com/tiddlers/$__search-flt_export-no-system.tid
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
caption: export-no-system
|
||||||
|
created: 20240208181127459
|
||||||
|
hint: {{$:/language/Search/Filter/Hint}}
|
||||||
|
icon: $:/plugins/wikilabs/advanced-search-plus/filter-search.svg
|
||||||
|
input-tiddler: $:/search-flt/inp/export-no-system
|
||||||
|
input-title: $:/search-flt/export-no-system
|
||||||
|
modified: 20240208181127460
|
||||||
|
tags: $:/tags/AdvancedSearchPlus
|
||||||
|
title: $:/search-flt/export-no-system
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\define lingo-base() $:/language/Search/
|
||||||
|
|
||||||
|
<$tiddler tiddler=<<currentTab>>>
|
||||||
|
<$button tooltip={{$:/language/Buttons/Delete/Caption}} >
|
||||||
|
<$action-deletetiddler $tiddler={{!!input-tiddler}}/>
|
||||||
|
<$action-deletetiddler $tiddler={{!!input-title}}/>
|
||||||
|
<$action-deletetiddler $tiddler="$:/state/tab--1498284803"/>
|
||||||
|
<$transclude tiddler="$:/core/images/delete-button" />
|
||||||
|
</$button>
|
||||||
|
<<lingo Filter/Hint>><br>
|
||||||
|
|
||||||
|
<span class="tc-search tc-popup-keep">
|
||||||
|
<$reveal state={{!!input-tiddler}} type="nomatch" text="">
|
||||||
|
<$set name="search-term" tiddler={{!!input-tiddler}}>
|
||||||
|
<$macrocall $name="exportButton" exportFilter=<<search-term>> lingoBase="$:/language/Buttons/ExportTiddlers/"/>
|
||||||
|
</$set>
|
||||||
|
</$reveal>
|
||||||
|
<$button popup=<<qualify "$:/state/filterDropdown">> class="tc-btn-invisible">
|
||||||
|
{{$:/core/images/down-arrow}}
|
||||||
|
</$button>
|
||||||
|
</span>
|
||||||
|
<$reveal state=<<qualify "$:/state/filterDropdown">> type="popup" position="below" animate="yes" class="tc-block-dropdown tc-edit-type-dropdown">
|
||||||
|
<$linkcatcher to={{!!input-tiddler}}>
|
||||||
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Filter]]"><$link to={{!!filter}}><$transclude field="description"/></$link>
|
||||||
|
</$list>
|
||||||
|
</$linkcatcher>
|
||||||
|
|
||||||
|
</$reveal>
|
||||||
|
<span class="tc-search tc-advanced-search">
|
||||||
|
<$keyboard key="((input-tab-right))" actions=<<set-next-input-tab>>>
|
||||||
|
<$keyboard key="((input-tab-left))" actions=<<set-next-input-tab "before">>>
|
||||||
|
<$edit-text tiddler={{!!input-tiddler}} type="search" tag="input" focus="yes"/>
|
||||||
|
</$keyboard>
|
||||||
|
</$keyboard>
|
||||||
|
<$button class="tc-btn-invisible">
|
||||||
|
<$action-setfield $tiddler={{!!input-tiddler}} $field="text" $value=""/>
|
||||||
|
{{$:/core/images/close-button}}
|
||||||
|
</$button>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<$reveal state={{!!input-tiddler}} type="nomatch" text="">
|
||||||
|
<$set name="search-term" tiddler={{!!input-tiddler}}>
|
||||||
|
<$set name="resultCount" value="<$count filter=<<search-term>>/>">
|
||||||
|
<div class="tc-search-results">
|
||||||
|
<<lingo Filter/Matches>>
|
||||||
|
<$list filter=<<search-term>> template="$:/core/ui/ListItemTemplate"/>
|
||||||
|
</div>
|
||||||
|
</$set></$set>
|
||||||
|
</$reveal>
|
||||||
|
</$tiddler>
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208181107805
|
||||||
|
modified: 20240208181107805
|
||||||
|
title: $:/search-flt/inp/export+system
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
[has[modified]] :filter[get[modified]subtract[20240204002230160]sign[]match[1]]
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208181127459
|
||||||
|
modified: 20240208181144267
|
||||||
|
title: $:/search-flt/inp/export-no-system
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
[has[modified]!is[system]] :filter[get[modified]subtract[20240204002230160]sign[]match[1]]
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208145232790
|
||||||
|
modified: 20240208145348025
|
||||||
|
title: $:/search-flt/inp/relink-cfg
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
$:/config/flibbles/relink/macros/
|
6
editions/tw5.com/tiddlers/$__search-flt_inp_state.tid
Normal file
6
editions/tw5.com/tiddlers/$__search-flt_inp_state.tid
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240208100620941
|
||||||
|
modified: 20240208100620941
|
||||||
|
title: $:/search-flt/inp/state
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
$:/state/toc/
|
48
editions/tw5.com/tiddlers/$__search-flt_relink-cfg.tid
Normal file
48
editions/tw5.com/tiddlers/$__search-flt_relink-cfg.tid
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
caption: relink-cfg
|
||||||
|
created: 20240208145232790
|
||||||
|
hint: {{$:/language/Search/System/Hint}}
|
||||||
|
icon: $:/plugins/wikilabs/advanced-search-plus/system-search.svg
|
||||||
|
input-tiddler: $:/search-flt/inp/relink-cfg
|
||||||
|
input-title: $:/search-flt/relink-cfg
|
||||||
|
modified: 20240208145232790
|
||||||
|
tags: $:/tags/AdvancedSearchPlus
|
||||||
|
title: $:/search-flt/relink-cfg
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\define lingo-base() $:/language/Search/
|
||||||
|
|
||||||
|
<$tiddler tiddler=<<currentTab>>>
|
||||||
|
<$button tooltip={{$:/language/Buttons/Delete/Caption}} >
|
||||||
|
<$action-deletetiddler $tiddler={{!!input-tiddler}}/>
|
||||||
|
<$action-deletetiddler $tiddler={{!!input-title}}/>
|
||||||
|
<$action-deletetiddler $tiddler="$:/state/tab--1498284803"/>
|
||||||
|
<$transclude tiddler="$:/core/images/delete-button" />
|
||||||
|
</$button>
|
||||||
|
<<lingo System/Hint>>
|
||||||
|
|
||||||
|
<div class="tc-search">
|
||||||
|
<$keyboard key="((input-tab-right))" actions=<<set-next-input-tab>>>
|
||||||
|
<$keyboard key="((input-tab-left))" actions=<<set-next-input-tab "before">>>
|
||||||
|
<$edit-text tiddler={{!!input-tiddler}} type="search" tag="input" placeholder="..." default="" focus="yes"/>
|
||||||
|
</$keyboard>
|
||||||
|
</$keyboard>
|
||||||
|
<$reveal state={{!!input-tiddler}} type="nomatch" text="">
|
||||||
|
<$button class="tc-btn-invisible">
|
||||||
|
<$action-setfield $tiddler={{!!input-tiddler}} $field="text" $value=""/>
|
||||||
|
{{$:/core/images/close-button}}
|
||||||
|
</$button>
|
||||||
|
</$reveal>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<$reveal state={{!!input-tiddler}} type="nomatch" text="">
|
||||||
|
<$set name="search-term" tiddler={{!!input-tiddler}}>
|
||||||
|
<$set name="resultCount" value="<$count filter='[is[system]search<search-term>]'/>">
|
||||||
|
<div class="tc-search-results">
|
||||||
|
<<lingo System/Matches>>
|
||||||
|
<$list filter="[is[system]search<search-term>sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
|
||||||
|
</div>
|
||||||
|
</$set></$set>
|
||||||
|
</$reveal>
|
||||||
|
<$reveal state={{!!input-tiddler}} type="match" text="">
|
||||||
|
</$reveal>
|
||||||
|
</$tiddler>
|
48
editions/tw5.com/tiddlers/$__search-flt_state.tid
Normal file
48
editions/tw5.com/tiddlers/$__search-flt_state.tid
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
caption: state
|
||||||
|
created: 20240208100620941
|
||||||
|
hint: {{$:/language/Search/System/Hint}}
|
||||||
|
icon: $:/plugins/wikilabs/advanced-search-plus/system-search.svg
|
||||||
|
input-tiddler: $:/search-flt/inp/state
|
||||||
|
input-title: $:/search-flt/state
|
||||||
|
modified: 20240208100620941
|
||||||
|
tags: $:/tags/AdvancedSearchPlus
|
||||||
|
title: $:/search-flt/state
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\define lingo-base() $:/language/Search/
|
||||||
|
|
||||||
|
<$tiddler tiddler=<<currentTab>>>
|
||||||
|
<$button tooltip={{$:/language/Buttons/Delete/Caption}} >
|
||||||
|
<$action-deletetiddler $tiddler={{!!input-tiddler}}/>
|
||||||
|
<$action-deletetiddler $tiddler={{!!input-title}}/>
|
||||||
|
<$action-deletetiddler $tiddler="$:/state/tab--1498284803"/>
|
||||||
|
<$transclude tiddler="$:/core/images/delete-button" />
|
||||||
|
</$button>
|
||||||
|
<<lingo System/Hint>>
|
||||||
|
|
||||||
|
<div class="tc-search">
|
||||||
|
<$keyboard key="((input-tab-right))" actions=<<set-next-input-tab>>>
|
||||||
|
<$keyboard key="((input-tab-left))" actions=<<set-next-input-tab "before">>>
|
||||||
|
<$edit-text tiddler={{!!input-tiddler}} type="search" tag="input" placeholder="..." default="" focus="yes"/>
|
||||||
|
</$keyboard>
|
||||||
|
</$keyboard>
|
||||||
|
<$reveal state={{!!input-tiddler}} type="nomatch" text="">
|
||||||
|
<$button class="tc-btn-invisible">
|
||||||
|
<$action-setfield $tiddler={{!!input-tiddler}} $field="text" $value=""/>
|
||||||
|
{{$:/core/images/close-button}}
|
||||||
|
</$button>
|
||||||
|
</$reveal>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<$reveal state={{!!input-tiddler}} type="nomatch" text="">
|
||||||
|
<$set name="search-term" tiddler={{!!input-tiddler}}>
|
||||||
|
<$set name="resultCount" value="<$count filter='[is[system]search<search-term>]'/>">
|
||||||
|
<div class="tc-search-results">
|
||||||
|
<<lingo System/Matches>>
|
||||||
|
<$list filter="[is[system]search<search-term>sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
|
||||||
|
</div>
|
||||||
|
</$set></$set>
|
||||||
|
</$reveal>
|
||||||
|
<$reveal state={{!!input-tiddler}} type="match" text="">
|
||||||
|
</$reveal>
|
||||||
|
</$tiddler>
|
9
editions/tw5.com/tiddlers/Another TOC Entry.tid
Normal file
9
editions/tw5.com/tiddlers/Another TOC Entry.tid
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
created: 20240204201322400
|
||||||
|
modified: 20240208162250695
|
||||||
|
tags: nameSorted
|
||||||
|
title: Another TOC Entry
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
9
editions/tw5.com/tiddlers/Bar.tid
Normal file
9
editions/tw5.com/tiddlers/Bar.tid
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
created: 20240204201429735
|
||||||
|
modified: 20240208175124185
|
||||||
|
tags: [[Another TOC Entry]] [[Sorted by (tiddler) Title]]
|
||||||
|
title: Bar
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
9
editions/tw5.com/tiddlers/Baz.tid
Normal file
9
editions/tw5.com/tiddlers/Baz.tid
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
created: 20240204201437738
|
||||||
|
modified: 20240204201441357
|
||||||
|
tags: [[Another TOC Entry]]
|
||||||
|
title: Baz
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
@ -0,0 +1,33 @@
|
|||||||
|
created: 20240206142124740
|
||||||
|
draft.of: test-toc-simple-expandable-tabbed-internal
|
||||||
|
draft.title: test-toc-simple-expandable-tabbed-internal
|
||||||
|
modified: 20240210165329816
|
||||||
|
tags: testTOC
|
||||||
|
title: Draft of 'test-toc-simple-expandable-tabbed-internal'
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
* show template field
|
||||||
|
* show caption field
|
||||||
|
|
||||||
|
<div class="tc-table-of-contents">
|
||||||
|
<<toc tag:"root" viewField:test viewFieldTemplate:template>>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
the following toc is `toc-expandable` so it shows chevrons with every node
|
||||||
|
|
||||||
|
<div class="tc-table-of-contents">
|
||||||
|
<<toc-expandable tag:"root" >>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<$macrocall
|
||||||
|
$name="toc-tabbed-internal-nav"
|
||||||
|
tag="root"
|
||||||
|
selectedTiddler="$:/temp/toc/selectedTiddler"
|
||||||
|
unselectedText="<p>Select a topic in the table of contents. Click the arrow to expand a topic.</p>"
|
||||||
|
missingText="<p>Missing tiddler.</p>"
|
||||||
|
viewField=test
|
||||||
|
itemTemplate=template
|
||||||
|
/>
|
9
editions/tw5.com/tiddlers/Foo.tid
Normal file
9
editions/tw5.com/tiddlers/Foo.tid
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
created: 20240204201341870
|
||||||
|
modified: 20240204201426366
|
||||||
|
tags: [[Another TOC Entry]]
|
||||||
|
title: Foo
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
14
editions/tw5.com/tiddlers/MR.tid
Normal file
14
editions/tw5.com/tiddlers/MR.tid
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
created: 20240204014414845
|
||||||
|
first-name: Robert
|
||||||
|
last-name: M.
|
||||||
|
modified: 20240208142443958
|
||||||
|
tags: person
|
||||||
|
title: MR
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* part of [[test-contacts]]
|
||||||
|
* has `first-name`, `last-name` fields
|
||||||
|
|
||||||
|
<<list-fields>>
|
12
editions/tw5.com/tiddlers/Person.json
Normal file
12
editions/tw5.com/tiddlers/Person.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"created": "20240204200502854",
|
||||||
|
"text": "\\import [[b b]]\n\nSee: [[test-toc-sorted-names]]\n\nTiddlers tagged with this tiddler title: ''{{!!title}}''\n\n<<list-links filter:\"[tag{!!title}]\">>\n\n<<list-fields>>",
|
||||||
|
"tags": "nameSorted",
|
||||||
|
"title": "Person",
|
||||||
|
"modified": "20240208164734873",
|
||||||
|
"type": "text/vnd.tiddlywiki",
|
||||||
|
"toc-include": "[tag[Person]sortsub:string<name-sort>] ",
|
||||||
|
"caption": "People"
|
||||||
|
}
|
||||||
|
]
|
12
editions/tw5.com/tiddlers/Person_1.tid
Normal file
12
editions/tw5.com/tiddlers/Person_1.tid
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
caption: Betty Rubble
|
||||||
|
created: 20240204194635635
|
||||||
|
first-name: Betty
|
||||||
|
last-name: Rubble
|
||||||
|
modified: 20240204201551862
|
||||||
|
tags: Person
|
||||||
|
title: Person/1
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
12
editions/tw5.com/tiddlers/Person_2.tid
Normal file
12
editions/tw5.com/tiddlers/Person_2.tid
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
caption: Booboo Bear
|
||||||
|
created: 20240204194659091
|
||||||
|
first-name: Booboo
|
||||||
|
last-name: Bear
|
||||||
|
modified: 20240204201551863
|
||||||
|
tags: Person
|
||||||
|
title: Person/2
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
12
editions/tw5.com/tiddlers/Person_3.tid
Normal file
12
editions/tw5.com/tiddlers/Person_3.tid
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
caption: Wilma Flintstone
|
||||||
|
created: 20240204194617448
|
||||||
|
first-name: Wilma
|
||||||
|
last-name: Flintstone
|
||||||
|
modified: 20240204201551863
|
||||||
|
tags: Person
|
||||||
|
title: Person/3
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
12
editions/tw5.com/tiddlers/Person_4.tid
Normal file
12
editions/tw5.com/tiddlers/Person_4.tid
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
caption: Barney Rubble
|
||||||
|
created: 20240204195544323
|
||||||
|
first-name: Barney
|
||||||
|
last-name: Rubble
|
||||||
|
modified: 20240204201551863
|
||||||
|
tags: Person
|
||||||
|
title: Person/4
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
12
editions/tw5.com/tiddlers/Person_5.tid
Normal file
12
editions/tw5.com/tiddlers/Person_5.tid
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
caption: Yogi Bear
|
||||||
|
created: 20240204195458310
|
||||||
|
first-name: Yogi
|
||||||
|
last-name: Bear
|
||||||
|
modified: 20240204201551863
|
||||||
|
tags: Person
|
||||||
|
title: Person/5
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
12
editions/tw5.com/tiddlers/Person_6.tid
Normal file
12
editions/tw5.com/tiddlers/Person_6.tid
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
caption: Fred Flintstone
|
||||||
|
created: 20240204194520251
|
||||||
|
first-name: Fred
|
||||||
|
last-name: Flintstone
|
||||||
|
modified: 20240204201551863
|
||||||
|
tags: Person
|
||||||
|
title: Person/6
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
14
editions/tw5.com/tiddlers/SR.tid
Normal file
14
editions/tw5.com/tiddlers/SR.tid
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
created: 20240204014347171
|
||||||
|
first-name: Robert
|
||||||
|
last-name: S.
|
||||||
|
modified: 20240208142459410
|
||||||
|
tags: person
|
||||||
|
title: SR
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* part of [[test-contacts]]
|
||||||
|
* has `first-name`, `last-name` fields
|
||||||
|
|
||||||
|
<<list-fields>>
|
10
editions/tw5.com/tiddlers/Sorted by (tiddler) Title.tid
Normal file
10
editions/tw5.com/tiddlers/Sorted by (tiddler) Title.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240204201702168
|
||||||
|
modified: 20240208163044568
|
||||||
|
tags: nameSorted
|
||||||
|
title: Sorted by (tiddler) Title
|
||||||
|
toc-include: [tag[Person]]
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
11
editions/tw5.com/tiddlers/ToDo-1.tid
Normal file
11
editions/tw5.com/tiddlers/ToDo-1.tid
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
created: 20240204045534918
|
||||||
|
modified: 20240208142539795
|
||||||
|
tags: todo1
|
||||||
|
title: ToDo-1
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* this tiddler is part of the tag: "todo" tree
|
||||||
|
|
||||||
|
<<list-fields>>
|
14
editions/tw5.com/tiddlers/aaa-aaa.tid
Normal file
14
editions/tw5.com/tiddlers/aaa-aaa.tid
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
created: 20240202131409493
|
||||||
|
modified: 20240208142624463
|
||||||
|
tags: aaa
|
||||||
|
title: aaa-aaa
|
||||||
|
toc-filter: [tag[person]sort[last-name]]
|
||||||
|
toc-itemTemplate: template
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* this tiddler contains `toc-filter`: <code>{{!!toc-filter}}</code>
|
||||||
|
* this tiddler contains `toc-itemTemplate`: <code>{{!!toc-itemTemplate}}</code>
|
||||||
|
|
||||||
|
<<list-fields>>
|
8
editions/tw5.com/tiddlers/aaa.a.tid
Normal file
8
editions/tw5.com/tiddlers/aaa.a.tid
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
created: 20240208110758671
|
||||||
|
modified: 20240208142728180
|
||||||
|
title: aaa.a
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
9
editions/tw5.com/tiddlers/aaa.b.tid
Normal file
9
editions/tw5.com/tiddlers/aaa.b.tid
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
created: 20240208110754007
|
||||||
|
modified: 20240208142720804
|
||||||
|
tag-like: aaa.b.1
|
||||||
|
title: aaa.b
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
14
editions/tw5.com/tiddlers/aaa.tid
Normal file
14
editions/tw5.com/tiddlers/aaa.tid
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
created: 20240202131427117
|
||||||
|
modified: 20240208155800851
|
||||||
|
tag-like: aaa.a aaa.b
|
||||||
|
tags: root [[b b]] aaa
|
||||||
|
title: aaa
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* This tiddler is part of several tag-trees, to test recursion detection
|
||||||
|
* It also tags itself, to test expand / fold CTRL-click state-tiddler creation
|
||||||
|
** There should be ''no'' redundant (not needed) state tiddlers
|
||||||
|
|
||||||
|
<<list-fields>>
|
29
editions/tw5.com/tiddlers/b b.tid
Normal file
29
editions/tw5.com/tiddlers/b b.tid
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
caption: b b-caption
|
||||||
|
created: 20240202131440055
|
||||||
|
modified: 20240208154625928
|
||||||
|
tags: aaa
|
||||||
|
test: b b-test
|
||||||
|
title: b b
|
||||||
|
toc-filter:
|
||||||
|
toc-hide:
|
||||||
|
toc-include: [tag[todo]]
|
||||||
|
toc-link:
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\procedure list-fields()
|
||||||
|
<table class="tc-view-field-table">
|
||||||
|
<tbody>
|
||||||
|
<$list filter="[all[current]fields[]sort[title]] -text -title -bag -modified -created -revision -type " template="$:/core/ui/TiddlerFieldTemplate" variable="listItem"/>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
\end
|
||||||
|
|
||||||
|
* This tiddler is part of the ''tag-tree''
|
||||||
|
* It toc-includes all tiddlers tagged: `todo`
|
||||||
|
** The todo's are intended to be shown with a custom template, that contains checkboxes and triggers a "done" action (NOT implemented yet)
|
||||||
|
** [[todo1]] has a field `toc-link: no` so it cannot be clicked to open it
|
||||||
|
** todo1 should have a chevron
|
||||||
|
|
||||||
|
* This tiddler has many fields <<fields>>
|
||||||
|
|
||||||
|
<<list-fields>>
|
13
editions/tw5.com/tiddlers/ccc.tid
Normal file
13
editions/tw5.com/tiddlers/ccc.tid
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
created: 20240202225320834
|
||||||
|
modified: 20240208142512918
|
||||||
|
tag-like: tag-like-c tag-like-d
|
||||||
|
tags: [[b b]]
|
||||||
|
title: ccc
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* this tiddler is part of the tag: [[b b]] tree
|
||||||
|
* also part of <code>tag-like: {{!!tag-like}}</code>
|
||||||
|
|
||||||
|
<<list-fields>>
|
13
editions/tw5.com/tiddlers/contacts.tid
Normal file
13
editions/tw5.com/tiddlers/contacts.tid
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
created: 20240204014534832
|
||||||
|
modified: 20240208142611510
|
||||||
|
tags: root
|
||||||
|
title: contacts
|
||||||
|
toc-include: [tag[person]sort[last-name]]
|
||||||
|
toc-includeX: [tag[person]sort[last-name]]
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* this tiddler contains `toc-include`: <code>{{!!toc-include}}</code>
|
||||||
|
|
||||||
|
<<list-fields>>
|
@ -0,0 +1,23 @@
|
|||||||
|
created: 20240202103010434
|
||||||
|
modified: 20240202103557952
|
||||||
|
tags:
|
||||||
|
title: creative-way-to-use-functions-01
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\function f.taggedList(tag) [tag<tag>limit[3]]
|
||||||
|
\function f.opFields() [fields[]prefix[op]] -[[text]] -[[title]]
|
||||||
|
|
||||||
|
<$list filter="[f.taggedList[Filter Operators]]">
|
||||||
|
<table class="tc-max-width">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th colspan=2><$link/></th>
|
||||||
|
</tr>
|
||||||
|
<$list filter="[<currentTiddler>f.opFields[]]" variable=fieldname>
|
||||||
|
<tr>
|
||||||
|
<td><<fieldname>></td><td><$transclude $field=<<fieldname>>/></td>
|
||||||
|
</tr>
|
||||||
|
</$list>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</$list>
|
@ -0,0 +1,24 @@
|
|||||||
|
created: 20240202094222684
|
||||||
|
modified: 20240202103555585
|
||||||
|
tags:
|
||||||
|
title: creative-way-to-use-functions-02
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\function f.taggedList(test, tag) [<test>] [tag<tag>limit[3]]
|
||||||
|
\function f.opFields() [fields[]prefix[op]] -[[text]] -[[title]]
|
||||||
|
|
||||||
|
<$list filter="[function[f.taggedList],[non existing Title],[Filter Operators]]">
|
||||||
|
<table class="tc-max-width">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th colspan=2><$link/></th>
|
||||||
|
</tr>
|
||||||
|
<$list filter="[<currentTiddler>function[f.opFields]]" variable=fieldname>
|
||||||
|
<tr>
|
||||||
|
<td><<fieldname>></td><td><$transclude $field=<<fieldname>>/></td>
|
||||||
|
</tr>
|
||||||
|
</$list>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</$list>
|
||||||
|
|
11
editions/tw5.com/tiddlers/ddd.tid
Normal file
11
editions/tw5.com/tiddlers/ddd.tid
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
created: 20240203010827945
|
||||||
|
modified: 20240208142523990
|
||||||
|
tags: [[b b]]
|
||||||
|
title: ddd
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* this tiddler is part of the tag: [[b b]] tree
|
||||||
|
|
||||||
|
<<list-fields>>
|
11
editions/tw5.com/tiddlers/extra-tiddler-test-Contents.tid
Normal file
11
editions/tw5.com/tiddlers/extra-tiddler-test-Contents.tid
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
created: 20240207152104266
|
||||||
|
modified: 20240208143358863
|
||||||
|
tags: SecondThreeTwo
|
||||||
|
title: extra-tiddler-test-Contents
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
See: [[test-Contents]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
10
editions/tw5.com/tiddlers/p1.1.tid
Normal file
10
editions/tw5.com/tiddlers/p1.1.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240206220521559
|
||||||
|
modified: 20240208142702506
|
||||||
|
parent: p1
|
||||||
|
tags:
|
||||||
|
title: p1.1
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
23
editions/tw5.com/tiddlers/p1.tid
Normal file
23
editions/tw5.com/tiddlers/p1.tid
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
created: 20240206191418698
|
||||||
|
modified: 20240208142654874
|
||||||
|
parent: root
|
||||||
|
parentField: dad
|
||||||
|
tags:
|
||||||
|
title: p1
|
||||||
|
toc-include: p1 p2 aaa
|
||||||
|
toc-includeX: [has<parentField>!has[draft.of]] :filter[get<parentField>match<tag>]
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* p1 toc-inlucdes itself for recursion detection testing
|
||||||
|
* toc-include also has: <code>{{!!toc-include}}</code> for CTRL-click testing on p2 -> It should expand the whole path
|
||||||
|
* tiddler [[aaa]] is a "tagLike" field so it ''cannot'' be shown with expand chevron -> That's intended
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
p1 has a special toc-include field: <code><$view field=toc-include /></code>
|
||||||
|
|
||||||
|
It's intended to add a second `parentField: dad`, which DOES NOT WORK ATM
|
||||||
|
|
||||||
|
<<list-fields>>
|
11
editions/tw5.com/tiddlers/p2.1.tid
Normal file
11
editions/tw5.com/tiddlers/p2.1.tid
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
caption: p2-caption
|
||||||
|
created: 20240206191901424
|
||||||
|
modified: 20240208142817044
|
||||||
|
parent: p2
|
||||||
|
tags:
|
||||||
|
title: p2.1
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
10
editions/tw5.com/tiddlers/p2.2.1.a.tid
Normal file
10
editions/tw5.com/tiddlers/p2.2.1.a.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240208114612950
|
||||||
|
modified: 20240208142709213
|
||||||
|
parent: p2.2.1
|
||||||
|
tags:
|
||||||
|
title: p2.2.1.a
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
11
editions/tw5.com/tiddlers/p2.2.1.tid
Normal file
11
editions/tw5.com/tiddlers/p2.2.1.tid
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
created: 20240206215525266
|
||||||
|
modified: 20240208142810723
|
||||||
|
parent: p2.2
|
||||||
|
tags:
|
||||||
|
title: p2.2.1
|
||||||
|
toc-link: no
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
10
editions/tw5.com/tiddlers/p2.2.tid
Normal file
10
editions/tw5.com/tiddlers/p2.2.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240206215507087
|
||||||
|
modified: 20240208142822260
|
||||||
|
parent: p2
|
||||||
|
tags:
|
||||||
|
title: p2.2
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
10
editions/tw5.com/tiddlers/p2.tid
Normal file
10
editions/tw5.com/tiddlers/p2.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240206191843666
|
||||||
|
modified: 20240208142213858
|
||||||
|
parent: root
|
||||||
|
tags:
|
||||||
|
title: p2
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
11
editions/tw5.com/tiddlers/pmario.1.tid
Normal file
11
editions/tw5.com/tiddlers/pmario.1.tid
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
created: 20240208134738999
|
||||||
|
modified: 20240208142310130
|
||||||
|
tags: pmario
|
||||||
|
title: pmario.1
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* part of tag tree
|
||||||
|
|
||||||
|
<<list-fields>>
|
14
editions/tw5.com/tiddlers/pmario.tid
Normal file
14
editions/tw5.com/tiddlers/pmario.tid
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
created: 20240204014317494
|
||||||
|
first-name: Mario
|
||||||
|
last-name: Pietsch
|
||||||
|
modified: 20240208142422817
|
||||||
|
tags: person
|
||||||
|
title: pmario
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
* part of [[test-contacts]]
|
||||||
|
* has `first-name`, `last-name` fields
|
||||||
|
|
||||||
|
<<list-fields>>
|
7
editions/tw5.com/tiddlers/read-only-mode.tid
Normal file
7
editions/tw5.com/tiddlers/read-only-mode.tid
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240204002222736
|
||||||
|
modified: 20240204002230160
|
||||||
|
tags:
|
||||||
|
title: read-only-mode
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
yes
|
10
editions/tw5.com/tiddlers/t1.1.tid
Normal file
10
editions/tw5.com/tiddlers/t1.1.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240207001604213
|
||||||
|
dad: t1
|
||||||
|
modified: 20240208142753698
|
||||||
|
tags:
|
||||||
|
title: t1.1
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
10
editions/tw5.com/tiddlers/t1.tid
Normal file
10
editions/tw5.com/tiddlers/t1.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240207001136502
|
||||||
|
dad: root
|
||||||
|
modified: 20240208142803867
|
||||||
|
tags:
|
||||||
|
title: t1
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
10
editions/tw5.com/tiddlers/tag-like-c.tid
Normal file
10
editions/tw5.com/tiddlers/tag-like-c.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240208110514237
|
||||||
|
modified: 20240208143021568
|
||||||
|
title: tag-like-c
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
See: [[test-tagLike-toc]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
10
editions/tw5.com/tiddlers/tag-like-d.tid
Normal file
10
editions/tw5.com/tiddlers/tag-like-d.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
created: 20240208110520748
|
||||||
|
modified: 20240208143028142
|
||||||
|
title: tag-like-d
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
See: [[test-tagLike-toc]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
13
editions/tw5.com/tiddlers/tag-like-root.tid
Normal file
13
editions/tw5.com/tiddlers/tag-like-root.tid
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
created: 20240206222045871
|
||||||
|
modified: 20240208143415238
|
||||||
|
tag-like: aaa [[b b]] ccc
|
||||||
|
tags:
|
||||||
|
title: tag-like-root
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\import [[b b]]
|
||||||
|
|
||||||
|
See: [[test-tagLike-toc]]
|
||||||
|
|
||||||
|
<<list-fields>>
|
||||||
|
|
7
editions/tw5.com/tiddlers/template.tid
Normal file
7
editions/tw5.com/tiddlers/template.tid
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
created: 20240206143124738
|
||||||
|
modified: 20240207102206326
|
||||||
|
tags:
|
||||||
|
title: template
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
<<currentTiddler>> -- itemTemplate
|
11
editions/tw5.com/tiddlers/test-Contents.tid
Normal file
11
editions/tw5.com/tiddlers/test-Contents.tid
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
created: 20240203175824154
|
||||||
|
modified: 20240208172040360
|
||||||
|
tags: testTOC
|
||||||
|
title: test-Contents
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\function tf.toc-exclude() [<currentTiddler>get[toc-xxx]]
|
||||||
|
|
||||||
|
<div class="tc-table-of-contents">
|
||||||
|
<<toc "Contents">>
|
||||||
|
</div>
|
12
editions/tw5.com/tiddlers/test-contacts.tid
Normal file
12
editions/tw5.com/tiddlers/test-contacts.tid
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
created: 20240204014515455
|
||||||
|
modified: 20240208172037692
|
||||||
|
tags: testTOC
|
||||||
|
title: test-contacts
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
* This tiddler was created to test [[contacts]] tiddler, which contains a `toc-include`
|
||||||
|
* There is a [[Talk-thread|https://talk.tiddlywiki.org/t/proposal-toc-macros-rewrite-using-if-functions-and-procedures-new-fuctionality/9046/32?u=pmario]], where Scott posts his version as a JSON file.
|
||||||
|
|
||||||
|
<div class="tc-table-of-contents">
|
||||||
|
<<toc "root" >>
|
||||||
|
</div>
|
17
editions/tw5.com/tiddlers/test-exclude-show-empty-text.tid
Normal file
17
editions/tw5.com/tiddlers/test-exclude-show-empty-text.tid
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
created: 20240202112417445
|
||||||
|
modified: 20240208172043396
|
||||||
|
tags: testTOC
|
||||||
|
title: test-exclude-show-empty-text
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
<$let
|
||||||
|
myFilter="[tag[one]]"
|
||||||
|
toc-exclude-yes="[<currentTiddler>]]"
|
||||||
|
toc-exclude="yesX"
|
||||||
|
toc-include="[tag[test]sort[created]]"
|
||||||
|
|
||||||
|
toc-exclude={{{ [<toc-exclude>match[yes]then<toc-exclude-yes>else<toc-exclude>] }}}
|
||||||
|
>
|
||||||
|
|
||||||
|
<$list filter="[subfilter<myFilter>] [subfilter<toc-include>] -[subfilter<toc-exclude>]" emptyMessage="toc-exclude - removed everything"/>
|
||||||
|
|
19
editions/tw5.com/tiddlers/test-function-proc-nesting.tid
Normal file
19
editions/tw5.com/tiddlers/test-function-proc-nesting.tid
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
created: 20240206144717937
|
||||||
|
modified: 20240208172046352
|
||||||
|
tags: testTOC
|
||||||
|
title: test-function-proc-nesting
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\procedure p-test()
|
||||||
|
<<inner>> -- <<aaa>>
|
||||||
|
\end
|
||||||
|
|
||||||
|
\procedure outer(aaa:xxx)
|
||||||
|
\function inner() asdf
|
||||||
|
|
||||||
|
<<p-test>>
|
||||||
|
|
||||||
|
\end
|
||||||
|
|
||||||
|
|
||||||
|
<<outer>>
|
31
editions/tw5.com/tiddlers/test-open-close-branch-buttons.tid
Normal file
31
editions/tw5.com/tiddlers/test-open-close-branch-buttons.tid
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
created: 20240207155537595
|
||||||
|
modified: 20240208172049452
|
||||||
|
tags: testTOC
|
||||||
|
title: test-open-close-branch-buttons
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
\procedure closeBranch()
|
||||||
|
<<toc-closeBranch path:"/Contents" currentTiddler:"Second" manual:yes>>
|
||||||
|
\end
|
||||||
|
|
||||||
|
\procedure openBranch()
|
||||||
|
<<toc-openBranch path:"/" currentTiddler:"Contents" manual:yes>>
|
||||||
|
\end
|
||||||
|
|
||||||
|
<$button actions=<<openBranch>>>Open whole Tree</$button>
|
||||||
|
|
||||||
|
<$button actions=<<closeBranch>>>Close branch: Second</$button>
|
||||||
|
|
||||||
|
''CTRL-click'' will also expand / fold the whole branch.
|
||||||
|
|
||||||
|
<div class="tc-table-of-contents">
|
||||||
|
<<toc-selective-expandable tag:"Contents">>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
--------
|
||||||
|
|
||||||
|
simple docs toc as reference
|
||||||
|
|
||||||
|
<div class="tc-table-of-contents">
|
||||||
|
<<toc tag:"Contents">>
|
||||||
|
</div>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user