mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Split the tiddler subtitle into individual segments tagged $:/tags/ViewTemplate/Subtitle (#6779)
This commit is contained in:
parent
19331cc6f9
commit
1ca6305acb
@ -4,7 +4,11 @@ tags: $:/tags/ViewTemplate
|
||||
\whitespace trim
|
||||
<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
|
||||
<div class="tc-subtitle">
|
||||
<$link to={{!!modifier}} />
|
||||
<$view field="modified" format="date" template={{$:/language/Tiddler/DateFormat}}/>
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]]" variable="subtitleTiddler" counter="indexSubtitleTiddler">
|
||||
<$list filter="[<indexSubtitleTiddler-first>match[no]]" variable="ignore">
|
||||
|
||||
</$list>
|
||||
<$transclude tiddler=<<subtitleTiddler>> mode="inline"/>
|
||||
</$list>
|
||||
</div>
|
||||
</$reveal>
|
||||
|
4
core/ui/ViewTemplate/subtitle/modified.tid
Normal file
4
core/ui/ViewTemplate/subtitle/modified.tid
Normal file
@ -0,0 +1,4 @@
|
||||
title: $:/core/ui/ViewTemplate/subtitle/modified
|
||||
tags: $:/tags/ViewTemplate/Subtitle
|
||||
|
||||
<$view field="modified" format="date" template={{$:/language/Tiddler/DateFormat}}/>
|
4
core/ui/ViewTemplate/subtitle/modifier.tid
Normal file
4
core/ui/ViewTemplate/subtitle/modifier.tid
Normal file
@ -0,0 +1,4 @@
|
||||
title: $:/core/ui/ViewTemplate/subtitle/modifier
|
||||
tags: $:/tags/ViewTemplate/Subtitle
|
||||
|
||||
<$link to={{!!modifier}}/>
|
2
core/wiki/tags/ViewTemplateSubtitle.tid
Normal file
2
core/wiki/tags/ViewTemplateSubtitle.tid
Normal file
@ -0,0 +1,2 @@
|
||||
title: $:/tags/ViewTemplate/Subtitle
|
||||
list: $:/core/ui/ViewTemplate/subtitle/modifier $:/core/ui/ViewTemplate/subtitle/modified
|
@ -1,9 +1,9 @@
|
||||
caption: $:/tags/ViewTemplate
|
||||
created: 20180926170345251
|
||||
description: marks the view template
|
||||
description: identifies the individual segments that are displayed as part of the view template
|
||||
modified: 20180926171456532
|
||||
tags: SystemTags
|
||||
title: SystemTag: $:/tags/ViewTemplate
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
The [[system tag|SystemTags]] `$:/tags/ViewTemplate` marks the view template
|
||||
The [[system tag|SystemTags]] `$:/tags/ViewTemplate` identifies the individual segments that are displayed as part of the view template
|
@ -0,0 +1,9 @@
|
||||
caption: $:/tags/ViewTemplate/Subtitle
|
||||
created: 20220714093251204
|
||||
description: identifies the individual segments that are displayed as the tiddler subtitle
|
||||
modified: 20220714093251204
|
||||
tags: SystemTags
|
||||
title: SystemTag: $:/tags/ViewTemplate/Subtitle
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
The [[system tag|SystemTags]] `$:/tags/ViewTemplate/Subtitle` identifies the individual segments that are displayed as the tiddler subtitle
|
Loading…
Reference in New Issue
Block a user