mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
46d0aea0f2
* Update ShadowTiddlers.tid main change is added section about "overriding shadow tids" * The word "extracted" might be confusing --------- Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
27 lines
1.3 KiB
Plaintext
27 lines
1.3 KiB
Plaintext
title: ShadowTiddlers
|
|
tags: Concepts
|
|
|
|
\define actions()
|
|
<$action-setfield $tiddler="$:/state/tab/moresidebar-1850697562" $field="text" $value="$:/core/ui/MoreSideBar/Shadows"/>
|
|
<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" $field="text" $value="$:/core/ui/SideBar/More"/>
|
|
\end
|
|
\define click(text)
|
|
<$button actions=<<actions>>>$text$</$button>
|
|
\end
|
|
|
|
ShadowTiddlers are tiddlers that are loaded from [[Plugins]] at the wiki startup. Unlike ordinary tiddlers, they don't appear in most lists.
|
|
|
|
!! Overriding Shadow Tiddlers to modify plugins
|
|
|
|
A ShadowTiddler can be overridden with an ordinary tiddler of the same name. This leaves the shadow tiddler intact but the plugin will use the overriding tiddler in its place, effectively allowing users to modify the behaviour of plugins.
|
|
|
|
Users are cautioned against overriding shadow tiddlers because if the shadow tiddler is changed in a plugin update, the overriding tiddler may no longer perform as intended. To remedy this, the overriding tiddler may be modified or deleted. If the overriding tiddler is deleted, then the plugin falls back to using the original shadow tiddler.
|
|
|
|
!! Overridden Shadow Tiddlers
|
|
|
|
<<list-links "[is[tiddler]is[shadow]sort[title]]">>
|
|
|
|
!! Shadow Tiddlers
|
|
|
|
A full list of shadow tiddlers can be found in the sidebar in the "More" -> "Shadows" tab
|