diff --git a/src/wmo/$__TraitTag_WMO_Core.json b/src/wmo/$__TraitTag_WMO_Core.json new file mode 100644 index 0000000..74b6aba --- /dev/null +++ b/src/wmo/$__TraitTag_WMO_Core.json @@ -0,0 +1,13 @@ +[ + { + "created": "20240608173327437", + "text": "Tiddlywiki fields used by the core.", + "title": "$:/TraitTag/WMO/Core", + "tags": "$:/SuperTag/TraitTag", + "type": "text/vnd.tiddlywiki", + "modified": "20240608174742089", + "url": "https://tiddlywiki.com/#TiddlerFields", + "schema": "{\n \"type\": \"object\",\n \"lingo-base\": \"$:/plugins/linonetwo/wmo/language/\",\n \"properties\": {\n \"class\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Class/Title\",\n \"description\": \"TraitTag/WMO/Core/Class/Description\"\n },\n \"code-body\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/CodeBody/Title\",\n \"description\": \"TraitTag/WMO/Core/CodeBody/Description\"\n },\n \"color\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Color/Title\",\n \"description\": \"TraitTag/WMO/Core/Color/Description\"\n },\n \"description\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Description/Title\",\n \"description\": \"TraitTag/WMO/Core/Description/Description\"\n },\n \"draft.of\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/DraftOf/Title\",\n \"description\": \"TraitTag/WMO/Core/DraftOf/Description\"\n },\n \"draft.title\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/DraftTitle/Title\",\n \"description\": \"TraitTag/WMO/Core/DraftTitle/Description\"\n },\n \"footer\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Footer/Title\",\n \"description\": \"TraitTag/WMO/Core/Footer/Description\"\n },\n \"hide-body\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/HideBody/Title\",\n \"description\": \"TraitTag/WMO/Core/HideBody/Description\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Icon/Title\",\n \"description\": \"TraitTag/WMO/Core/Icon/Description\"\n },\n \"library\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Library/Title\",\n \"description\": \"TraitTag/WMO/Core/Library/Description\"\n },\n \"list-after\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/ListAfter/Title\",\n \"description\": \"TraitTag/WMO/Core/ListAfter/Description\"\n },\n \"list-before\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/ListBefore/Title\",\n \"description\": \"TraitTag/WMO/Core/ListBefore/Description\"\n },\n \"name\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Name/Title\",\n \"description\": \"TraitTag/WMO/Core/Name/Description\"\n },\n \"plugin-priority\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/PluginPriority/Title\",\n \"description\": \"TraitTag/WMO/Core/PluginPriority/Description\"\n },\n \"plugin-type\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/PluginType/Title\",\n \"description\": \"TraitTag/WMO/Core/PluginType/Description\"\n },\n \"source\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Source/Title\",\n \"description\": \"TraitTag/WMO/Core/Source/Description\"\n },\n \"subtitle\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/Subtitle/Title\",\n \"description\": \"TraitTag/WMO/Core/Subtitle/Description\"\n },\n \"throttle.refresh\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/ThrottleRefresh/Title\",\n \"description\": \"TraitTag/WMO/Core/ThrottleRefresh/Description\"\n },\n \"toc-link\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/TocLink/Title\",\n \"description\": \"TraitTag/WMO/Core/TocLink/Description\"\n },\n \"_canonical_uri\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Core/CanonicalUri/Title\",\n \"description\": \"TraitTag/WMO/Core/CanonicalUri/Description\"\n }\n }\n}", + "wl-field-name-text": "schema" + } +] \ No newline at end of file diff --git a/src/wmo/$__TraitTag_WMO_Standard.json b/src/wmo/$__TraitTag_WMO_Standard.json new file mode 100644 index 0000000..4e506aa --- /dev/null +++ b/src/wmo/$__TraitTag_WMO_Standard.json @@ -0,0 +1,13 @@ +[ + { + "created": "20240608173327437", + "text": "Standard tiddlywiki fields.", + "title": "$:/TraitTag/WMO/Standard", + "tags": "$:/SuperTag/TraitTag", + "type": "text/vnd.tiddlywiki", + "modified": "20240608174008307", + "url": "https://tiddlywiki.com/#TiddlerFields", + "schema": "{\n \"type\": \"object\",\n \"lingo-base\": \"$:/plugins/linonetwo/wmo/language/\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Title/Title\",\n \"description\": \"TraitTag/WMO/Standard/Title/Description\"\n },\n \"text\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Text/Title\",\n \"description\": \"TraitTag/WMO/Standard/Text/Description\"\n },\n \"modified\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Modified/Title\",\n \"description\": \"TraitTag/WMO/Standard/Modified/Description\",\n \"format\": \"datetime-local\"\n },\n \"modifier\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Modifier/Title\",\n \"description\": \"TraitTag/WMO/Standard/Modifier/Description\"\n },\n \"created\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Created/Title\",\n \"description\": \"TraitTag/WMO/Standard/Created/Description\",\n \"format\": \"datetime-local\"\n },\n \"creator\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Creator/Title\",\n \"description\": \"TraitTag/WMO/Standard/Creator/Description\"\n },\n \"tags\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Tags/Title\",\n \"description\": \"TraitTag/WMO/Standard/Tags/Description\"\n },\n \"type\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Type/Title\",\n \"description\": \"TraitTag/WMO/Standard/Type/Description\"\n },\n \"list\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/List/Title\",\n \"description\": \"TraitTag/WMO/Standard/List/Description\"\n },\n \"caption\": {\n \"type\": \"string\",\n \"title\": \"TraitTag/WMO/Standard/Caption/Title\",\n \"description\": \"TraitTag/WMO/Standard/Caption/Description\"\n }\n }\n}", + "wl-field-name-text": "schema" + } +] \ No newline at end of file diff --git a/src/wmo/language/en-GB/Readme.tid b/src/wmo/language/en-GB/Readme.tid new file mode 100644 index 0000000..4604aa6 --- /dev/null +++ b/src/wmo/language/en-GB/Readme.tid @@ -0,0 +1,19 @@ +title: $:/plugins/linonetwo/wmo/language/en-GB/Readme + +\procedure lingo-base() $:/plugins/linonetwo/wmo/language/ + +! <> + +<> + +!! Presentation + +After installing the "SuperTag" plugin, you can expand the form below to see the details: + +!!! Standard (common to all wikis) + +<$json-editor-form filter="[[$:/TraitTag/WMO/Standard]get[schema]]" tiddler="$:/temp/WMO-example" /> + +!!! Core (used by TW5 official website) + +<$json-editor-form filter="[[$:/TraitTag/WMO/Core]get[schema]]" tiddler="$:/temp/WMO-example" /> diff --git a/src/wmo/language/en-GB/TraitTags.multids b/src/wmo/language/en-GB/TraitTags.multids new file mode 100644 index 0000000..95938d8 --- /dev/null +++ b/src/wmo/language/en-GB/TraitTags.multids @@ -0,0 +1,63 @@ +title: $:/plugins/linonetwo/wmo/language/en-GB/ + +TraitTag/WMO/Standard/Title/Title: Title +TraitTag/WMO/Standard/Title/Description: The unique name of a tiddler +TraitTag/WMO/Standard/Text/Title: Text +TraitTag/WMO/Standard/Text/Description: The body text of a tiddler +TraitTag/WMO/Standard/Modified/Title: Modified +TraitTag/WMO/Standard/Modified/Description: The date and time at which a tiddler was last modified +TraitTag/WMO/Standard/Modifier/Title: Modifier +TraitTag/WMO/Standard/Modifier/Description: The tiddler title associated with the person who last modified a tiddler +TraitTag/WMO/Standard/Created/Title: Created +TraitTag/WMO/Standard/Created/Description: The date a tiddler was created +TraitTag/WMO/Standard/Creator/Title: Creator +TraitTag/WMO/Standard/Creator/Description: The name of the person who created a tiddler +TraitTag/WMO/Standard/Tags/Title: Tags +TraitTag/WMO/Standard/Tags/Description: A list of tags associated with a tiddler +TraitTag/WMO/Standard/Type/Title: Type +TraitTag/WMO/Standard/Type/Description: The content type of a tiddler +TraitTag/WMO/Standard/List/Title: List +TraitTag/WMO/Standard/List/Description: An ordered list of tiddler titles associated with a tiddler – see ListField +TraitTag/WMO/Standard/Caption/Title: Caption +TraitTag/WMO/Standard/Caption/Description: The text to be displayed on a tab or button + +TraitTag/WMO/Core/Class/Title: Class +TraitTag/WMO/Core/Class/Description: +TraitTag/WMO/Core/CodeBody/Title: Code Body +TraitTag/WMO/Core/CodeBody/Description: Introduced in v5.2.1 The view template will display the tiddler as code if set to yes +TraitTag/WMO/Core/Color/Title: Color +TraitTag/WMO/Core/Color/Description: The CSS color value associated with a tiddler +TraitTag/WMO/Core/Description/Title: Description +TraitTag/WMO/Core/Description/Description: The descriptive text for a plugin, or a modal dialogue +TraitTag/WMO/Core/DraftOf/Title: Draft Of +TraitTag/WMO/Core/DraftOf/Description: For draft tiddlers, contains the title of the tiddler of which this is a draft +TraitTag/WMO/Core/DraftTitle/Title: Draft Title +TraitTag/WMO/Core/DraftTitle/Description: For draft tiddlers, contains the proposed new title of the tiddler +TraitTag/WMO/Core/Footer/Title: Footer +TraitTag/WMO/Core/Footer/Description: The footer text for a modal +TraitTag/WMO/Core/HideBody/Title: Hide Body +TraitTag/WMO/Core/HideBody/Description: The view template will hide bodies of tiddlers if set to yes +TraitTag/WMO/Core/Icon/Title: Icon +TraitTag/WMO/Core/Icon/Description: The title of the tiddler containing the icon associated with a tiddler +TraitTag/WMO/Core/Library/Title: Library +TraitTag/WMO/Core/Library/Description: Indicates that a tiddler should be saved as a JavaScript library if set to yes +TraitTag/WMO/Core/ListAfter/Title: List After +TraitTag/WMO/Core/ListAfter/Description: If set, the title of the tiddler after which this tiddler should be added to the ordered list of tiddler titles, or at the end of the list if this field is present but empty +TraitTag/WMO/Core/ListBefore/Title: List Before +TraitTag/WMO/Core/ListBefore/Description: If set, the title of a tiddler before which this tiddler should be added to the ordered list of tiddler titles, or at the start of the list if this field is present but empty +TraitTag/WMO/Core/Name/Title: Name +TraitTag/WMO/Core/Name/Description: The human readable name associated with a plugin tiddler +TraitTag/WMO/Core/PluginPriority/Title: Plugin Priority +TraitTag/WMO/Core/PluginPriority/Description: A numerical value indicating the priority of a plugin tiddler +TraitTag/WMO/Core/PluginType/Title: Plugin Type +TraitTag/WMO/Core/PluginType/Description: The type of plugin in a plugin tiddler +TraitTag/WMO/Core/Source/Title: Source +TraitTag/WMO/Core/Source/Description: The source URL associated with a tiddler +TraitTag/WMO/Core/Subtitle/Title: Subtitle +TraitTag/WMO/Core/Subtitle/Description: The subtitle text for a modal +TraitTag/WMO/Core/ThrottleRefresh/Title: Throttle Refresh +TraitTag/WMO/Core/ThrottleRefresh/Description: If present, throttles refreshes of this tiddler +TraitTag/WMO/Core/TocLink/Title: Toc Link +TraitTag/WMO/Core/TocLink/Description: Suppresses the tiddler's link in a Table of Contents tree if set to no +TraitTag/WMO/Core/CanonicalUri/Title: Canonical URI +TraitTag/WMO/Core/CanonicalUri/Description: The full URI of an external image tiddler \ No newline at end of file diff --git a/src/wmo/language/en-GB/Translations.multids b/src/wmo/language/en-GB/Translations.multids new file mode 100644 index 0000000..3f7eb51 --- /dev/null +++ b/src/wmo/language/en-GB/Translations.multids @@ -0,0 +1,4 @@ +title: $:/plugins/linonetwo/wmo/language/en-GB/ + +Name: TiddlyWiki Common Ontology +Description: TiddlyWiki Common/Consensus Metadata Ontology. I18n for fields like `title` `caption` `modified`. \ No newline at end of file diff --git a/src/wmo/language/zh-Hans/Readme.tid b/src/wmo/language/zh-Hans/Readme.tid new file mode 100644 index 0000000..f467f49 --- /dev/null +++ b/src/wmo/language/zh-Hans/Readme.tid @@ -0,0 +1,19 @@ +title: $:/plugins/linonetwo/wmo/language/zh-Hans/Readme + +\procedure lingo-base() $:/plugins/linonetwo/wmo/language/ + +! <> + +<> + +!! 介绍 + +在安装了「超级标签」插件(即 SuperTag 插件)后,可以展开下面的表单查看详情: + +!!! 标准(所有知识库通用) + +<$json-editor-form filter="[[$:/TraitTag/WMO/Standard]get[schema]]" tiddler="$:/temp/WMO-example" /> + +!!! 核心(TW5官网使用的) + +<$json-editor-form filter="[[$:/TraitTag/WMO/Core]get[schema]]" tiddler="$:/temp/WMO-example" /> diff --git a/src/wmo/language/zh-Hans/TraitTags.multids b/src/wmo/language/zh-Hans/TraitTags.multids new file mode 100644 index 0000000..2d362b3 --- /dev/null +++ b/src/wmo/language/zh-Hans/TraitTags.multids @@ -0,0 +1,65 @@ +title: $:/plugins/linonetwo/wmo/language/zh-Hans/ + +TraitTag/WMO/Standard/Title/Title: 标题 +TraitTag/WMO/Standard/Title/Description: 条目的唯一名称 +TraitTag/WMO/Standard/Text/Title: 文本 +TraitTag/WMO/Standard/Text/Description: 条目的内文 +TraitTag/WMO/Standard/Modified/Title: 修改日期 +TraitTag/WMO/Standard/Modified/Description: 条目的最近修改日期与时间 +TraitTag/WMO/Standard/Modifier/Title: 修改者 +TraitTag/WMO/Standard/Modifier/Description: 条目的最近修改者 +TraitTag/WMO/Standard/Created/Title: 创建日期 +TraitTag/WMO/Standard/Created/Description: 条目的创建日期 +TraitTag/WMO/Standard/Creator/Title: 创建者 +TraitTag/WMO/Standard/Creator/Description: 条目的创建者 +TraitTag/WMO/Standard/Tags/Title: 标签 +TraitTag/WMO/Standard/Tags/Description: 条目的标签清单 +TraitTag/WMO/Standard/Type/Title: 类型 +TraitTag/WMO/Standard/Type/Description: 条目的内容类型 +TraitTag/WMO/Standard/List/Title: 列表 +TraitTag/WMO/Standard/List/Description: 条目的列表,指定一些条目的标题清单 – 详见 ListField +TraitTag/WMO/Standard/Caption/Title: 标题文字 +TraitTag/WMO/Standard/Caption/Description: 显示于页签或按钮上的标题文字 + +TraitTag/WMO/Core/Class/Title: CSS类 +TraitTag/WMO/Core/Class/Description: 5.1.16 版引进 渲染条目时,套用到条目的 CSS 类 - 请参阅依自订类别的自订样式。也适用于互动窗口 +TraitTag/WMO/Core/CodeBody/Title: 代码体 +TraitTag/WMO/Core/CodeBody/Description: 5.2.1 版引进 若设置为 yes,视图模板将以程式码形式显示条目 +TraitTag/WMO/Core/Color/Title: 颜色 +TraitTag/WMO/Core/Color/Description: 条目的 CSS 颜色值 +TraitTag/WMO/Core/Description/Title: 描述 +TraitTag/WMO/Core/Description/Description: 插件的说明、描述 +TraitTag/WMO/Core/DraftOf/Title: 草稿条目 +TraitTag/WMO/Core/DraftOf/Description: 草稿条目,包含条目的标题、标签、字段 ... +TraitTag/WMO/Core/DraftTitle/Title: 草稿标题 +TraitTag/WMO/Core/DraftTitle/Description: 草稿条目的标题 +TraitTag/WMO/Core/Footer/Title: 注脚 +TraitTag/WMO/Core/Footer/Description: 互动窗口的注脚 +TraitTag/WMO/Core/HideBody/Title: 隐藏主体 +TraitTag/WMO/Core/HideBody/Description: 若设置为 yes,视图模板将隐藏条目的主体 +TraitTag/WMO/Core/Icon/Title: 图标 +TraitTag/WMO/Core/Icon/Description: 条目的标题含有与条目关联的图标 +TraitTag/WMO/Core/Library/Title: 库 +TraitTag/WMO/Core/Library/Description: 若设置为 yes,表示条目应该被保存为一个 JavaScript 程序库 +TraitTag/WMO/Core/ListAfter/Title: 列表后 +TraitTag/WMO/Core/ListAfter/Description: 当前条目名称将被添加到条目排序清单的设置条目名称之后,或若此字段存在但是空的,则被添加于清单的尾端 +TraitTag/WMO/Core/ListBefore/Title: 列表前 +TraitTag/WMO/Core/ListBefore/Description: 前条目名称将被添加到条目排序清单中的设置条目名称之前,或若此字段存在但是空的,则被添加于清单的前端 +TraitTag/WMO/Core/Name/Title: 名称 +TraitTag/WMO/Core/Name/Description: 具可读性的插件条目的名称 +TraitTag/WMO/Core/PluginPriority/Title: 插件优先级 +TraitTag/WMO/Core/PluginPriority/Description: 插件条目的优先级数值 +TraitTag/WMO/Core/PluginType/Title: 插件类型 +TraitTag/WMO/Core/PluginType/Description: 插件条目的类型 +TraitTag/WMO/Core/Stability/Title: 稳定性 +TraitTag/WMO/Core/Stability/Description: 插件的开发状态:已弃用、实验性、稳定或旧版 +TraitTag/WMO/Core/Source/Title: 源 +TraitTag/WMO/Core/Source/Description: 条目的网址 +TraitTag/WMO/Core/Subtitle/Title: 副标题 +TraitTag/WMO/Core/Subtitle/Description: 互动窗口的副标题 +TraitTag/WMO/Core/ThrottleRefresh/Title: 限制刷新 +TraitTag/WMO/Core/ThrottleRefresh/Description: 如果存在,则限制此条目的刷新 +TraitTag/WMO/Core/TocLink/Title: 目录链接 +TraitTag/WMO/Core/TocLink/Description: 若设置为 no,则抑制目录树中的条目链接。 +TraitTag/WMO/Core/CanonicalUri/Title: 规范 URI +TraitTag/WMO/Core/CanonicalUri/Description: 外部图像条目的完整的 URI \ No newline at end of file diff --git a/src/wmo/language/zh-Hans/Translations.multids b/src/wmo/language/zh-Hans/Translations.multids new file mode 100644 index 0000000..532f582 --- /dev/null +++ b/src/wmo/language/zh-Hans/Translations.multids @@ -0,0 +1,4 @@ +title: $:/plugins/linonetwo/wmo/language/zh-Hans/ + +Name: 太微通用本体 +Description: 太微通用的/有共识的元数据本体。翻译了 `title` `caption` `modified` 等字段。 \ No newline at end of file diff --git a/src/wmo/plugin.info b/src/wmo/plugin.info new file mode 100644 index 0000000..760f283 --- /dev/null +++ b/src/wmo/plugin.info @@ -0,0 +1,9 @@ +{ + "title": "$:/plugins/linonetwo/wmo", + "name": "wmo", + "author": "linonetwo", + "description": "TiddlyWiki Common/Consensus Metadata Ontology. I18n for fields like `title` `caption` `modified`.", + "plugin-type": "plugin", + "version": "0.0.1", + "list": "readme" +} \ No newline at end of file diff --git a/src/wmo/readme.tid b/src/wmo/readme.tid new file mode 100644 index 0000000..f488745 --- /dev/null +++ b/src/wmo/readme.tid @@ -0,0 +1,6 @@ +title: $:/plugins/linonetwo/wmo/readme +type: text/vnd.tiddlywiki + +\procedure lingo-base() $:/plugins/linonetwo/wmo/language/ + +<> \ No newline at end of file diff --git a/src/wmo/tree.tid b/src/wmo/tree.tid new file mode 100644 index 0000000..befafc0 --- /dev/null +++ b/src/wmo/tree.tid @@ -0,0 +1,5 @@ +title: $:/plugins/linonetwo/wmo/tree +creator: LinOnetwo +type: text/vnd.tiddlywiki + +<> \ No newline at end of file diff --git a/wiki/tiddlers/$__DefaultTiddlers.tid b/wiki/tiddlers/$__DefaultTiddlers.tid index c78f336..ad3164f 100644 --- a/wiki/tiddlers/$__DefaultTiddlers.tid +++ b/wiki/tiddlers/$__DefaultTiddlers.tid @@ -5,4 +5,4 @@ modifier: 林一二 title: $:/DefaultTiddlers type: text/vnd.tiddlywiki -Index Examples \ No newline at end of file +Index Examples $:/plugins/linonetwo/wmo \ No newline at end of file diff --git a/wiki/tiddlers/plugins/$__plugins_wikilabs_field-editor.json b/wiki/tiddlers/plugins/$__plugins_wikilabs_field-editor.json index d2e30cf..99766d0 100644 --- a/wiki/tiddlers/plugins/$__plugins_wikilabs_field-editor.json +++ b/wiki/tiddlers/plugins/$__plugins_wikilabs_field-editor.json @@ -1 +1 @@ -{"tiddlers":{"$:/plugins/wikilabs/ui/EditTemplate/body/editor":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body/editor","type":"text/vnd.tiddlywiki","text":"\\whitespace trim\n\n<$edit tag=textarea field=<> class=\"tc-edit-texteditor tc-edit-texteditor-body\"\n placeholder={{$:/language/EditTemplate/Body/Placeholder}} tabindex={{$:/config/EditTabIndex}}\n focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}} cancelPopups=\"yes\"\n fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}>\n <$set name=\"targetTiddler\" value=<> >\n <$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]\">\n <$reveal type=\"nomatch\" state=<> text=\"hide\" class=\"tc-text-editor-toolbar-item-wrapper\">\n <$transclude tiddler=\"$:/core/ui/EditTemplate/body/toolbar/button\" mode=\"inline\"/>\n \n \n <$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]\">\n <$list filter={{!!condition}} variable=\"list-condition\">\n <$transclude/>\n \n \n \n\n"},"$:/plugins/wikilabs/ui/EditTemplate/TiddlerInfo":{"title":"$:/plugins/wikilabs/ui/EditTemplate/TiddlerInfo","list-before":"$:/core/ui/EditTemplate/title","tags":"$:/tags/EditTemplate","text":"<$reveal type=\"nomatch\" text=\"\" default=\"\" state=<> class=\"tc-tiddler-info tc-popup-handle\" animate=\"yes\" retain=\"yes\">\n\n<$transclude tiddler=\"$:/core/ui/TiddlerInfo\" mode=\"block\"/>\n\n"},"$:/plugins/wikilabs/field-editor/edit/Buttons/info":{"title":"$:/plugins/wikilabs/field-editor/edit/Buttons/info","caption":"{{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}","description":"{{$:/language/Buttons/Info/Hint}}","list-before":"$:/core/ui/Buttons/cancel","tags":"$:/tags/EditToolbar","text":"<$transclude tiddler=\"$:/core/ui/Buttons/info\"/>"},"$:/config/wikilabs/EditTemplateBodyFilters/default":{"title":"$:/config/wikilabs/EditTemplateBodyFilters/default","description":"This filter completely replaces the default EditTemplate/body","list-before":"$:/config/EditTemplateBodyFilters/default","tags":"$:/tags/EditTemplateBodyFilter","text":"[[$:/plugins/wikilabs/ui/EditTemplate/body]]"},"$:/config/EditTemplateFields/Visibility/wl-field-name-note":{"title":"$:/config/EditTemplateFields/Visibility/wl-field-name-note","text":"hide"},"$:/config/EditTemplateFields/Visibility/wl-field-name-text":{"title":"$:/config/EditTemplateFields/Visibility/wl-field-name-text","text":"hide"},"$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/info":{"title":"$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/info","text":"show"},"$:/plugins/wikilabs/ui/EditTemplate/body":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body","info":"will be included via EditBody Cascade","text":"\\define config-visibility-title()\n$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$\n\\end\n\n\\define importFileActions()\n<$action-popup $state=<> $coords=\"(0,0,0,0)\" $floating=\"yes\"/>\n\\end\n\n\\whitespace trim\n<$let\n\teditPreviewStateTiddler={{{ [{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[] }}}\n\timportTitle=<>\n\timportState=<>\n\twl-field-name-text={{{[all[current]get[wl-field-name-text]!is[blank]else[text]]}}} \n\twl-field-name-note={{{[all[current]get[wl-field-name-note]!is[blank]else[text]]}}} edit-note-state=<>\n>\n\t<$dropzone importTitle=<> autoOpenOnImport=\"no\" \n\t\t\tcontentTypesFilter={{$:/config/Editor/ImportContentTypesFilter}}\n\t\t\tclass=\"tc-dropzone-editor\" enable={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}\n\t\t\tfilesOnly=\"yes\" actions=<> >\n\t\t\n\t\t<$reveal stateTitle=<> type=\"match\" text=\"yes\" tag=\"div\" \n\t\t\t\tclass={{{[match[text]then[tc-tiddler-preview]else[field-warning tc-tiddler-preview]] [[tc-tiddler-editor]] +[join[ ]]}}}>\n\t\t\t\n\t\t\t<$transclude tiddler=\"$:/plugins/wikilabs/ui/EditTemplate/body/editor\" mode=\"inline\"/>\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t<$transclude tiddler={{$:/state/editpreviewtype}} mode=\"inline\">\n\t\t\t\t\t\n\t\t\t\t\t<$transclude tiddler=\"$:/core/ui/EditTemplate/body/preview/output\" mode=\"inline\"/>\n\t\t\t\t\n\t\t\t
\n\t\t\n\t\t\n\t\t
get[text]match[yes]then[both clearfix]else[]]}}}>\n\t\t\t<$reveal stateTitle=<> type=\"match\" text=\"no\" default=\"no\"\n\t\t\t\t\tclass={{{[match[text]then[left-half]else[left-half field-warning]]}}} tag=\"div\">\n\t\t\t\t<$transclude tiddler=\"$:/plugins/wikilabs/ui/EditTemplate/body/editor\" mode=\"inline\"/>\n\t\t\t\n\t\t\n\t\t\t<$reveal stateTitle=<> type=\"match\" text=\"yes\"\n\t\t\t\t\tclass={{{[match[text]then[right-half]else[right-half field-warning]]}}} tag=\"div\">\n\t\t\t\t<$transclude tiddler=\"$:/plugins/wikilabs/ui/EditTemplate/note/editor\" mode=\"inline\"/>\n\t\t\t\n\t\t
\n\t\n\n"},"$:/plugins/wikilabs/ui/EditTemplate/body/preview/note":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body/preview/note","caption":"{{$:/language/EditTemplate/Body/Preview/Type/Output}} (edit field)","created":"20221229122428844","list-after":"$:/core/ui/EditTemplate/body/preview/output","modified":"20221229124326754","tags":"$:/tags/EditPreview","type":"text/vnd.tiddlywiki","text":"<$transclude field=<> >\n\n<$transclude tiddler=\"$:/language/MissingTiddler/Hint\"/>\n\n\n"},"$:/plugins/wikilabs/ui/EditTemplate/body/show-active-note-field":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body/show-active-note-field","condition":"a","tags":"$:/tags/EditorTools/Note","text":"\\whitespace trim\n\\define vis-prefix() $:/config/EditTemplateFields/Visibility/\n
Field: <$select class=\"tc-tiny-gap-left\" tiddler=<> field=\"wl-field-name-note\" default=\"text\">\n\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/wikilabs/fieldswitcher]get[text]trim[]]\">\n\t\t\n\t\n
"},"$:/plugins/wikilabs/ui/EditTemplate/body/show-active-text-field":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body/show-active-text-field","condition":"show","tags":"$:/tags/EditorTools","text":"\\whitespace trim\n\\define vis-prefix() $:/config/EditTemplateFields/Visibility/\n
Field: <$select class=\"tc-tiny-gap-left\" tiddler=<> field=\"wl-field-name-text\" default=\"text\">\n\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/wikilabs/fieldswitcher]get[text]trim[]]\">\n\t\t\n\t\n
"},"$:/plugins/wikilabs/ui/EditTemplate/note/editor":{"title":"$:/plugins/wikilabs/ui/EditTemplate/note/editor","text":"\\whitespace trim\n\n<$edit tag=textarea field=<> class=\"tc-edit-texteditor tc-edit-texteditor-body\"\n\tplaceholder={{$:/language/EditTemplate/Body/Placeholder}} tabindex={{$:/config/EditTabIndex}}\n\tfocus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}} cancelPopups=\"yes\"\n\tfileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}>\n\t<$set name=\"targetTiddler\" value=<> >\n\t\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]\">\n\t\t\t<$reveal type=\"nomatch\" state=<> text=\"hide\" class=\"tc-text-editor-toolbar-item-wrapper\">\n\t\t\t\t<$transclude tiddler=\"$:/core/ui/EditTemplate/body/toolbar/button\" mode=\"inline\"/>\n\t\t\t\n\t\t\n\t\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditorTools/Note]!has[draft.of]]\">\n\t\t\t<$list filter={{!!condition}} variable=\"list-condition\">\n\t\t\t\t<$transclude/>\n\t\t\t\n\t\t\n\t\n\n"},"$:/images/layout-full":{"title":"$:/images/layout-full","tags":"$:/tags/Image Icons Images SVG","text":""},"$:/images/layout-half":{"title":"$:/images/layout-half","tags":"$:/tags/Image Icons Images SVG","text":" "},"$:/plugins/wikilabs/ui/EditorToolbar/note":{"title":"$:/plugins/wikilabs/ui/EditorToolbar/note","button-classes":"tc-text-editor-toolbar-item-start-group","caption":"note","condition":"[]","custom-icon":"yes","description":"Toggle Note","icon":"$:/core/images/spiral","shortcuts":"((note))","tags":"$:/tags/EditorToolbar","text":"\\whitespace trim\n<$reveal state=<> type=\"match\" text=\"yes\" tag=\"span\">\n\t{{$:/images/layout-full}}\n\t<$action-setfield $tiddler=<> $value=\"no\"/>\n\n<$reveal state=<> type=\"nomatch\" text=\"yes\" tag=\"span\">\n\t{{$:/images/layout-half}}\n\t<$action-setfield $tiddler=<> $value=\"yes\"/>\n\t<$action-setfield $tiddler=<> $value=\"no\"/>\n\n"},"$:/plugins/wikilabs/field-editor/EditTemplate":{"title":"$:/plugins/wikilabs/field-editor/EditTemplate","description":"This template adds tiddlerInfoState, which is needed for the info-area-button in edit mode then it calls the core EditTemplate","text":"<$let tiddlerInfoState=<> >\n\n<$transclude tiddler=\"$:/core/ui/EditTemplate\" />\n\n\n"},"$:/plugins/wikilabs/EditTemplate/fieldEditor/overwrite-warning":{"title":"$:/plugins/wikilabs/EditTemplate/fieldEditor/overwrite-warning","list-after":"$:/core/ui/EditTemplate/fields","tags":"$:/tags/EditTemplate","text":"\\whitespace trim\n<$set name=\"Field\" value={{{ [get[text]] }}}>\n\t<$list filter={{{ [all[current]hasthen[yes]else[]] }}} variable=ignore>\n\t\t
''Warning:'' The field ''\"<>\"'' exists. It may be hidden\n\t\t
It contains\n\t\t\t
<$view field=<> format=text/>
\n\t\t
\n\t\t
\n\t\n"},"$:/config/TiddlerInfo/Mode":{"title":"$:/config/TiddlerInfo/Mode","text":"sticky"},"$:/state/editpreviewtype":{"title":"$:/state/editpreviewtype","text":"$:/plugins/wikilabs/ui/EditTemplate/body/preview/note"},"$:/state/wikilabs/viewtemplate/body/active/field":{"title":"$:/state/wikilabs/viewtemplate/body/active/field","text":"$:/config/wikilabs/field-editor/text"},"$:/plugins/wikilabs/field-editor/history":{"title":"$:/plugins/wikilabs/field-editor/history","text":"V 1.0.0 2023.12.27\n\n* Adjust editor preview for TW v5.3.3\n* Set plugin verion to 1.0.0\n\nV 0.2.1 2023.03.14\n\n* enable tiddler (i)nfo button in edit-mode again. I has been disabled by accident.\n* Add more info to readme .. See Important section!\n\nV 0.2.0 2022.12.29\n\n* fix preview - new option in preview output dropdown\n* adjust EditTemplate to use cascade filters\n* fix problem with field switcher\n* Update to TW v5.2.5\n\nV 0.1.1 2022.08.04\n\n* Update to TW v5.2.3\n\nV 0.1.0 2021.11.21\n\n* Complete rewrite to avoid changing core components as much as possible\n* ''Important'': Changed license to Attribution-NonCommercial-ShareAlike -- [[CC-BY-NC-SA|$:/plugins/wikilabs/field-editor/license]]\n\nV 0.0.1\n\n* Initial release tested down to TODO\n"},"$:/plugins/wikilabs/field-editor/license":{"title":"$:/plugins/wikilabs/field-editor/license","license-text":"https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode","text":"[[Multiline Field Editor|https://wikilabs.github.io/#field-editor]] (c) Mario Pietsch - 2021-2024\n\n[[Creative Commons Attribution-NonCommercial-ShareAlike|https://creativecommons.org/licenses/by-nc-sa/4.0/]]\n"},"$:/plugins/wikilabs/field-editor/readme":{"title":"$:/plugins/wikilabs/field-editor/readme","text":"\\define createFieldSwitcherElement()\n<$action-createtiddler $basetitle=\"$:/config/wikilabs/field-editor/\" $template=\"$:/config/wikilabs/field-editor/text\" tags=\"$:/tags/wikilabs/fieldswitcher\" description=\"Add a short description text here and replace the icon below\" icon=\"{{$:/core/images/spiral}}\" $overwrite=\"yes\" text=\"yourFieldName\"/>\n<$action-sendmessage $message=\"tm-edit-tiddler\" $param=\"$:/config/wikilabs/field-editor/\"/>\n\\end\n\n!! About\n\nThis plugin adds a field selector above the text editor and a new button that allows you to edit different fields in multiline edit mode side by side\n\n!! Video\n\nSee: [[Video]]\n\n!! Create a new Field Switcher Element\n\nTo create a new field-switcher button click the button below and follow the instructions.\n\n<$button actions=<> >\nCreate a new Field Switcher Element\n\n\n!! Toggle Field label\n\nBy default a label is shown, when the tiddler shows a filed different to the \"text\" field.\n\n<$checkbox tiddler=\"$:/config/wikilabs/show-field-label\" field=text checked=\"yes\" unchecked=\"no\" default=\"yes\"> Show Field Label\n\n!!! ''Imporant''\n\n* If you use an icon it has to be covered in double curly braces eg: `{{$:/core/images/globe}}`.\n* Icons can be found at the [[Image Gallery Examples|https://tiddlywiki.com/#Icon%20Gallery:%5B%5BIcon%20Gallery%5D%5D%20%5B%5BLanguageGallery%20Example%5D%5D]]\n* [[\"TW Icons\" by morosanuae|https://tiddlywiki.com/#%22TW%20Icons%22%20by%20morosanuae]]\n\n!! Existing Field Switcher Elements\n\n<>\n\n!! Dependencies\n\nThis plugin depends on the: [[Field Visibility Plugin|https://wikilabs.github.io/editions/field-visibility]]\n\n!! Modified Core Tiddles\n\nThis plugin changes the following core tiddlers:\n\n
    <$list filter=\"[[$:/plugins/wikilabs/field-editor]plugintiddlers[]prefix[$:/core/]] [[$:/config/ui/EditTemplate]] \">
  • <$link to=<>><>
\n\n''Important:'' More information about `$:/config/ui/EditTemplate` and the edit cascades can be found at [[TiddlyWiki Docs|https://tiddlywiki.com/#Story%20Tiddler%20Template%20Cascade:%5B%5BStory%20Tiddler%20Template%20Cascade%5D%5D%20%24%3A%2Fcore%2Fui%2FControlPanel%2FStoryTiddler%20%5B%5BHidden%20Setting%3A%20ViewTemplate%20and%20EditTemplate%5D%5D%20Cascades%20%5B%5BEdit%20Template%20Body%20Cascade%5D%5D]]\n\nThe full list of tiddlers in the plugin can be found at: [[$:/plugins/wikilabs/field-editor]] '': contents'' tab."},"$:/plugins/wikilabs/field-editor/snippets/fieldswitcher":{"title":"$:/plugins/wikilabs/field-editor/snippets/fieldswitcher","text":"\\define fieldSwitcherConfig() $:/state/wikilabs/viewtemplate/body/active/field\n\\whitespace trim\n<$linkcatcher to=<> >\n
\n\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/wikilabs/fieldswitcher]]\" >\n\t\t\t
get[text]matchthen[tc-chosen]] +[join[ ]] }}} >\n\t\t\t<$link to=<> >\n\t\t\t\t\n\t\t\t\t\t<$list filter=\"[all[current]has[icon]]\">\n\t\t\t\t\t\t<$transclude field=icon />\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t<$view field=\"description\">\n\t\t\t\t\t<$view field=\"title\"/>\n\t\t\t\t\n\t\t\t\n\t\t\t
\n\t\n
\n"},"$:/config/wikilabs/field-editor/text":{"title":"$:/config/wikilabs/field-editor/text","tags":"$:/tags/wikilabs/fieldswitcher","icon":"{{$:/core/images/globe}}","description":"Text field (default)","text":"text"},"$:/plugns/wikilabs/ui/Buttons/fieldswitcher":{"title":"$:/plugns/wikilabs/ui/Buttons/fieldswitcher","caption":"{{$:/core/images/globe}} Field Switcher","tags":"$:/tags/PageControls","description":"Switch Tiddler Body Field","text":"\\whitespace trim\n\n\t<$button popup=<> tooltip=\"Switch Tiddler Body Field\" aria-label=\"Switch Tiddler Body Field\" class=<> selectedClass=\"tc-selected\">\n\t\t<$list filter=\"[match[yes]]\">\n\t\t\t\n\t\t\t\t<$transclude tiddler={{$:/state/wikilabs/viewtemplate/body/active/field}} field=\"icon\" />\n\t\t\t\n\t\t\n\t\t<$list filter=\"[match[yes]]\">\n\t\t\t<$text text=\"Field Switcher\"/>\n\t\t\n\t\n\n<$reveal state=<> type=\"popup\" position=\"below\" animate=\"yes\">\n\t
\n\t\t{{$:/plugins/wikilabs/field-editor/snippets/fieldswitcher}}\n\t
\n\n"},"$:/plugin/wikilabs/field-editor/note-styles":{"title":"$:/plugin/wikilabs/field-editor/note-styles","tags":"$:/tags/Stylesheet","text":".field-warning textarea.tc-edit-texteditor {\n border: 2px solid red;\n}\n\n.tcwl-field-label {\n float: right;\n color: #50adb1;\n}\n\n.tc-tiddler-frame.field-info {\n border: 1px solid blue;\n}\n\n.clearfix::after {\n content: \"\";\n clear: both;\n display: table;\n}\n\n.both .left-half {\n float: left;\n width: 49%;\n}\n\n.both .right-half {\n float: right;\n width: 49%;\n}\n\n"},"$:/config/ui/EditTemplate":{"title":"$:/config/ui/EditTemplate","description":"This configuration changes the edit-cascade default from: $:/core/ui/EditTemplate to: $:/plugins/wikilabs/field-editor/EditTemplate","text":"$:/plugins/wikilabs/field-editor/EditTemplate"},"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info":{"title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info","created":"20211108163044489","modified":"20211108163044489","type":"text/vnd.tiddlywiki","text":"show"},"$:/config/wikilabs/ViewTemplateBodyFilters/body/field":{"title":"$:/config/wikilabs/ViewTemplateBodyFilters/body/field","tags":"$:/tags/ViewTemplateBodyFilter","list-before":"$:/config/ViewTemplateBodyFilters/default","text":"[{$:/state/wikilabs/viewtemplate/body/active/field}get[text]trim[]!match[text]then[$:/plugins/wikilabs/field-editor/ViewTemplate/body/field]else[]]"},"$:/plugins/wikilabs/field-editor/ViewTemplate/body/field":{"title":"$:/plugins/wikilabs/field-editor/ViewTemplate/body/field","code-body":"yes","text":"<$transclude field={{{[{$:/state/wikilabs/viewtemplate/body/active/field}get[text]trim[]!match[text]]}}}>\n\n<$transclude tiddler=\"$:/core/ui/ViewTemplate/body/default\" />\n\n\n"},"$:/core/ui/ViewTemplate/subtitle":{"title":"$:/core/ui/ViewTemplate/subtitle","tags":"$:/tags/ViewTemplate","code-body":"yes","text":"\n\\whitespace trim\n<$reveal type=\"nomatch\" stateTitle=<> text=\"hide\" tag=\"div\" retain=\"yes\" animate=\"yes\" class=\"tc-subtitle\">\n\t<$link to={{!!modifier}} />\n\t<$view field=\"modified\" format=\"date\" template={{$:/language/Tiddler/DateFormat}}/>\n\t<$vars Field={{{ [{$:/state/wikilabs/viewtemplate/body/active/field}get[text]trim[]!match[text]] }}}>\n\t\t<$list filter=\"[all[current]has]\">\n\t\t\t<$reveal state=\"$:/config/wikilabs/show-field-label\" type=\"match\" text=\"yes\" default=\"yes\" tag=\"span\" class=\"tcwl-field-label\">\n\t\t\t\t<>\n\t\t\t\n\t\t\n\t\n\n"}}} \ No newline at end of file +{"tiddlers":{"$:/plugins/wikilabs/ui/EditTemplate/body/editor":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body/editor","type":"text/vnd.tiddlywiki","text":"\\whitespace trim\n\n<$edit tag=textarea field=<> class=\"tc-edit-texteditor tc-edit-texteditor-body\"\n placeholder={{$:/language/EditTemplate/Body/Placeholder}} tabindex={{$:/config/EditTabIndex}}\n focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}} cancelPopups=\"yes\"\n fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}>\n <$set name=\"targetTiddler\" value=<> >\n <$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]\">\n <$reveal type=\"nomatch\" state=<> text=\"hide\" class=\"tc-text-editor-toolbar-item-wrapper\">\n <$transclude tiddler=\"$:/core/ui/EditTemplate/body/toolbar/button\" mode=\"inline\"/>\n \n \n <$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]\">\n <$list filter={{!!condition}} variable=\"list-condition\">\n <$transclude/>\n \n \n \n\n"},"$:/plugins/wikilabs/ui/EditTemplate/TiddlerInfo":{"title":"$:/plugins/wikilabs/ui/EditTemplate/TiddlerInfo","list-before":"$:/core/ui/EditTemplate/title","tags":"$:/tags/EditTemplate","text":"<$reveal type=\"nomatch\" text=\"\" default=\"\" state=<> class=\"tc-tiddler-info tc-popup-handle\" animate=\"yes\" retain=\"yes\">\n\n<$transclude tiddler=\"$:/core/ui/TiddlerInfo\" mode=\"block\"/>\n\n"},"$:/plugins/wikilabs/field-editor/edit/Buttons/info":{"title":"$:/plugins/wikilabs/field-editor/edit/Buttons/info","caption":"{{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}","description":"{{$:/language/Buttons/Info/Hint}}","list-before":"$:/core/ui/Buttons/cancel","tags":"$:/tags/EditToolbar","text":"<$transclude tiddler=\"$:/core/ui/Buttons/info\"/>"},"$:/config/wikilabs/EditTemplateBodyFilters/default":{"title":"$:/config/wikilabs/EditTemplateBodyFilters/default","description":"This filter completely replaces the default EditTemplate/body","list-before":"$:/config/EditTemplateBodyFilters/default","tags":"$:/tags/EditTemplateBodyFilter","text":"[[$:/plugins/wikilabs/ui/EditTemplate/body]]"},"$:/config/EditTemplateFields/Visibility/wl-field-name-note":{"title":"$:/config/EditTemplateFields/Visibility/wl-field-name-note","text":"hide"},"$:/config/EditTemplateFields/Visibility/wl-field-name-text":{"title":"$:/config/EditTemplateFields/Visibility/wl-field-name-text","text":"hide"},"$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/info":{"title":"$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/info","text":"show"},"$:/plugins/wikilabs/ui/EditTemplate/body":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body","info":"will be included via EditBody Cascade","text":"\\define config-visibility-title()\n$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$\n\\end\n\n\\define importFileActions()\n<$action-popup $state=<> $coords=\"(0,0,0,0)\" $floating=\"yes\"/>\n\\end\n\n\\whitespace trim\n<$let\n\teditPreviewStateTiddler={{{ [{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[] }}}\n\timportTitle=<>\n\timportState=<>\n\twl-field-name-text={{{[all[current]get[wl-field-name-text]!is[blank]else[text]]}}} \n\twl-field-name-note={{{[all[current]get[wl-field-name-note]!is[blank]else[text]]}}} edit-note-state=<>\n>\n\t<$dropzone importTitle=<> autoOpenOnImport=\"no\" \n\t\t\tcontentTypesFilter={{$:/config/Editor/ImportContentTypesFilter}}\n\t\t\tclass=\"tc-dropzone-editor\" enable={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}\n\t\t\tfilesOnly=\"yes\" actions=<> >\n\t\t\n\t\t<$reveal stateTitle=<> type=\"match\" text=\"yes\" tag=\"div\" \n\t\t\t\tclass={{{[match[text]then[tc-tiddler-preview]else[field-warning tc-tiddler-preview]] [[tc-tiddler-editor]] +[join[ ]]}}}>\n\t\t\t\n\t\t\t<$transclude tiddler=\"$:/plugins/wikilabs/ui/EditTemplate/body/editor\" mode=\"inline\"/>\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t<$transclude tiddler={{$:/state/editpreviewtype}} mode=\"inline\">\n\t\t\t\t\t\n\t\t\t\t\t<$transclude tiddler=\"$:/core/ui/EditTemplate/body/preview/output\" mode=\"inline\"/>\n\t\t\t\t\n\t\t\t
\n\t\t\n\t\t\n\t\t
get[text]match[yes]then[both clearfix]else[]]}}}>\n\t\t\t<$reveal stateTitle=<> type=\"match\" text=\"no\" default=\"no\"\n\t\t\t\t\tclass={{{[match[text]then[left-half]else[left-half field-warning]]}}} tag=\"div\">\n\t\t\t\t<$transclude tiddler=\"$:/plugins/wikilabs/ui/EditTemplate/body/editor\" mode=\"inline\"/>\n\t\t\t\n\t\t\n\t\t\t<$reveal stateTitle=<> type=\"match\" text=\"yes\"\n\t\t\t\t\tclass={{{[match[text]then[right-half]else[right-half field-warning]]}}} tag=\"div\">\n\t\t\t\t<$transclude tiddler=\"$:/plugins/wikilabs/ui/EditTemplate/note/editor\" mode=\"inline\"/>\n\t\t\t\n\t\t
\n\t\n\n"},"$:/plugins/wikilabs/ui/EditTemplate/body/preview/note":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body/preview/note","caption":"{{$:/language/EditTemplate/Body/Preview/Type/Output}} (edit field)","created":"20221229122428844","list-after":"$:/core/ui/EditTemplate/body/preview/output","modified":"20221229124326754","tags":"$:/tags/EditPreview","type":"text/vnd.tiddlywiki","text":"<$transclude field=<> >\n\n<$transclude tiddler=\"$:/language/MissingTiddler/Hint\"/>\n\n\n"},"$:/plugins/wikilabs/ui/EditTemplate/body/show-active-note-field":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body/show-active-note-field","condition":"a","tags":"$:/tags/EditorTools/Note","text":"\\whitespace trim\n\\define vis-prefix() $:/config/EditTemplateFields/Visibility/\n
Field: <$select class=\"tc-tiny-gap-left\" tiddler=<> field=\"wl-field-name-note\" default=\"text\">\n\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/wikilabs/fieldswitcher]get[text]trim[]]\">\n\t\t\n\t\n
"},"$:/plugins/wikilabs/ui/EditTemplate/body/show-active-text-field":{"title":"$:/plugins/wikilabs/ui/EditTemplate/body/show-active-text-field","condition":"show","tags":"$:/tags/EditorTools","text":"\\whitespace trim\n\\define vis-prefix() $:/config/EditTemplateFields/Visibility/\n
Field: <$select class=\"tc-tiny-gap-left\" tiddler=<> field=\"wl-field-name-text\" default=\"text\">\n\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/wikilabs/fieldswitcher]get[text]trim[]]\">\n\t\t\n\t\n
"},"$:/plugins/wikilabs/ui/EditTemplate/note/editor":{"title":"$:/plugins/wikilabs/ui/EditTemplate/note/editor","text":"\\whitespace trim\n\n<$edit tag=textarea field=<> class=\"tc-edit-texteditor tc-edit-texteditor-body\"\n\tplaceholder={{$:/language/EditTemplate/Body/Placeholder}} tabindex={{$:/config/EditTabIndex}}\n\tfocus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}} cancelPopups=\"yes\"\n\tfileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}>\n\t<$set name=\"targetTiddler\" value=<> >\n\t\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]\">\n\t\t\t<$reveal type=\"nomatch\" state=<> text=\"hide\" class=\"tc-text-editor-toolbar-item-wrapper\">\n\t\t\t\t<$transclude tiddler=\"$:/core/ui/EditTemplate/body/toolbar/button\" mode=\"inline\"/>\n\t\t\t\n\t\t\n\t\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditorTools/Note]!has[draft.of]]\">\n\t\t\t<$list filter={{!!condition}} variable=\"list-condition\">\n\t\t\t\t<$transclude/>\n\t\t\t\n\t\t\n\t\n\n"},"$:/images/layout-full":{"title":"$:/images/layout-full","tags":"$:/tags/Image Icons Images SVG","text":""},"$:/images/layout-half":{"title":"$:/images/layout-half","tags":"$:/tags/Image Icons Images SVG","text":" "},"$:/plugins/wikilabs/ui/EditorToolbar/note":{"title":"$:/plugins/wikilabs/ui/EditorToolbar/note","button-classes":"tc-text-editor-toolbar-item-start-group","caption":"note","condition":"[]","custom-icon":"yes","description":"Toggle Note","icon":"$:/core/images/spiral","shortcuts":"((note))","tags":"$:/tags/EditorToolbar","text":"\\whitespace trim\n<$reveal state=<> type=\"match\" text=\"yes\" tag=\"span\">\n\t{{$:/images/layout-full}}\n\t<$action-setfield $tiddler=<> $value=\"no\"/>\n\n<$reveal state=<> type=\"nomatch\" text=\"yes\" tag=\"span\">\n\t{{$:/images/layout-half}}\n\t<$action-setfield $tiddler=<> $value=\"yes\"/>\n\t<$action-setfield $tiddler=<> $value=\"no\"/>\n\n"},"$:/plugins/wikilabs/field-editor/EditTemplate":{"title":"$:/plugins/wikilabs/field-editor/EditTemplate","description":"This template adds tiddlerInfoState, which is needed for the info-area-button in edit mode then it calls the core EditTemplate","text":"<$let tiddlerInfoState=<> >\n\n<$transclude tiddler=\"$:/core/ui/EditTemplate\" />\n\n\n"},"$:/plugins/wikilabs/EditTemplate/fieldEditor/overwrite-warning":{"title":"$:/plugins/wikilabs/EditTemplate/fieldEditor/overwrite-warning","list-after":"$:/core/ui/EditTemplate/fields","tags":"$:/tags/EditTemplate","text":"\\whitespace trim\n<$set name=\"Field\" value={{{ [get[text]] }}}>\n\t<$list filter={{{ [all[current]hasthen[yes]else[]] }}} variable=ignore>\n\t\t
''Warning:'' The field ''\"<>\"'' exists. It may be hidden\n\t\t
It contains\n\t\t\t
<$view field=<> format=text/>
\n\t\t
\n\t\t
\n\t\n"},"$:/config/TiddlerInfo/Mode":{"title":"$:/config/TiddlerInfo/Mode","text":"sticky"},"$:/state/editpreviewtype":{"title":"$:/state/editpreviewtype","text":"$:/plugins/wikilabs/ui/EditTemplate/body/preview/note"},"$:/state/wikilabs/viewtemplate/body/active/field":{"title":"$:/state/wikilabs/viewtemplate/body/active/field","text":"$:/config/wikilabs/field-editor/text"},"$:/plugins/wikilabs/field-editor/history":{"title":"$:/plugins/wikilabs/field-editor/history","text":"V 1.0.0 2023.12.27\n\n* Adjust editor preview for TW v5.3.3\n* Set plugin verion to 1.0.0\n\nV 0.2.1 2023.03.14\n\n* enable tiddler (i)nfo button in edit-mode again. I has been disabled by accident.\n* Add more info to readme .. See Important section!\n\nV 0.2.0 2022.12.29\n\n* fix preview - new option in preview output dropdown\n* adjust EditTemplate to use cascade filters\n* fix problem with field switcher\n* Update to TW v5.2.5\n\nV 0.1.1 2022.08.04\n\n* Update to TW v5.2.3\n\nV 0.1.0 2021.11.21\n\n* Complete rewrite to avoid changing core components as much as possible\n* ''Important'': Changed license to Attribution-NonCommercial-ShareAlike -- [[CC-BY-NC-SA|$:/plugins/wikilabs/field-editor/license]]\n\nV 0.0.1\n\n* Initial release tested down to TODO\n"},"$:/plugins/wikilabs/field-editor/license":{"title":"$:/plugins/wikilabs/field-editor/license","license-text":"https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode","text":"[[Multiline Field Editor|https://wikilabs.github.io/#field-editor]] (c) Mario Pietsch - 2021-2024\n\n[[Creative Commons Attribution-NonCommercial-ShareAlike|https://creativecommons.org/licenses/by-nc-sa/4.0/]]\n"},"$:/plugins/wikilabs/field-editor/readme":{"title":"$:/plugins/wikilabs/field-editor/readme","tags":"$:/tags/ControlPanel/WikiLabs","caption":"Field Editor","text":"\\define createFieldSwitcherElement()\n<$action-createtiddler $basetitle=\"$:/config/wikilabs/field-editor/\" $template=\"$:/config/wikilabs/field-editor/text\" tags=\"$:/tags/wikilabs/fieldswitcher\" description=\"Add a short description text here and replace the icon below\" icon=\"{{$:/core/images/spiral}}\" $overwrite=\"yes\" text=\"yourFieldName\"/>\n<$action-sendmessage $message=\"tm-edit-tiddler\" $param=\"$:/config/wikilabs/field-editor/\"/>\n\\end\n\nThe full documentation can be found at [[field-editor plugin|https://wikilabs.github.io/editions/field-editor/]] main page.\n\n!! About\n\nThis plugin adds a field selector above the text editor and a new button that allows you to edit different fields in multiline edit mode side by side\n\n!! Video\n\nSee: [[Video]]\n\n!! Create a new Field Switcher Element\n\nTo create a new field-switcher button click the button below and follow the instructions.\n\n<$button actions=<> >\nCreate a new Field Switcher Element\n\n\n!! Toggle Field label\n\nBy default a label is shown, when the tiddler shows a filed different to the \"text\" field.\n\n<$checkbox tiddler=\"$:/config/wikilabs/show-field-label\" field=text checked=\"yes\" unchecked=\"no\" default=\"yes\"> Show Field Label\n\n!!! ''Imporant''\n\n* If you use an icon it has to be covered in double curly braces eg: `{{$:/core/images/globe}}`.\n* Icons can be found at the [[Image Gallery Examples|https://tiddlywiki.com/#Icon%20Gallery:%5B%5BIcon%20Gallery%5D%5D%20%5B%5BLanguageGallery%20Example%5D%5D]]\n* [[\"TW Icons\" by morosanuae|https://tiddlywiki.com/#%22TW%20Icons%22%20by%20morosanuae]]\n\n!! Existing Field Switcher Elements\n\n<>\n\n!! Dependencies\n\nThis plugin depends on the: [[Field Visibility Plugin|https://wikilabs.github.io/editions/field-visibility]]\n\n!! Modified Core Tiddles\n\nThis plugin changes the following core tiddlers:\n\n
    <$list filter=\"[[$:/plugins/wikilabs/field-editor]plugintiddlers[]prefix[$:/core/]] [[$:/config/ui/EditTemplate]] \">
  • <$link to=<>><>
\n\n''Important:'' More information about `$:/config/ui/EditTemplate` and the edit cascades can be found at [[TiddlyWiki Docs|https://tiddlywiki.com/#Story%20Tiddler%20Template%20Cascade:%5B%5BStory%20Tiddler%20Template%20Cascade%5D%5D%20%24%3A%2Fcore%2Fui%2FControlPanel%2FStoryTiddler%20%5B%5BHidden%20Setting%3A%20ViewTemplate%20and%20EditTemplate%5D%5D%20Cascades%20%5B%5BEdit%20Template%20Body%20Cascade%5D%5D]]\n\nThe full list of tiddlers in the plugin can be found at: [[$:/plugins/wikilabs/field-editor]] '': contents'' tab."},"$:/ControlPanel/Settings/WikiLabs":{"title":"$:/ControlPanel/Settings/WikiLabs","caption":"WikiLabs","tags":"$:/tags/ControlPanel/SettingsTab","text":"Get an overview about all [[WikiLab Pugins|https://wikilabs.github.io]]\n\n
\n<$macrocall $name=\"tabs\" \n tabsList=\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/WikiLabs]!has[draft.of]]\"\n default=\"$:/plugins/wikilabs/field-editor/readme\"\n explicitState=\"$:/state/tab/settings/wikilabs\"\n/>\n
"},"$:/plugins/wikilabs/field-editor/snippets/fieldswitcher":{"title":"$:/plugins/wikilabs/field-editor/snippets/fieldswitcher","text":"\\define fieldSwitcherConfig() $:/state/wikilabs/viewtemplate/body/active/field\n\\whitespace trim\n<$linkcatcher to=<> >\n
\n\t<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/wikilabs/fieldswitcher]]\" >\n\t\t\t
get[text]matchthen[tc-chosen]] +[join[ ]] }}} >\n\t\t\t<$link to=<> >\n\t\t\t\t\n\t\t\t\t\t<$list filter=\"[all[current]has[icon]]\">\n\t\t\t\t\t\t<$transclude field=icon />\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t<$view field=\"description\">\n\t\t\t\t\t<$view field=\"title\"/>\n\t\t\t\t\n\t\t\t\n\t\t\t
\n\t\n
\n"},"$:/config/wikilabs/field-editor/text":{"title":"$:/config/wikilabs/field-editor/text","tags":"$:/tags/wikilabs/fieldswitcher","icon":"{{$:/core/images/globe}}","description":"Text field (default)","text":"text"},"$:/plugns/wikilabs/ui/Buttons/fieldswitcher":{"title":"$:/plugns/wikilabs/ui/Buttons/fieldswitcher","caption":"{{$:/core/images/globe}} Field Switcher","tags":"$:/tags/PageControls","description":"Switch Tiddler Body Field","text":"\\whitespace trim\n\n\t<$button popup=<> tooltip=\"Switch Tiddler Body Field\" aria-label=\"Switch Tiddler Body Field\" class=<> selectedClass=\"tc-selected\">\n\t\t<$list filter=\"[match[yes]]\">\n\t\t\t\n\t\t\t\t<$transclude tiddler={{$:/state/wikilabs/viewtemplate/body/active/field}} field=\"icon\" />\n\t\t\t\n\t\t\n\t\t<$list filter=\"[match[yes]]\">\n\t\t\t<$text text=\"Field Switcher\"/>\n\t\t\n\t\n\n<$reveal state=<> type=\"popup\" position=\"below\" animate=\"yes\">\n\t
\n\t\t{{$:/plugins/wikilabs/field-editor/snippets/fieldswitcher}}\n\t
\n\n"},"$:/plugin/wikilabs/field-editor/note-styles":{"title":"$:/plugin/wikilabs/field-editor/note-styles","tags":"$:/tags/Stylesheet","text":".field-warning textarea.tc-edit-texteditor {\n border: 2px solid red;\n}\n\n.tcwl-field-label {\n float: right;\n color: #50adb1;\n}\n\n.tc-tiddler-frame.field-info {\n border: 1px solid blue;\n}\n\n.clearfix::after {\n content: \"\";\n clear: both;\n display: table;\n}\n\n.both .left-half {\n float: left;\n width: 49%;\n}\n\n.both .right-half {\n float: right;\n width: 49%;\n}\n\n"},"$:/config/ui/EditTemplate":{"title":"$:/config/ui/EditTemplate","description":"This configuration changes the edit-cascade default from: $:/core/ui/EditTemplate to: $:/plugins/wikilabs/field-editor/EditTemplate","text":"$:/plugins/wikilabs/field-editor/EditTemplate"},"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info":{"title":"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info","created":"20211108163044489","modified":"20211108163044489","type":"text/vnd.tiddlywiki","text":"show"},"$:/config/wikilabs/ViewTemplateBodyFilters/body/field":{"title":"$:/config/wikilabs/ViewTemplateBodyFilters/body/field","tags":"$:/tags/ViewTemplateBodyFilter","list-before":"$:/config/ViewTemplateBodyFilters/default","text":"[{$:/state/wikilabs/viewtemplate/body/active/field}get[text]trim[]!match[text]then[$:/plugins/wikilabs/field-editor/ViewTemplate/body/field]else[]]"},"$:/plugins/wikilabs/field-editor/ViewTemplate/body/field":{"title":"$:/plugins/wikilabs/field-editor/ViewTemplate/body/field","code-body":"yes","text":"<$transclude field={{{[{$:/state/wikilabs/viewtemplate/body/active/field}get[text]trim[]!match[text]]}}}>\n\n<$transclude tiddler=\"$:/core/ui/ViewTemplate/body/default\" />\n\n\n"},"$:/core/ui/ViewTemplate/subtitle":{"title":"$:/core/ui/ViewTemplate/subtitle","tags":"$:/tags/ViewTemplate","code-body":"yes","text":"\n\\whitespace trim\n<$reveal type=\"nomatch\" stateTitle=<> text=\"hide\" tag=\"div\" retain=\"yes\" animate=\"yes\" class=\"tc-subtitle\">\n\t<$link to={{!!modifier}} />\n\t<$view field=\"modified\" format=\"date\" template={{$:/language/Tiddler/DateFormat}}/>\n\t<$vars Field={{{ [{$:/state/wikilabs/viewtemplate/body/active/field}get[text]trim[]!match[text]] }}}>\n\t\t<$list filter=\"[all[current]has]\">\n\t\t\t<$reveal state=\"$:/config/wikilabs/show-field-label\" type=\"match\" text=\"yes\" default=\"yes\" tag=\"span\" class=\"tcwl-field-label\">\n\t\t\t\t<>\n\t\t\t\n\t\t\n\t\n\n"}}} \ No newline at end of file diff --git a/wiki/tiddlers/plugins/$__plugins_wikilabs_field-visibility.json b/wiki/tiddlers/plugins/$__plugins_wikilabs_field-visibility.json index 79b56d2..15d3196 100644 --- a/wiki/tiddlers/plugins/$__plugins_wikilabs_field-visibility.json +++ b/wiki/tiddlers/plugins/$__plugins_wikilabs_field-visibility.json @@ -1 +1 @@ -{"tiddlers":{"$:/plugins/wikilabs/field-visibility/history":{"title":"$:/plugins/wikilabs/field-visibility/history","text":"V 0.2.0 - 2023-05-05\n\n* fix intro button state tiddlers to TW v5.2.27\n\nV 0.1.0 - 2022-03-27\n\n* plugin now creates a new tab in the tiddler info area instead of modifying the core tab\n* ''Important'': Changed license to Attribution-NonCommercial-ShareAlike -- [[CC-BY-NC-SA|$:/plugins/wikilabs/field-visibility/license]]\n\nV 0.0.1\n\n* Initial release tested down to TODO\n"},"$:/plugins/wikilabs/field-visibility/images/eye-strikethrough":{"title":"$:/plugins/wikilabs/field-visibility/images/eye-strikethrough","tags":"$:/tags/Image","text":"\n \n \n\n"},"$:/plugins/wikilabs/field-visibility/license":{"title":"$:/plugins/wikilabs/field-visibility/license","license-text":"https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode","text":"[[Field Visibility Toggle|https://wikilabs.github.io/#field-visibility]] (c) Mario Pietsch - 2021-2024\n\n[[Creative Commons Attribution-NonCommercial-ShareAlike|https://creativecommons.org/licenses/by-nc-sa/4.0/]]\n"},"$:/plugins/wikilabs/field-visibility/readme":{"title":"$:/plugins/wikilabs/field-visibility/readme","text":"\\define showInfo()\n\n<$action-setfield $tiddler=\"$:/state/tab--1476347526\" text=\"$:/plugins/wikilabs/field-visibility/TiddlerInfo/Fields\" />\n<$action-setfield $tiddler=\"$:/state/popup/tiddler-info-1571760702\" text=\"yes\" />\n\n<$action-setfield $tiddler=\"$:/state/tab-774285414\" text=\"$:/plugins/wikilabs/field-visibility/TiddlerInfo/Fields\" />\n<$action-setfield $tiddler=\"$:/state/popup/tiddler-info-1317117474\" text=\"yes\" />\n\\end\n\nThis plugin adds a toggle button to the Fields tab in the tiddler info area, which can be seen in tiddler view mode.\n\nIf you need the tiddler info button in edit mode you will need to install the: \"Tiddler Info in Edit Mode\" plugin.\n\n<$button actions=<> to=\"test-field-visibility\" >\nClick this button to show the tiddler info area\n\n\n''Important''\n\nThis plugin changes the following core tiddlers\n\n
    <$list filter=\"[[$:/plugins/wikilabs/field-visibility]plugintiddlers[]prefix[$:/core/]]\" emptyMessage=\"
  • none
  • \">
  • <$link to=<>><>
\n"},"$:/plugins/wikilabs/field-visibility/TiddlerFields":{"title":"$:/plugins/wikilabs/field-visibility/TiddlerFields","text":"\n\n\n<$list filter=\"[all[current]fields[]sort[title]] -text\" template=\"$:/plugins/wikilabs/field-visibility/TiddlerFieldTemplate\" variable=\"listItem\"/>\n\n
Field NameValueEditor
\n"},"$:/plugins/wikilabs/field-visibility/TiddlerFieldTemplate":{"title":"$:/plugins/wikilabs/field-visibility/TiddlerFieldTemplate","text":"\\define getFieldName() $:/config/EditTemplateFields/Visibility/$(listItem)$\n\\define toggle-field-visibility()\n\\whitespace trim\n<$button class=\"tc-btn-invisible\" disabled={{{ [is[shadow]then[yes]] }}}>\n <$reveal state=<> type=\"match\" text=\"hide\" default=\"show\" tag=\"span\">\n {{$:/plugins/wikilabs/field-visibility/images/eye-strikethrough}}\n <$action-deletetiddler $tiddler=<>/>\n \n <$reveal state=<> type=\"match\" text=\"show\" default=\"show\" tag=\"span\">\n {{$:/core/images/preview-open}}\n <$action-setfield $tiddler=<> $value=\"hide\"/>\n \n\n\\end\n\n\n<$text text=<>/>\n\n\n<$view field=<>/>\n\n\n<>\n\n"},"$:/plugins/wikilabs/field-visibility/TiddlerInfo/Fields":{"title":"$:/plugins/wikilabs/field-visibility/TiddlerInfo/Fields","caption":"Visibility","tags":"$:/tags/TiddlerInfo","text":"<$transclude tiddler=\"$:/plugins/wikilabs/field-visibility/TiddlerFields\"/>\n"}}} \ No newline at end of file +{"tiddlers":{"$:/plugins/wikilabs/field-visibility/images/eye-strikethrough":{"title":"$:/plugins/wikilabs/field-visibility/images/eye-strikethrough","tags":"$:/tags/Image","text":"\n \n \n\n"},"$:/plugins/wikilabs/field-visibility/history":{"title":"$:/plugins/wikilabs/field-visibility/history","text":"V 1.0.0 - 2024-04-18\n\n* Settings are now in $:/ControlPanel -> ''Settings'' -> ''WikiLabs'' tab\n\nV 0.2.0 - 2023-05-05\n\n* fix intro button state tiddlers to TW v5.2.27\n\nV 0.1.0 - 2022-03-27\n\n* plugin now creates a new tab in the tiddler info area instead of modifying the core tab\n* ''Important'': Changed license to Attribution-NonCommercial-ShareAlike -- [[CC-BY-NC-SA|$:/plugins/wikilabs/field-visibility/license]]\n\nV 0.0.1\n\n* Initial release tested down to TODO\n"},"$:/plugins/wikilabs/field-visibility/license":{"title":"$:/plugins/wikilabs/field-visibility/license","license-text":"https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode","text":"[[Field Visibility Toggle|https://wikilabs.github.io/#field-visibility]] (c) Mario Pietsch - 2021-2024\n\n[[Creative Commons Attribution-NonCommercial-ShareAlike|https://creativecommons.org/licenses/by-nc-sa/4.0/]]\n"},"$:/plugins/wikilabs/field-visibility/readme":{"title":"$:/plugins/wikilabs/field-visibility/readme","tags":"$:/tags/ControlPanel/WikiLabs","caption":"Field Visibility","text":"\\define showInfo()\n\n<$action-setfield $tiddler=\"$:/state/tab--1476347526\" text=\"$:/plugins/wikilabs/field-visibility/TiddlerInfo/Fields\" />\n<$action-setfield $tiddler=\"$:/state/popup/tiddler-info-1571760702\" text=\"yes\" />\n\n<$action-setfield $tiddler=\"$:/state/tab-774285414\" text=\"$:/plugins/wikilabs/field-visibility/TiddlerInfo/Fields\" />\n<$action-setfield $tiddler=\"$:/state/popup/tiddler-info-1317117474\" text=\"yes\" />\n\\end\n\nThe full documentation can be found at [[field-visibility plugin|https://wikilabs.github.io/editions/field-visibility/]] main page.\n\nThis plugin adds a toggle button to the Fields tab in the tiddler info area, which can be seen in tiddler view mode.\n\nIf you need the tiddler info button in edit mode you will need to install the: \"Tiddler Info in Edit Mode\" plugin.\n\n<$button actions=<> to=\"test-field-visibility\" >\nClick this button to show the tiddler info area\n\n\n''Important''\n\nThis plugin changes the following core tiddlers\n\n
    <$list filter=\"[[$:/plugins/wikilabs/field-visibility]plugintiddlers[]prefix[$:/core/]]\" emptyMessage=\"
  • none
  • \">
  • <$link to=<>><>
\n"},"$:/ControlPanel/Settings/WikiLabs":{"title":"$:/ControlPanel/Settings/WikiLabs","caption":"WikiLabs","tags":"$:/tags/ControlPanel/SettingsTab","text":"Get an overview about all [[WikiLab Pugins|https://wikilabs.github.io]]\n\n
\n<$macrocall $name=\"tabs\" \n tabsList=\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/WikiLabs]!has[draft.of]]\"\n default=\"$:/plugins/wikilabs/field-visibility/readme\"\n explicitState=\"$:/state/tab/settings/wikilabs\"\n/>\n
"},"$:/plugins/wikilabs/field-visibility/TiddlerFields":{"title":"$:/plugins/wikilabs/field-visibility/TiddlerFields","text":"\n\n\n<$list filter=\"[all[current]fields[]sort[title]] -text\" template=\"$:/plugins/wikilabs/field-visibility/TiddlerFieldTemplate\" variable=\"listItem\"/>\n\n
Field NameValueEditor
\n"},"$:/plugins/wikilabs/field-visibility/TiddlerFieldTemplate":{"title":"$:/plugins/wikilabs/field-visibility/TiddlerFieldTemplate","text":"\\define getFieldName() $:/config/EditTemplateFields/Visibility/$(listItem)$\n\\define toggle-field-visibility()\n\\whitespace trim\n<$button class=\"tc-btn-invisible\" disabled={{{ [is[shadow]then[yes]] }}}>\n <$reveal state=<> type=\"match\" text=\"hide\" default=\"show\" tag=\"span\">\n {{$:/plugins/wikilabs/field-visibility/images/eye-strikethrough}}\n <$action-deletetiddler $tiddler=<>/>\n \n <$reveal state=<> type=\"match\" text=\"show\" default=\"show\" tag=\"span\">\n {{$:/core/images/preview-open}}\n <$action-setfield $tiddler=<> $value=\"hide\"/>\n \n\n\\end\n\n\n<$text text=<>/>\n\n\n<$view field=<>/>\n\n\n<>\n\n"},"$:/plugins/wikilabs/field-visibility/TiddlerInfo/Fields":{"title":"$:/plugins/wikilabs/field-visibility/TiddlerInfo/Fields","caption":"Visibility","tags":"$:/tags/TiddlerInfo","text":"<$transclude tiddler=\"$:/plugins/wikilabs/field-visibility/TiddlerFields\"/>\n"}}} \ No newline at end of file diff --git a/wiki/tiddlers/plugins/$__plugins_wikilabs_field-visibility.json.meta b/wiki/tiddlers/plugins/$__plugins_wikilabs_field-visibility.json.meta index 0fb2e20..b588ade 100644 --- a/wiki/tiddlers/plugins/$__plugins_wikilabs_field-visibility.json.meta +++ b/wiki/tiddlers/plugins/$__plugins_wikilabs_field-visibility.json.meta @@ -8,4 +8,4 @@ name: Toggle Field Visibility plugin-type: plugin title: $:/plugins/wikilabs/field-visibility type: application/json -version: 0.2.0 \ No newline at end of file +version: 1.0.0 \ No newline at end of file