1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Merge branch 'tiddlywiki-com'

This commit is contained in:
Jeremy Ruston 2020-04-15 16:03:38 +01:00
commit 28fe82feff
6 changed files with 20 additions and 10 deletions

View File

@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki
The [[web server configuration parameter|WebServer Parameters]] ''path-prefix'' can be used to set an optional prefix for all paths served. The [[web server configuration parameter|WebServer Parameters]] ''path-prefix'' can be used to set an optional prefix for all paths served.
This example causes the server to serve from http://127.0.0.1/MyApp instead of the default http://127.0.0.1/MyApp. This example causes the server to serve from http://127.0.0.1/MyApp instead of the default http://127.0.0.1/.
``` ```
tiddlywiki mywikifolder --listen "path-prefix=/MyApp" tiddlywiki mywikifolder --listen "path-prefix=/MyApp"

View File

@ -15,13 +15,13 @@ The content of the `<$range>` widget is ignored.
|!Attribute |!Description | |!Attribute |!Description |
|tiddler |Title of the tiddler to manipulate (defaults to the [[current tiddler|Current Tiddler]]) | |tiddler |Title of the tiddler to manipulate (defaults to the [[current tiddler|Current Tiddler]]) |
|field |The field of the //tiddler// bound to the radio button | |field |The field of the //tiddler// bound to the range slider|
|index|<<.from-version "5.1.22">> The index of the //tiddler//, a [[DataTiddler|DataTiddlers]], to which the radio button is bound<<.tip "be sure to set the //tiddler// correctly">> | |index|<<.from-version "5.1.22">> The index of the //tiddler//, a [[DataTiddler|DataTiddlers]], to which the radio button is bound<<.tip "be sure to set the //tiddler// correctly">> |
|min |The minimum value to be able to be set by the `<$range>` widget | |min |The minimum value to be able to be set by the `<$range>` widget |
|max |The maximum value to be able to be set by the `<$range>` widget | |max |The maximum value to be able to be set by the `<$range>` widget |
|increment |The minimum amount by which a value may be changed. Defaults to 1 | |increment |The minimum amount by which a value may be changed. Defaults to 1 |
|default |The default value displayed if the field is missing or empty | |default |If the field is missing or empty this is the default position for the widget handle relative to the min and max values.|
|class |CSS classes to be assigned to the label around the radio button | |class |CSS classes to be assigned to the label around the range slider |
! Examples ! Examples

View File

@ -10,13 +10,13 @@ type: text/vnd.tiddlywiki
The reveal widget hides or shows its content depending upon the value of a [[state tiddler|StateTiddlers]]. The type of the widget determines the condition for the content being displayed: The reveal widget hides or shows its content depending upon the value of a [[state tiddler|StateTiddlers]]. The type of the widget determines the condition for the content being displayed:
* type=''match'': the content is displayed if the state tiddler matches a specified value * type=''match'': the content is displayed if the state tiddler matches the text attribute value
* type=''nomatch'': the content is displayed if the state tiddler doesn't match a specified value * type=''nomatch'': the content is displayed if the state tiddler doesn't match the text attribute value
* type=''popup'': the content is displayed as a popup as described in the PopupMechanism * type=''popup'': the content is displayed as a popup as described in the PopupMechanism
* type=''lt'': the content is displayed if the state tiddler contains an integer with a value ''less than'' a specified value * type=''lt'': the content is displayed if the state tiddler contains an integer with a value ''less than'' the text attribute value
* type=''gt'': the content is displayed if the state tiddler contains an integer with a value ''greater than'' a specified value * type=''gt'': the content is displayed if the state tiddler contains an integer with a value ''greater than'' the text attribute value
* type=''lteq'': the content is displayed if the state tiddler contains an integer with a value ''less than or equal to'' a specified value * type=''lteq'': the content is displayed if the state tiddler contains an integer with a value ''less than or equal to'' the text attribute value
* type=''gteq'': the content is displayed if the state tiddler contains an integer with a value ''greater than or equal to'' a specified value * type=''gteq'': the content is displayed if the state tiddler contains an integer with a value ''greater than or equal to'' the text attribute value
! Content and Attributes ! Content and Attributes

View File

@ -39,6 +39,10 @@ The following formats can be specified in the `format` attribute:
|''stripcomments'' |The field is interpreted as JavaScript source code and any lines beginning `\\#` are stripped | |''stripcomments'' |The field is interpreted as JavaScript source code and any lines beginning `\\#` are stripped |
|''jsencoded'' |The field is displayed as a JavaScript encoded string | |''jsencoded'' |The field is displayed as a JavaScript encoded string |
!! "WikiText format"
To display the field content as regular WikiText, for example with working links, use the [[TranscludeWidget]] instead.
! SubTiddler Access ! SubTiddler Access
The view widget allows access to the individual tiddlers stored within a [[plugin|Plugins]]. The view widget allows access to the individual tiddlers stored within a [[plugin|Plugins]].

View File

@ -391,3 +391,7 @@ Scott Willeke, @activescott, 2020/02/01
@lucible, 2020/02/05 @lucible, 2020/02/05
Matthias Bilger, @m42e, 2020/03/11 Matthias Bilger, @m42e, 2020/03/11
Mandar Vaze, @mandarvaze, 2020/04/08
Lin Dongwu, @linonetwo, 2020/04/15

View File

@ -1,5 +1,7 @@
title: $:/plugins/tiddlywiki/github-fork-ribbon/usage title: $:/plugins/tiddlywiki/github-fork-ribbon/usage
Copy appropriate chunks on a new tiddler and tag it `$:/tags/PageControls`. Name of the new tiddler does not matter. Only the tag matters.
``` ```
<!-- TOP RIGHT RIBBON: START COPYING HERE --> <!-- TOP RIGHT RIBBON: START COPYING HERE -->
<div class="github-fork-ribbon-wrapper right"><div class="github-fork-ribbon"><a href="https://github.com/simonwhitaker/github-fork-ribbon-css">Fork me on ~GitHub</a></div> <div class="github-fork-ribbon-wrapper right"><div class="github-fork-ribbon"><a href="https://github.com/simonwhitaker/github-fork-ribbon-css">Fork me on ~GitHub</a></div>