1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 06:44:50 +00:00
TiddlyWiki5/core/ui/MoreSideBar/Globals.tid
jeremy@jermolene.com ecd467496d Add custom view template body for globals, and a new sidebar tab under "more"
And also a custom view template title that greys out the $:/global/ part of the title
2022-09-10 11:03:40 +01:00

17 lines
562 B
Plaintext

title: $:/core/ui/MoreSideBar/Globals
tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/Globals/Caption}}
<$list filter="[all[tiddlers+shadows]prefix[$:/global/]sort[]]">
<div class="tc-menu-list-item">
<$link>
<$let
name={{{ [<currentTiddler>removeprefix[$:/global/]] }}}
type={{{ [{!!_is_macro}match[yes]then[macro]] :else[{!!_is_function}match[yes]then[function]] :else[{!!_is_procedure}match[yes]then[procedure]] :else[{!!_is_widget}match[yes]then[widget]] :else[[variable]] }}}
>
{{$:/language/Globals/ListItem}}
</$let>
</$link>
</div>
</$list>