2015-08-31 15:49:47 +00:00
|
|
|
title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler
|
2015-08-30 18:15:04 +00:00
|
|
|
|
2017-12-14 14:16:54 +00:00
|
|
|
\define if(condition,then,else)
|
|
|
|
<$list filter="""$condition$ +[limit[1]]""" emptyMessage="""$else$""" variable="ignore">
|
|
|
|
$then$
|
2015-08-30 18:15:04 +00:00
|
|
|
</$list>
|
2017-12-14 14:16:54 +00:00
|
|
|
\end
|
2015-08-30 18:15:04 +00:00
|
|
|
|
2017-12-14 14:16:54 +00:00
|
|
|
\define include-component(type)
|
|
|
|
<<if "[{!!toc-type}prefix[$type$]]" """
|
|
|
|
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/$type$" mode="block"/>
|
|
|
|
""">>
|
|
|
|
\end
|
2015-08-30 18:15:04 +00:00
|
|
|
|
2017-12-14 14:16:54 +00:00
|
|
|
<$list filter="[<tv-show-toolbar>prefix[yes]]" variable="hasToolbar">
|
|
|
|
{{||$:/plugins/tiddlywiki/text-slicer/ui/tiddler/toolbar}}
|
|
|
|
</$list>
|
2015-10-14 18:25:11 +00:00
|
|
|
|
2017-12-14 14:16:54 +00:00
|
|
|
<<include-component "document">>
|
|
|
|
<<include-component "heading">>
|
|
|
|
<<include-component "paragraph">>
|
|
|
|
<<include-component "note">>
|
|
|
|
<<include-component "list">>
|
|
|
|
<<include-component "item">>
|
|
|
|
<<include-component "image">>
|
|
|
|
<<include-component "def-list">>
|
|
|
|
<<include-component "term">>
|
|
|
|
<<include-component "definition">>
|