>
+}
+```
+
+ティドラーの先頭にある`\rules`プラグマは、~WikiTextがマクロとトランスクルージョンのみを許可するように制限します。これにより、誤って不要な~WikiText処理がトリガーされることを回避できます。
+
+スタイルシートTiddlerは、まずWiki化され、次に出力のテキスト部分が抽出されてCSSとして適用されるように処理されます。したがって、スタイルシートで使用しているHTMLタグはすべて無視されます。たとえば、RevealWidgetによって生成されたHTML要素は出力に影響しません。次の例のように、CSSルールを``タグで囲んで、内部マクロの処理などの処理に影響を与えることなく、コードブロックとして表示できます。
+
+```
+\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html
+
+body.tc-body pre {
+ <>
+}
+
+```
+
+!! スタイルシートマクロ
+
+~TiddlyWikiコアは、[[スタイルシートの構築に役立つグローバルマクロ|Stylesheet Macros]]を提供します。
+
+!! 参照
+
+<>
diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_dynamic_stylesheet.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_dynamic_stylesheet.tid
new file mode 100644
index 000000000..f7fe1ea86
--- /dev/null
+++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_dynamic_stylesheet.tid
@@ -0,0 +1,10 @@
+created: 201804111739
+modified: 20241120110107221
+original-modified: 201804111739
+title: Q: Is there a way to create dynamic stylesheets?
+ja-title: Q: 動的スタイルシートを作成する方法はありますか?
+tags: [[Custom Styles FAQ]]
+
+''回答:'' <<.from-version "5.1.16">>
+
+はい、[[Q: カスタムフィールドを使用してTiddlerのスタイルを設定するにはどうすればよいですか?|Q: How can I use a custom field to style a tiddler?]]を参照してください
diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_how_can_i_use_custom_field.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_how_can_i_use_custom_field.tid
new file mode 100644
index 000000000..3a0d69a9b
--- /dev/null
+++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_how_can_i_use_custom_field.tid
@@ -0,0 +1,31 @@
+created: 201804111739
+modified: 20241120110107221
+original-modified: 201804111739
+title: Q: How can I use a custom field to style a tiddler?
+ja-title: Q: カスタムフィールドを使用してTiddlerのスタイルを設定するにはどうすればよいですか?
+tags: [[Custom Styles FAQ]]
+
+''次のユースケースを考えてみましょう:'' <<.from-version "5.1.16">>
+
+`rank`という名前のフィールドがあります。このフィールドには、例えば`species`のようなさまざまな値を保持できます
+
+''回答:''
+
+ここでのアイデアは、スタイルシートを動的に作成するということです。スタイルシートは次のようになります:
+
+"""
+title: `myStyles`
+tags: `$:/tags/Stylesheet`
+"""
+
+```
+<$list filter="[rank[species]]">
+[data-tiddler-title^="<$view field=title/>"] .tc-tiddler-body {
+ column-count: 2;
+}
+$list>
+```
+
+これにより、フィールド`rank`と値`species`を持つすべてのTiddlerタイトルのCSSルールが作成されます
+
+[[利用できる属性についての詳細はこちらをご覧ください!|Attribute Selectors]]
\ No newline at end of file
diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_if_tiddler_has_no_tags.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_if_tiddler_has_no_tags.tid
new file mode 100644
index 000000000..9db20c356
--- /dev/null
+++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_if_tiddler_has_no_tags.tid
@@ -0,0 +1,21 @@
+created: 201804111739
+modified: 20241120110107221
+original-modified: 201804111739
+title: Q: What if a tiddler has no tags?
+ja-title: Q: Tiddlerにタグがない場合はどうしますか?
+tags: [[Custom Styles FAQ]]
+
+''回答:'' <<.from-version "5.1.16">>
+
+* Tiddlerにタグがないが、スタイル設定が必要な場合は、CSSセレクターとして`data-tiddler-title`を使用します
+** Tiddlerは一つのみです
+
+* ユーザーがシステムTiddlerのスタイルをカスタム設定したい場合: セレクターとして`[data-tiddler-title^="$:"/]`を使用します
+** TW名前空間機能を使用する
+
+* ユーザーがタグ付けされたTiddlerに対して特別な動作を設定したい場合。例: Learning
+** CSSセレクターとして`[data-tags*="Learning"]`を使用します
+
+私が使用している名前は、既存のWikiを変更することなく、ドキュメント目的でのみ使用されます。ドキュメントに副作用があることは望ましくありません
+
+[[利用できる属性についての詳細はこちらをご覧ください!|Attribute Selectors]]
\ No newline at end of file
diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_and_that_tag.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_and_that_tag.tid
new file mode 100644
index 000000000..b1f1ca76b
--- /dev/null
+++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_and_that_tag.tid
@@ -0,0 +1,34 @@
+created: 201804111739
+modified: 20241120110107221
+original-modified: 201804111739
+title: Q: How can I style a tiddler if it has "this" AND "that" tag?
+ja-title: Q: "this"タグと"that"タグの両方を持つTiddlerのスタイルを設定するにはどうすればよいですか?
+tags: [[Custom Styles FAQ]]
+
+''回答: '' <<.from-version "5.1.16">>
+
+Tiddlerに`this`と`that`の両方のタグがある場合、オレンジ色の境界線が作成されます
+
+```
+[data-tags*="bar"][data-tags*="froz"] {
+ border: 2px solid orange;
+}
+```
+
+''CSSが次のような場合: ''
+
+```
+[data-tags~="this"] {
+ border: 2px solid blue;
+}
+
+[data-tags~="that"] {
+ border: 2px solid red;
+}
+```
+
+`this`は青い境界線を作成します
+`that`は赤青い境界線を作成します
+位置を入れ替えると、逆になります
+
+[[利用できる属性についての詳細はこちらをご覧ください!|Attribute Selectors]]
\ No newline at end of file
diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_or_that_tag.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_or_that_tag.tid
new file mode 100644
index 000000000..3f5d37a94
--- /dev/null
+++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_or_that_tag.tid
@@ -0,0 +1,19 @@
+created: 201804111739
+modified: 20241120110107221
+original-modified: 201804111739
+title: Q: How can I style a tiddler if it has "this" OR "that" tag?
+ja-title: Q: "this"タグと"that"タグのどちらかを持つTiddlerのスタイルを設定するにはどうすればよいですか?
+tags: [[Custom Styles FAQ]]
+
+''回答: '' <<.from-version "5.1.16">>
+
+`this`または`that`のいずれかのタグがある場合、赤い境界線を作成します
+
+```
+[data-tags~="this"],
+[data-tags~="that"] {
+ border: 2px solid red;
+}
+```
+
+[[利用できる属性についての詳細はこちらをご覧ください!|Attribute Selectors]]
\ No newline at end of file
diff --git a/editions/ja-JP/tiddlers/wikitext/Styles and Classes in WikiText.tid b/editions/ja-JP/tiddlers/wikitext/Styles and Classes in WikiText.tid
new file mode 100644
index 000000000..0208ed7c5
--- /dev/null
+++ b/editions/ja-JP/tiddlers/wikitext/Styles and Classes in WikiText.tid
@@ -0,0 +1,75 @@
+caption: スタイルとクラス
+created: 20131205160532119
+modified: 20241123111135825
+original-modified: 20230726105744098
+tags: WikiText [[How to apply custom styles]]
+title: Styles and Classes in WikiText
+ja-title: WikiTextでのスタイルとクラス
+type: text/vnd.tiddlywiki
+
+CSSスタイルとクラスは、`@@二重のアットマーク@@`で囲まれたインラインコンテンツまたはブロックコンテンツに適用できます。クラスは、特定のブロックWikiText要素に適用できます。
+
+スタイルやクラスを指定せずに`@@二重のアットマーク@@`でラップされた//インラインコンテンツ//には、`tc-inline-style`クラスが割り当てられ、ハイライトされたテキストとして表示されます。ハイライトされたテキストの前景色と背景色は、現在のパレットで`highlight-background`と`highlight-foreground`として定義されている色が使われます。
+
+<>
+
+!! スタイル
+
+複数のスタイル属性(例: `color`)は、各属性の後にセミコロン`;`をつけ、開始の`@@`の直後に、スペースを入れずに、記述します。
+
+<>
+
+同様に、//ブロックコンテンツ//にもスタイルを適用できます。スタイルやクラスを指定せずに`@@`内にブロック コンテンツをラップしても効果はありません。
+
+<>
+
+!! クラス
+
+次のTiddlerでは、デモンストレーションの目的で`coloured-text`クラスと`coloured-bg`クラスが定義されています:
+
+
+```
+.coloured-text {color: darkkhaki;}
+.coloured-bg {background-color: cornsilk;}
+```
+
+
+
+複数のクラス(それぞれ`.`のプレフィックス付き)は、開始の`@@`の直後にスペース` `を空けて記述します。これは、インラインコンテンツとブロックコンテンツの両方で機能します:
+
+<>
+
+<>
+
+複数のクラスとスタイルを同時に適用できます。インラインコンテンツの場合は、最初にスタイルを定義し、その後にクラスを定義する必要があります。
+
+<>
+
+ブロックコンテンツの場合、スタイルとクラスは、インラインコンテンツの場合と同じように開始`@@`の後の1行で定義することも、それぞれ`@@`で始まる別々の行で定義することもできます:
+
+<>
+
+同様に、行の先頭の文字によって導入されるブロックWikiText要素に、スタイルではなくクラスを適用できます。プレフィックス`.`が付くクラスは、特殊文字の直後に記述され、その後にスペース` `が続きます。
+
+<>
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderHTML.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderHTML.tid
new file mode 100644
index 000000000..7a0ac231f
--- /dev/null
+++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderHTML.tid
@@ -0,0 +1,28 @@
+created: 20241201235747500
+description: Exporting rendered html
+tags: $:/tags/wiki-test-spec
+title: TestCases/WikifyWidget/RenderHTML
+type: text/vnd.tiddlywiki-multiple
+
+title: Narrative
+
+You can use <<.wid wikify>> to copy your wikitext as a formated HTML.
++
+title: Output
+
+<$wikify name="code" text={{code}} output="html">
+
+<$codeblock code=<> />
+
+<$macrocall $name="copy-to-clipboard" src=<>/>
+
+$wikify>
++
+title: code
+text:
+
+!! A nice list
+
+* Item 1
+* Item 2
+* Item 3
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Fail.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Fail.tid
new file mode 100644
index 000000000..c07005786
--- /dev/null
+++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Fail.tid
@@ -0,0 +1,33 @@
+created: 20241202000005087
+description: Using a widget as a value
+tags: $:/tags/wiki-test-spec-failing
+title: TestCases/WikifyWidget/WidgetValue/Fail
+type: text/vnd.tiddlywiki-multiple
+
+title: Narrative
+
+If you try to directly use a widget as a value, you will instead get the raw wikitext of the widget and not the rendered value.
++
+title: Output
+
+
+ {{widget}} text on {{target}} is a good contrast
+
++
+title: widget
+text: <$transclude $variable="contrastcolour" target={{target}} fallbackTarget=<> colourA={{colourA}} colourB={{colourB}} />
++
+title: target
+text: purple
++
+title: colourA
+text: white
++
+title: colourB
+text: black
++
+title: ExpectedResult
+
+> colourA={{colourA}} colourB={{colourB}} />;background:purple;">
+ white text on purple is a good contrast
+
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Success.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Success.tid
new file mode 100644
index 000000000..ba147f2b7
--- /dev/null
+++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Success.tid
@@ -0,0 +1,43 @@
+created: 20241202003148804
+description: Using a widget as a value
+tags: $:/tags/wiki-test-spec
+title: TestCases/WikifyWidget/WidgetValue/Success
+type: text/vnd.tiddlywiki-multiple
+
+title: Narrative
+
+If you use <<.wid wikify>>, you can get the rendered output and use it as a value.
++
+title: Output
+
+<$wikify name="wikified-color" text={{widget}} >
+ > style.background={{target}}>
+ {{widget}} text on {{target}} is a good contrast
+
+$wikify>
++
+title: widget
+
+<$transclude $variable="contrastcolour"
+ target={{target}}
+ fallbackTarget=<>
+ colourA={{colourA}}
+ colourB={{colourB}}
+/>
++
+title: target
+text: purple
++
+title: colourA
+text: white
++
+title: colourB
+text: black
++
+title: ExpectedResult
+
+
+
+ white text on purple is a good contrast
+
+
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Fail.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Fail.tid
new file mode 100644
index 000000000..570f85fff
--- /dev/null
+++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Fail.tid
@@ -0,0 +1,19 @@
+created: 20241201235746062
+description: Accurate word count
+tags: $:/tags/wiki-test-spec-failing
+title: TestCases/WikifyWidget/WordCount/Fail
+type: text/vnd.tiddlywiki-multiple
+
+title: Narrative
+
+If a tiddler transclude some content, or use widgets to generate content, filters that try to calculate the word count won’t be accurate: they will instead count the raw text words.
++
+title: Output
+
+Word count = <$count filter="[{lorem}split[ ]!is[blank]]"/>
++
+title: lorem
+text: <$list filter="[range[1],[3]]"><$text text=" word "/>$list>
++
+title: ExpectedResult
+text: Word count = 3
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Success.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Success.tid
new file mode 100644
index 000000000..be214b97a
--- /dev/null
+++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Success.tid
@@ -0,0 +1,19 @@
+created: 20241202011409888
+description: Accurate word count
+tags: $:/tags/wiki-test-spec
+title: TestCases/WikifyWidget/WordCount/Success
+type: text/vnd.tiddlywiki-multiple
+
+title: Narrative
+
+If you use wikify, you can calculate an accurate word count.
++
+title: Output
+
+<$wikify name="lorem" text={{lorem}} output="text">Word count = <$count filter="[split[ ]!is[blank]]"/>$wikify>
++
+title: lorem
+text: <$list filter="[range[1],[3]]"><$text text=" word "/>$list>
++
+title: ExpectedResult
+text: Word count = 3
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/system/doc-macros.tid b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-macros.tid
similarity index 100%
rename from editions/tw5.com/tiddlers/system/doc-macros.tid
rename to editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-macros.tid
diff --git a/editions/tw5.com/tiddlers/system/doc-styles.tid b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-styles.tid
similarity index 100%
rename from editions/tw5.com/tiddlers/system/doc-styles.tid
rename to editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-styles.tid
diff --git a/editions/tw5.com/tiddlers/system/version-macros.tid b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/version-macros.tid
similarity index 100%
rename from editions/tw5.com/tiddlers/system/version-macros.tid
rename to editions/tw5.com/tiddlers/_tw_shared/doc-utilities/version-macros.tid
diff --git a/editions/tw5.com/tiddlers/system/wikitext-macros.tid b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/wikitext-macros.tid
similarity index 100%
rename from editions/tw5.com/tiddlers/system/wikitext-macros.tid
rename to editions/tw5.com/tiddlers/_tw_shared/doc-utilities/wikitext-macros.tid
diff --git a/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid b/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid
index 8ec685929..15675921a 100644
--- a/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid
+++ b/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid
@@ -1,16 +1,16 @@
created: 20211206160300525
-modified: 20211206165301231
+modified: 20241121164044717
tags: Cascades
title: Tiddler Colour Cascade
type: text/vnd.tiddlywiki
-The tiddler colour cascade is a [[cascade|Cascades]] used to choose which colour should be used for a particular tiddler.
+The tiddler colour cascade is a [[cascade|Cascades]] used to choose which colour should be used for a particular tiddler ''tag'' and ''icon''.
Core tiddler colour cascades can be found in $:/core/macros/tag, $:/core/ui/Components/tag-link, $:/core/ui/EditTemplate/tags, $:/core/ui/TagPickerTagTemplate, $:/core/ui/TagTemplate and $:/core/ui/ViewTemplate/title
-The default tiddler colour cascade consists of:
+The default tiddler tag colour cascade consists of:
-# If the tiddler has a ''color'' field, use the value as the colour
+# If the tiddler has a ''color'' field, use the value as the colour for the ''tag-pill'' and the ''tiddler-icon''
# If the tiddler $:/config/DefaultTiddlerColour exists, use the value as the colour
You can see the current settings for the tiddler colour cascade in $:/ControlPanel under the ''Info'' -> ''Advanced'' -> ''Cascades'' -> ''Tiddler Colour'' tab.
diff --git a/editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid b/editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid
index a915f181f..05cdea572 100644
--- a/editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid
+++ b/editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid
@@ -1,18 +1,18 @@
-title: GroupedLists
-tags: ListWidget Lists
created: 20150106180000000
-modified: 20150221230117000
+modified: 20241204085601176
+tags: ListWidget Lists
+title: GroupedLists
The following sidebar tabs give examples of grouped lists created by nesting.
-!! Types Tab
+!! [[Types Tab|$:/core/ui/MoreSideBar/Types]]
-For the [[Types|$:/core/ui/MoreSideBar/Types]] tab, the outer list filter as shown below selects each discrete value found in the `type` field. The inner list filter selects all the (non-system) tiddlers with that type.
+For the "Types Tab", the outer list filter as shown below selects each discrete value found in the `type` field. The inner list filter selects all the (non-system) tiddlers with that type.
<>
-!! Recent Tab
+!! [[Recent Tab|$:/core/ui/SideBar/Recent]]
-The list in the [[Recent|$:/core/ui/SideBar/Recent]] tab is generated using the <<.mlink timeline>> macro. Here, the outer list filter selects each discrete day found in the `modified` field, while the inner list filter selects all the tiddlers dated the same day in the `modified` field.
+The list in the "Recent Tab" is generated using the <<.mlink timeline>> macro. Here, the outer list filter selects each discrete day found in the `modified` field, while the inner list filter selects all the tiddlers dated the same day in the `modified` field.
-<>
+<>
diff --git a/editions/tw5.com/tiddlers/filters/each.tid b/editions/tw5.com/tiddlers/filters/each.tid
index c6140b791..a1ff2dcf8 100644
--- a/editions/tw5.com/tiddlers/filters/each.tid
+++ b/editions/tw5.com/tiddlers/filters/each.tid
@@ -1,15 +1,15 @@
+caption: each
created: 20140410103123179
-modified: 20191209085901849
+modified: 20241204090042816
+op-input: a [[selection of titles|Title Selection]]
+op-output: a selection containing the first input title encountered for each distinct value of field <<.place F>>
+op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>>
+op-parameter-name: F
+op-purpose: select one of each group of input titles by field
+op-suffix: optionally, `list-item` or `value`
tags: [[Filter Operators]] [[Group Operators]]
title: each Operator
type: text/vnd.tiddlywiki
-caption: each
-op-purpose: select one of each group of input titles by field
-op-input: a [[selection of titles|Title Selection]]
-op-suffix: optionally, `list-item` or `value`
-op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>>
-op-parameter-name: F
-op-output: a selection containing the first input title encountered for each distinct value of field <<.place F>>
Each input title is processed in turn. The value of field <<.place F>> in the corresponding tiddler is examined.
@@ -22,4 +22,6 @@ Each input title is processed in turn. The value of field <<.place F>> in the co
Note that if a tiddler does not contain field <<.place F>>, it is treated as if the value of the field were empty. Thus, a filter expression such as `[each[motovun]]` will return one tiddler that doesn't have a `motovun` field, as well as one tiddler with each distinct value of that field, if any. To obtain just the tiddlers that have a non-blank value for the `motovun` field one can use `[each[motovun]has[motovun]]`.
+<<.note"""For an example of using the <<.op each>> operator to generate a two-tier list of groups and members, see [[GroupedLists]].""">>
+
<<.operator-examples "each">>
diff --git a/editions/tw5.com/tiddlers/filters/examples/each.tid b/editions/tw5.com/tiddlers/filters/examples/each.tid
index 4c6a746ed..be12ede51 100644
--- a/editions/tw5.com/tiddlers/filters/examples/each.tid
+++ b/editions/tw5.com/tiddlers/filters/examples/each.tid
@@ -1,5 +1,5 @@
created: 20150118134611000
-modified: 20150118183152000
+modified: 20241204085904594
tags: [[each Operator]] [[Operator Examples]]
title: each Operator (Examples)
type: text/vnd.tiddlywiki
@@ -9,5 +9,3 @@ type: text/vnd.tiddlywiki
<<.operator-example 3 "[each:list-item[list]]" "all tiddlers listed anywhere in the core list field">>
<<.operator-example 4 "[[Non existing]] [[GettingStarted]] +[each:value[]]" "Compare this to `+[each[]]` below">>
<<.operator-example 5 "[[Non existing]] [[GettingStarted]] +[each[]]" "Compare this to `+[each:value[]]` above">>
-
-For an example of using the <<.op each>> operator to generate a two-tier list of groups and members, see [[GroupedLists]].
diff --git a/editions/tw5.com/tiddlers/function Operator (Examples).tid b/editions/tw5.com/tiddlers/function Operator (Examples).tid
new file mode 100644
index 000000000..c83b2e6c9
--- /dev/null
+++ b/editions/tw5.com/tiddlers/function Operator (Examples).tid
@@ -0,0 +1,63 @@
+created: 20241202134158579
+tags: [[Operator Examples]] [[function Operator]]
+title: function Operator (Examples)
+
+\function get.destField(subTiddler,field) [get]
+
+\function get.sourceField(subTiddler,field) [shadowsource[]get[text]jsonget[tiddlers],,]
+
+\function get.sourceFields(subTiddler) [shadowsource[]]:map:flat[subtiddlerfields{!!title}]
+
+\function has.diff(subTiddler,field) [get.destField,else[]]:filter[get.sourceField,else[]!match{!!title}]
+
+\function diff.fields(subTiddler) [get.sourceFields] [fields:exclude[created creator modified modifier]] :filter[has.diff,{!!title}]
+
+\define subTiddler() $:/SiteTitle
+
+\procedure display-variable(name) ''<$text text=<>/>'': <$text text={{{ [getvariable[]] }}}/>
+
+These examples use the following predefined variable:
+
+* <>
+
+They also use the following predefined functions:
+
+```
+\function get.destField(subTiddler,field) [get]
+
+\function get.sourceField(subTiddler,field) [shadowsource[]get[text]jsonget[tiddlers],,]
+
+\function get.sourceFields(subTiddler) [shadowsource[]]:map:flat[subtiddlerfields{!!title}]
+
+\function has.diff(subTiddler,field) [get.destField,else[]]:filter[get.sourceField,else[]!match{!!title}]
+
+\function diff.fields(subTiddler) [get.sourceFields] [fields:exclude[created creator modified modifier]] :filter[has.diff,{!!title}]
+```
+
+<<.operator-example 1 "[function[get.destField],,[text]]" "get the overriden value of the field <<.field text>>.">>
+
+The function `get.destField` use the operator <<.olink get>> to get the overriden value of the field <<.field text>> for <>.
+
+<<.operator-example 2 "[function[get.sourceField],,[text]]" "get the original value of the field <<.field text>>">>
+
+The function `get.sourceField` use the operator <<.olink shadowsource>> to get the title of the plugin in which the shadow tiddler is defined ({{{ [shadowsource[]]}}}). It then use the operator <<.olink get>> to retrieve the content of the field <<.field text>>, in which is defined every tiddlers for that plugin, in a json format. Next, the operator <<.olink jsonget>> is used to retrieve the value of the original field <<.field text>> for <>.
+
+<<.operator-example 3 "[function[get.sourceFields],]" "get the original list of fields.">>
+
+The function `get.sourceFields` use the operator <<.olink shadowsource>> to get the title of the plugin in which the shadow tiddler is defined. The subsequent [[Map Filter Run Prefix]] iterate over the plugin title, and use the operator <<.olink subtiddlerfields>> to output every fields of the shadow tiddler <>, whose title is retrieved using a [[TextReference]].
+
+<<.operator-example 4 "[function[has.diff],,[text]]" "compare the original value of the field <<.field text>> with the value set in the overriding tiddler. If the value is different, output the overriden value">>
+
+The function `has.diff` use the operator <<.olink get>> to retrieve the current value for the field <<.field text>>. If this field is missing or empty, the operator <<.olink else>> output an empty <<.em string>>. Next, the [[Filter Filter Run Prefix]] use the function `get.sourceField` to get the original value for that field, and the operator <<.olink match>> is used to check if the value does not match the current value for that field, using a [[TextReference]]. If the values do not match, it means that the value for that field was changed, and the value of the field is output. Otherwise, the `:filter` filter run prevent the field value to be output.
+
+<<.operator-example 5 "[function[diff.fields],]" "list the overriden fields">>
+
+The function `diff.fields` use the the function `get.sourceFields` to list every fields in the original <>. It then use the <<.olink fields>> operator to get every fields on the overriding tiddler, excluding the fields that are automatically set when a [[ShadowTiddler|ShadowTiddlers]] is overriden (<<.field created>>, <<.field creator>>, <<.field modified>>, <<.field modifier>>). The subsequent [[Filter Filter Run Prefix]] use the function `has.diff` to output only the title of the fields that were overidden.
+
+<<.tip """Theses functions can be used together to highlight the changes made to <>:""">>
+
+<
+ <$diff-text source={{{ [get.sourceField,] }}} dest={{{ [get.destField,] }}} >
+ <>
: <> difference<%if [!match[1]]%>s<%endif%>
+ $diff-text>
+$list>""">>
diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid
index 649fd7629..71798ffcf 100644
--- a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid
+++ b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid
@@ -1,7 +1,7 @@
created: 20240907042443909
-modified: 20240907042629405
+modified: 20241120225606237
tags: [[Hidden Settings]]
title: Hidden Setting: Default Tiddler Colour
type: text/vnd.tiddlywiki
-A default tiddler colour can be specified by creating a tiddler called $:/config/DefaultTiddlerColour containing the CSS color value.
+A default tag-tiddler colour can be specified by creating a tiddler called $:/config/DefaultTiddlerColour containing the CSS color value. For more details see: [[Tiddler Colour Cascade]]
diff --git a/editions/tw5.com/tiddlers/widgets/WikifyWidget.tid b/editions/tw5.com/tiddlers/widgets/WikifyWidget.tid
index 87b76a99d..e8af7ef82 100644
--- a/editions/tw5.com/tiddlers/widgets/WikifyWidget.tid
+++ b/editions/tw5.com/tiddlers/widgets/WikifyWidget.tid
@@ -1,13 +1,13 @@
caption: wikify
created: 20160321144949700
-modified: 20220122191540121
+modified: 20241202014354100
tags: Widgets
title: WikifyWidget
type: text/vnd.tiddlywiki
! Introduction
-The wikify widget parses and renders a string of text and assigns the result to a specified [[variable|Variables]]. The new value of the variable is available to the content within the wikify widget.
+The <<.wid wikify>> widget parses and renders a string of text and assigns the result to a specified [[variable|Variables]]. The new value of the variable is available to the content within the wikify widget.
! Content and Attributes
@@ -28,3 +28,19 @@ The available output types are:
|html |Return the rendered HTML of the output |
|parsetree |Return a formatted JSON representation of the parse tree |
|widgettree |Return a formatted JSON representation of the widget tree |
+
+! Examples
+
+!! Using a widget as a value
+
+<>
+<>
+
+!! Accurate word count
+
+<>
+<>
+
+!! Exporting rendered html
+
+<>
diff --git a/licenses/cla-individual.md b/licenses/cla-individual.md
index 826f5e194..c0f821849 100644
--- a/licenses/cla-individual.md
+++ b/licenses/cla-individual.md
@@ -595,3 +595,7 @@ Val Packett, @valpackett, 2024/07/26
JC John Sese Cuneta, @techmagus, 2024/10/07
@zorrox1024, 2024/10/20
+
+John Robinette, @jrbntt, 2024/11/25
+
+@DesignThinkerer, 2024/12/02
\ No newline at end of file