2013-05-31 14:38:27 +00:00
|
|
|
title: $:/core/ui/ViewTemplate
|
2023-07-15 17:12:10 +00:00
|
|
|
code-body: yes
|
2012-04-30 11:23:03 +00:00
|
|
|
|
2021-10-02 16:22:10 +00:00
|
|
|
\whitespace trim
|
2015-09-07 16:00:03 +00:00
|
|
|
\define folded-state()
|
|
|
|
$:/state/folded/$(currentTiddler)$
|
|
|
|
\end
|
2020-11-16 16:54:29 +00:00
|
|
|
\define cancel-delete-tiddler-actions(message) <$action-sendmessage $message="tm-$message$-tiddler"/>
|
2023-05-09 14:46:54 +00:00
|
|
|
\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View]!is[draft]]
|
2021-10-02 16:22:10 +00:00
|
|
|
<$vars storyTiddler=<<currentTiddler>> tiddlerInfoState=<<qualify "$:/state/popup/tiddler-info">>>
|
2023-06-21 16:13:33 +00:00
|
|
|
<div data-tiddler-title=<<currentTiddler>> data-tags={{!!tags}} class={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/TiddlerTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-tiddler-frame tc-tiddler-view-frame [<currentTiddler>is[tiddler]then[tc-tiddler-exists]] [<currentTiddler>is[missing]!is[shadow]then[tc-tiddler-missing]] [<currentTiddler>is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [<currentTiddler>is[shadow]is[tiddler]then[tc-tiddler-overridden-shadow]] [<currentTiddler>is[system]then[tc-tiddler-system]] [{!!class}] [<currentTiddler>tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}} role="article">
|
2023-05-09 14:46:54 +00:00
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!is[draft]]" variable="listItem">
|
2021-10-02 16:22:10 +00:00
|
|
|
<$transclude tiddler=<<listItem>>/>
|
|
|
|
</$list>
|
2015-03-16 09:43:12 +00:00
|
|
|
</div>
|
2019-08-02 13:32:36 +00:00
|
|
|
</$vars>
|