diff --git a/editions/dev/tiddlers/_tw_shared/tiddlywiki.files b/editions/dev/tiddlers/_tw_shared/tiddlywiki.files new file mode 100644 index 000000000..01d04c5f5 --- /dev/null +++ b/editions/dev/tiddlers/_tw_shared/tiddlywiki.files @@ -0,0 +1,5 @@ +{ + "directories": [ + "../../../tw5.com/tiddlers/_tw_shared" + ] +} \ No newline at end of file diff --git a/editions/dev/tiddlywiki.info b/editions/dev/tiddlywiki.info index 9ccbb65b0..cec5161b6 100644 --- a/editions/dev/tiddlywiki.info +++ b/editions/dev/tiddlywiki.info @@ -3,7 +3,7 @@ "plugins": [ "tiddlywiki/highlight", "tiddlywiki/nodewebkitsaver", - "tiddlywiki/github-fork-ribbon", + "tiddlywiki/menubar", "tiddlywiki/internals" ], "themes": [ @@ -22,7 +22,6 @@ "de-AT", "de-DE", "el-GR", - "en-GB", "en-US", "es-ES", "fa-IR", diff --git a/editions/tw.org/tiddlers/$__core_templates_static.content.tid b/editions/tw.org/tiddlers/$__core_templates_static.content.tid new file mode 100644 index 000000000..27a920e17 --- /dev/null +++ b/editions/tw.org/tiddlers/$__core_templates_static.content.tid @@ -0,0 +1,18 @@ +title: $:/core/templates/static.content + +\define tv-wikilink-template() https://tiddlywiki.org/static/$uri_doubleencoded$.html + + + +<$reveal default="yes" text=<> type="nomatch"> + +It looks like this browser doesn't run JavaScript. You can use one of these static HTML versions to browse the same content: + +* https://tiddlywiki.org/static.html - browse individual tiddlers as separate pages +* https://tiddlywiki.org/alltiddlers.html#HelloThere - single file containing all tiddlers + +--- + +{{HelloThere}} + + diff --git a/editions/tw.org/tiddlers/_tw_shared/tiddlywiki.files b/editions/tw.org/tiddlers/_tw_shared/tiddlywiki.files new file mode 100644 index 000000000..01d04c5f5 --- /dev/null +++ b/editions/tw.org/tiddlers/_tw_shared/tiddlywiki.files @@ -0,0 +1,5 @@ +{ + "directories": [ + "../../../tw5.com/tiddlers/_tw_shared" + ] +} \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/images/Motovun Jack.svg b/editions/tw5.com/tiddlers/_tw_shared/Motovun Jack.svg similarity index 100% rename from editions/tw5.com/tiddlers/images/Motovun Jack.svg rename to editions/tw5.com/tiddlers/_tw_shared/Motovun Jack.svg diff --git a/editions/tw5.com/tiddlers/images/Motovun Jack.svg.meta b/editions/tw5.com/tiddlers/_tw_shared/Motovun Jack.svg.meta similarity index 100% rename from editions/tw5.com/tiddlers/images/Motovun Jack.svg.meta rename to editions/tw5.com/tiddlers/_tw_shared/Motovun Jack.svg.meta diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico b/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico new file mode 100644 index 000000000..03a9b6ee9 Binary files /dev/null and b/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico differ diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico.meta b/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico.meta new file mode 100644 index 000000000..99a21decf --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico.meta @@ -0,0 +1,2 @@ +title: $:/_tw_shared/favicons/classic.tiddlywiki.com +type: image/x-icon diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico b/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico new file mode 100644 index 000000000..7ad263dad Binary files /dev/null and b/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico differ diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico.meta b/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico.meta new file mode 100644 index 000000000..94b259b2c --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico.meta @@ -0,0 +1,2 @@ +title: $:/_tw_shared/favicons/links.tiddlywiki.org +type: image/x-icon diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg b/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg new file mode 100644 index 000000000..95b6018a6 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg.meta b/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg.meta new file mode 100644 index 000000000..f6a638938 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg.meta @@ -0,0 +1,2 @@ +title: $:/_tw_shared/favicons/talk.tiddlywiki.org +type: image/svg+xml diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico new file mode 100644 index 000000000..b73f67d49 Binary files /dev/null and b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico differ diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico.meta b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico.meta new file mode 100644 index 000000000..cc12123d8 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico.meta @@ -0,0 +1,2 @@ +title: $:/_tw_shared/favicons/tiddlywiki.com.dev +type: image/x-icon diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico new file mode 100644 index 000000000..abf226e9b Binary files /dev/null and b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico differ diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico.meta b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico.meta new file mode 100644 index 000000000..06d8324d2 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico.meta @@ -0,0 +1,2 @@ +title: $:/_tw_shared/favicons/tiddlywiki.com +type: image/x-icon diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico new file mode 100644 index 000000000..707c67577 Binary files /dev/null and b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico differ diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico.meta b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico.meta new file mode 100644 index 000000000..4249140b4 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico.meta @@ -0,0 +1,2 @@ +title: $:/_tw_shared/favicons/tiddlywiki.com.prerelease +type: image/x-icon diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico new file mode 100644 index 000000000..c6b279307 Binary files /dev/null and b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico differ diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico.meta b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico.meta new file mode 100644 index 000000000..2d7bb833b --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico.meta @@ -0,0 +1,2 @@ +title: $:/_tw_shared/favicons/tiddlywiki.org +type: image/png \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites.tid b/editions/tw5.com/tiddlers/_tw_shared/sites.tid new file mode 100644 index 000000000..ae903a8d1 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites.tid @@ -0,0 +1,32 @@ +title: $:/_tw_shared/sites +tags: $:/tags/MenuBar +caption: [img class=tc-sites-icon [Motovun Jack.svg]] Sites +is-dropdown: yes +list-before: + +\define link-body() +\whitespace trim +<$image source={{!!icon}} class="tc-sites-menu-icon"/><$transclude field="caption" mode="inline"/><$text text=" – "/><$transclude field="description" mode="inline"/> +\end + +\define current-link-body() +\whitespace trim +
+<><$text text="this site"/> +
+\end + +\whitespace trim +
+
    +<$list filter="[all[shadows+tiddlers]tag[$:/tags/TiddlyWikiSites]]"> +
  1. +<$list filter="[{!!url}!prefix{$:/info/url/full}]" emptyMessage=<> variable="ignore"> + +<> + + +
  2. + +
+
diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites/classic.tiddlywiki.com.tid b/editions/tw5.com/tiddlers/_tw_shared/sites/classic.tiddlywiki.com.tid new file mode 100644 index 000000000..6626357f4 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites/classic.tiddlywiki.com.tid @@ -0,0 +1,6 @@ +title: $:/_tw_shared/sites/classic.tiddlywiki.com +tags: $:/tags/TiddlyWikiSites +caption: classic.tiddlywiki.com +description: Original Classic Version (v2.x.x) +url: https://classic.tiddlywiki.com/ +icon: $:/_tw_shared/favicons/classic.tiddlywiki.com diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites/links.tiddlywiki.org.tid b/editions/tw5.com/tiddlers/_tw_shared/sites/links.tiddlywiki.org.tid new file mode 100644 index 000000000..a8acd46b3 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites/links.tiddlywiki.org.tid @@ -0,0 +1,6 @@ +title: $:/_tw_shared/sites/links.tiddlywiki.org +tags: $:/tags/TiddlyWikiSites +caption: links.tiddlywiki.org +description: Community Links Aggregator +url: https://links.tiddlywiki.org/ +icon: $:/_tw_shared/favicons/links.tiddlywiki.org diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites/talk.tiddlywiki.org.tid b/editions/tw5.com/tiddlers/_tw_shared/sites/talk.tiddlywiki.org.tid new file mode 100644 index 000000000..b1ea1b329 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites/talk.tiddlywiki.org.tid @@ -0,0 +1,6 @@ +title: $:/_tw_shared/sites/talk.tiddlywiki.org +tags: $:/tags/TiddlyWikiSites +caption: talk.tiddlywiki.org +description: Community Forum +url: https://talk.tiddlywiki.org/ +icon: $:/_tw_shared/favicons/talk.tiddlywiki.org diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.dev.tid b/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.dev.tid new file mode 100644 index 000000000..2ed5c3285 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.dev.tid @@ -0,0 +1,6 @@ +title: $:/_tw_shared/sites/tiddlywiki.com.dev +tags: $:/tags/TiddlyWikiSites +caption: tiddlywiki.com/dev +description: Developer Site +url: https://tiddlywiki.com/dev +icon: $:/_tw_shared/favicons/tiddlywiki.com.dev diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.prerelease.tid b/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.prerelease.tid new file mode 100644 index 000000000..2d67276f9 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.prerelease.tid @@ -0,0 +1,6 @@ +title: $:/_tw_shared/sites/tiddlywiki.com.prerelease +tags: $:/tags/TiddlyWikiSites +caption: tiddlywiki.com/prerelease +description: Latest Build of Next Release +url: https://tiddlywiki.com/prerelease +icon: $:/_tw_shared/favicons/tiddlywiki.com.prerelease diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.tid b/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.tid new file mode 100644 index 000000000..94b17f6a4 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.tid @@ -0,0 +1,6 @@ +title: $:/_tw_shared/sites/tiddlywiki.com +tags: $:/tags/TiddlyWikiSites +caption: tiddlywiki.com +description: Main Site +url: https://tiddlywiki.com/ +icon: $:/_tw_shared/favicons/tiddlywiki.com diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.org.tid b/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.org.tid new file mode 100644 index 000000000..2204eb6f6 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.org.tid @@ -0,0 +1,6 @@ +title: $:/_tw_shared/sites/tiddlywiki.org +tags: $:/tags/TiddlyWikiSites +caption: tiddlywiki.org +description: Community Matters +url: https://tiddlywiki.org/ +icon: $:/_tw_shared/favicons/tiddlywiki.org diff --git a/editions/tw5.com/tiddlers/_tw_shared/styles.tid b/editions/tw5.com/tiddlers/_tw_shared/styles.tid new file mode 100644 index 000000000..8759b708c --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/styles.tid @@ -0,0 +1,44 @@ +title: $:/_tw_shared/styles +tags: $:/tags/Stylesheet +code-body: yes + +\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock + +.tc-sites-icon { + width: 1em; + height: 1em; +} + +.tc-sites-menu { + font-size: 1.2em; +} + +.tc-sites-menu ol { + margin: 0; + list-style-type: none; + padding-left: 0; +} + +.tc-sites-menu ol li a, +.tc-sites-menu ol li .tc-sites-menu-disabled { + padding-top: 0.25em; + padding-bottom: 0.25em; +} + +.tc-sites-menu ol li .tc-sites-menu-disabled { + padding: 0 14px 0 14px; +} + +.tc-sites-menu-this-site { + color: <>; + background: <>; + font-size: 0.6em; + border-radius: 1em; + padding: 2px 6px; + margin-left: 1em; + vertical-align: top; +} + +.tc-sites-menu-icon { + margin-right: 0.5em; +} \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid b/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid new file mode 100644 index 000000000..b777382c8 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid @@ -0,0 +1,2 @@ +title: $:/tags/TiddlyWikiSites +list: $:/_tw_shared/sites/tiddlywiki.com $:/_tw_shared/sites/tiddlywiki.org $:/_tw_shared/sites/talk.tiddlywiki.org $:/_tw_shared/sites/links.tiddlywiki.org $:/_tw_shared/sites/tiddlywiki.com.prerelease $:/_tw_shared/sites/tiddlywiki.com.dev $:/_tw_shared/sites/classic.tiddlywiki.com diff --git a/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid b/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid index a0651ea8c..94f89a267 100644 --- a/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +++ b/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid @@ -1,11 +1,13 @@ created: 20190206140446821 -modified: 20210417090408263 +modified: 20220330133748666 tags: Filters title: Mathematics Operators type: text/vnd.tiddlywiki <<.from-version "5.1.20">>The mathematics filter operators allow numerical calculations to be performed within filters. +! Using mathematics operators + The mathematics operators interpret their arguments as numbers according to the following rules: * Any non-numeric characters after a valid number are ignored (e.g. `28px` is interpreted as the number 28) @@ -28,7 +30,10 @@ The mathematics operators take three different forms: ** <<.inline-operator-example "=1 =2 =3 =4 +[product[]]">> ** <<.inline-operator-example "=1 =2 =3 =4 +[average[]]">> -Operators can be combined: + +! Operations Combination + +Operations can be combined by concatenating them while merging the inner `][` characters. * <<.inline-operator-example "[[355]divide[113]fixed[5]]">> * <<.inline-operator-example "[range[100]sum[]divide[100]]">> @@ -41,4 +46,19 @@ src="""<$set name="number-of-tiddlers" value={{{ [tag[HelloThere]count[]] }}}> Average length of <$text text=<>/> tiddlers tagged <>: <$text text={{{ [tag[HelloThere]get[text]length[]sum[]dividefixed[3]] }}}/> """ /> -<> +! Mathematics Operators list + + + + + + +<$list filter="[tag[Mathematics Operators]sort[caption]]"> + + + + + +
OperatorPurpose
<$link>{{!!caption}}{{!!op-purpose}}
+ +