mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 11:29:58 +00:00
Improve view templates to show tag children (#8362)
This commit is contained in:
parent
8f4bdce534
commit
64eb1be708
11
editions/tw5.com/tiddlers/empty-tag-node-template.tid
Normal file
11
editions/tw5.com/tiddlers/empty-tag-node-template.tid
Normal file
@ -0,0 +1,11 @@
|
||||
created: 20240710161501472
|
||||
list-after: $:/core/ui/ViewTemplate/body
|
||||
modified: 20240710165557977
|
||||
tags: $:/tags/ViewTemplate
|
||||
title: $:/editions/tw5.com/empty-tag-node-template
|
||||
type:
|
||||
|
||||
<$list filter='[<storyTiddler>is[missing]] :filter[tagging[]]'>
|
||||
The following tiddlers are tagged with <<tag>>:
|
||||
</$list>
|
||||
<<list-links filter:"[<storyTiddler>is[missing]tagging[]]" class:"multi-columns">>
|
@ -1,19 +1,19 @@
|
||||
created: 20220719120233104
|
||||
list-after: $:/core/ui/ViewTemplate/body
|
||||
modified: 20220719120319922
|
||||
modified: 20240710163659672
|
||||
tags: $:/tags/ViewTemplate
|
||||
title: $:/editions/tw5.com/systemtag-template
|
||||
|
||||
<$list filter='[all[current]prefix[SystemTag: ]]'>
|
||||
<$let tag={{{ [all[current]removeprefix[SystemTag: ]] }}} >
|
||||
<$let thisTag={{{ [all[current]removeprefix[SystemTag: ]] }}} >
|
||||
|
||||
<$list filter='[all[tiddlers+shadows]tag<tag>limit[1]]' emptyMessage='(No tiddlers are currently tagged with <<tag>> )'>
|
||||
<$list filter='[all[tiddlers+shadows]tag<thisTag>limit[1]]' emptyMessage='(No tiddlers are currently tagged with <<tag>> )'>
|
||||
|
||||
The following tiddlers are tagged with <<tag>>
|
||||
The following tiddlers are tagged with <<tag $(thisTag)$ >>
|
||||
|
||||
<table>
|
||||
<tr><th></th><th>caption</th></tr>
|
||||
<$list filter='[all[tiddlers+shadows]tag<tag>sort[]]'>
|
||||
<$list filter='[all[tiddlers+shadows]tag<thisTag>sort[]]'>
|
||||
<tr>
|
||||
<td><$link/></td>
|
||||
<td><$transclude field="caption"><$transclude field="description"><$view field="title"/></$transclude></$transclude></td>
|
||||
|
Loading…
Reference in New Issue
Block a user