$list>
\end
diff --git a/editions/tw5.com/tiddlers/filters/addprefix.tid b/editions/tw5.com/tiddlers/filters/addprefix.tid
index 97b3aa7ba..1eada5aef 100644
--- a/editions/tw5.com/tiddlers/filters/addprefix.tid
+++ b/editions/tw5.com/tiddlers/filters/addprefix.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124172110000
+modified: 20150203181822000
tags: [[Filter Operators]] [[String Operators]]
title: addprefix Operator
type: text/vnd.tiddlywiki
caption: addprefix
-purpose: extend each input title with a prefix
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a string of characters"
-paramName="s"
-output="the input, but with <<.place s>> added to the start of each title"
-/>
+op-purpose: extend each input title with a prefix
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a string of characters
+op-parameter-name: S
+op-output: the input, but with <<.place S>> added to the start of each title
<<.operator-examples "addprefix">>
diff --git a/editions/tw5.com/tiddlers/filters/addsuffix.tid b/editions/tw5.com/tiddlers/filters/addsuffix.tid
index 6d1c5624d..81aea8354 100644
--- a/editions/tw5.com/tiddlers/filters/addsuffix.tid
+++ b/editions/tw5.com/tiddlers/filters/addsuffix.tid
@@ -1,16 +1,13 @@
created: 20140828133830424
-modified: 20150124172115000
+modified: 20150203183207000
tags: [[Filter Operators]] [[String Operators]]
title: addsuffix Operator
type: text/vnd.tiddlywiki
caption: addsuffix
-purpose: extend each input title with a suffix
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a string of characters"
-paramName="s"
-output="the input, but with <<.place s>> added to the end of each title"
-/>
+op-purpose: extend each input title with a suffix
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a string of characters
+op-parameter-name: S
+op-output: the input, but with <<.place S>> added to the end of each title
<<.operator-examples "addsuffix">>
diff --git a/editions/tw5.com/tiddlers/filters/after.tid b/editions/tw5.com/tiddlers/filters/after.tid
index dcd374e76..f0366d6b4 100644
--- a/editions/tw5.com/tiddlers/filters/after.tid
+++ b/editions/tw5.com/tiddlers/filters/after.tid
@@ -1,18 +1,15 @@
created: 20140512103123179
-modified: 20150124204353000
+modified: 20150203183205000
tags: [[Filter Operators]] [[Order Operators]]
title: after Operator
type: text/vnd.tiddlywiki
caption: after
-purpose: find which input title follows a specified one
+op-purpose: find which input title follows a specified one
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: one of those titles
+op-parameter-name: T
+op-output: the title that immediately follows <<.place T>> in the input
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="one of those titles"
-paramName="t"
-output="the title that immediately follows <<.place t>> in the input"
-/>
-
-If <<.place t>> is not present in the input, or is the last title there, then the output is empty.
+If <<.place T>> is not present in the input, or is the last title there, then the output is empty.
<<.operator-examples "after">>
diff --git a/editions/tw5.com/tiddlers/filters/all.tid b/editions/tw5.com/tiddlers/filters/all.tid
index 69c0913a5..1e5ff8b88 100644
--- a/editions/tw5.com/tiddlers/filters/all.tid
+++ b/editions/tw5.com/tiddlers/filters/all.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150129133636000
+modified: 20150203183224000
tags: [[Filter Operators]] [[Common Operators]] [[Selection Constructors]]
title: all Operator
type: text/vnd.tiddlywiki
caption: all
-purpose: find all titles of a fundamental category
-
-<$macrocall $name=".operator-def"
-input="ignored, unless the parameter is empty"
-parameter="zero or more categories -- see below"
-output="the titles that belong to all the specified categories"
-/>
+op-purpose: find all titles of a fundamental category
+op-input: ignored, unless the parameter is empty
+op-parameter: zero or more categories
+op-output: the titles that belong to all the specified categories
The parameter specifies zero or more fundamental categories using the following syntax:
diff --git a/editions/tw5.com/tiddlers/filters/backlinks.tid b/editions/tw5.com/tiddlers/filters/backlinks.tid
index 234d2e7d5..901b2b265 100644
--- a/editions/tw5.com/tiddlers/filters/backlinks.tid
+++ b/editions/tw5.com/tiddlers/filters/backlinks.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124200946000
+modified: 20150203183356000
tags: [[Filter Operators]]
title: backlinks Operator
type: text/vnd.tiddlywiki
caption: backlinks
-purpose: find the titles that link to each input title
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="none"
-output="any non-[[system|SystemTiddlers]] titles that contain [[hard links|Hard and Soft Links]] to the input titles"
-/>
+op-purpose: find the titles that link to each input title
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: none
+op-output: any non-[[system|SystemTiddlers]] titles that contain [[hard links|Hard and Soft Links]] to the input titles
Each input title is processed in turn. The corresponding tiddler's list of backlinks is generated, sorted alphabetically by title, and then [[dominantly appended|Dominant Append]] to the operator's overall output.
diff --git a/editions/tw5.com/tiddlers/filters/before.tid b/editions/tw5.com/tiddlers/filters/before.tid
index fc70c7905..c1c2ff16a 100644
--- a/editions/tw5.com/tiddlers/filters/before.tid
+++ b/editions/tw5.com/tiddlers/filters/before.tid
@@ -1,18 +1,15 @@
created: 20140512103123179
-modified: 20150124164952000
+modified: 20150203191918000
tags: [[Filter Operators]] [[Order Operators]]
caption: before
title: before Operator
type: text/vnd.tiddlywiki
-purpose: find which input title precedes a specified one
+op-purpose: find which input title precedes a specified one
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: one of those titles
+op-parameter-name: T
+op-output: the title that immediately precedes <<.place T>> in the input
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="one of those titles"
-paramName="t"
-output="the title that immediately precedes <<.place t>> in the input"
-/>
-
-If <<.place t>> is not present in the input, or is the first title there, then the output is empty.
+If <<.place T>> is not present in the input, or is the first title there, then the output is empty.
<<.operator-examples "before">>
diff --git a/editions/tw5.com/tiddlers/filters/bf.tid b/editions/tw5.com/tiddlers/filters/bf.tid
index 4420432e6..041b096a0 100644
--- a/editions/tw5.com/tiddlers/filters/bf.tid
+++ b/editions/tw5.com/tiddlers/filters/bf.tid
@@ -1,9 +1,7 @@
created: 20140410103123179
-modified: 20150124200504000
+modified: 20150203183738000
tags: [[Filter Operators]] [[Order Operators]]
title: bf Operator
type: text/vnd.tiddlywiki
caption: bf
-purpose: same as <<.op rest>>
-
-<<.op bf>> is a synonym for <<.olink rest>>, also known as <<.olink butfirst>>.
+op-purpose: same as <<.olink rest>>
diff --git a/editions/tw5.com/tiddlers/filters/butfirst.tid b/editions/tw5.com/tiddlers/filters/butfirst.tid
index bbc7f9b86..155134e36 100644
--- a/editions/tw5.com/tiddlers/filters/butfirst.tid
+++ b/editions/tw5.com/tiddlers/filters/butfirst.tid
@@ -1,9 +1,7 @@
created: 20140410103123179
-modified: 20150124200507000
+modified: 20150203183733000
tags: [[Filter Operators]] [[Order Operators]]
title: butfirst Operator
type: text/vnd.tiddlywiki
caption: butfirst
-purpose: same as <<.op rest>>
-
-<<.op butfirst>> is a synonym for <<.olink rest>>, also known as <<.olink bf>>.
+op-purpose: same as <<.olink rest>>
diff --git a/editions/tw5.com/tiddlers/filters/butlast.tid b/editions/tw5.com/tiddlers/filters/butlast.tid
index 55452f56f..c88346884 100644
--- a/editions/tw5.com/tiddlers/filters/butlast.tid
+++ b/editions/tw5.com/tiddlers/filters/butlast.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124172210000
+modified: 20150203191930000
tags: [[Filter Operators]] [[Order Operators]]
title: butlast Operator
type: text/vnd.tiddlywiki
caption: butlast
-purpose: discard the last <<.place n>> input titles
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="an integer, defaulting to 1"
-paramName="n"
-output="all but the last <<.place n>> input titles"
-/>
+op-purpose: discard the last <<.place N>> input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: an integer, defaulting to 1
+op-parameter-name: N
+op-output: all but the last <<.place N>> input titles
<<.operator-examples "butlast">>
diff --git a/editions/tw5.com/tiddlers/filters/commands.tid b/editions/tw5.com/tiddlers/filters/commands.tid
index 854fe89d7..3ccc42bec 100644
--- a/editions/tw5.com/tiddlers/filters/commands.tid
+++ b/editions/tw5.com/tiddlers/filters/commands.tid
@@ -1,15 +1,12 @@
created: 20140410103123179
-modified: 20150129133643000
+modified: 20150203184154000
tags: [[Filter Operators]] [[Special Operators]] [[Selection Constructors]]
title: commands Operator
type: text/vnd.tiddlywiki
caption: commands
-purpose: select the titles of all the Node.js commands
-
-<$macrocall $name=".operator-def"
-input="ignored"
-parameter="none"
-output="the [[command words|Commands]] that can be given to [[TiddlyWiki on Node.js]]"
-/>
+op-purpose: select the titles of all the Node.js commands
+op-input: ignored
+op-parameter: none
+op-output: the [[command words|Commands]] that can be given to [[TiddlyWiki on Node.js]]
<<.operator-examples "commands">>
diff --git a/editions/tw5.com/tiddlers/filters/each.tid b/editions/tw5.com/tiddlers/filters/each.tid
index 04c3e02f8..09b69fa70 100644
--- a/editions/tw5.com/tiddlers/filters/each.tid
+++ b/editions/tw5.com/tiddlers/filters/each.tid
@@ -1,26 +1,23 @@
created: 20140410103123179
-modified: 20150127202915000
+modified: 20150203184257000
tags: [[Filter Operators]] [[Group Operators]]
title: each Operator
type: text/vnd.tiddlywiki
caption: each
-purpose: select one of each group of input titles by field
+op-purpose: select one of each group of input titles by field
+op-input: a [[selection of titles|Title Selection]]
+op-suffix: optionally, `list`
+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>>
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-suffix="optionally, `list`"
-parameter="the name of a [[field|TiddlerFields]], defaulting to <<.field title>>"
-paramName="f"
-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.
+Each input title is processed in turn. The value of field <<.place F>> in the corresponding tiddler is examined.
;each
:As long as the field's value has not been encountered before, the title is appended to the output.
;each:list
:The value is treated as a [[title list|Title List]]. Each title in the list considered in turn. If it has not been encountered before, it is appended to the output.
-If a tiddler doesn't contain field <<.place f>>, it is treated as if the field's value was empty.
+If a tiddler doesn't contain field <<.place F>>, it is treated as if the field's value was empty.
<<.operator-examples "each">>
diff --git a/editions/tw5.com/tiddlers/filters/eachday.tid b/editions/tw5.com/tiddlers/filters/eachday.tid
index 07f459761..b965ff96e 100644
--- a/editions/tw5.com/tiddlers/filters/eachday.tid
+++ b/editions/tw5.com/tiddlers/filters/eachday.tid
@@ -1,20 +1,17 @@
created: 20140410103123179
-modified: 20150127202806000
+modified: 20150203184456000
tags: [[Filter Operators]] [[Group Operators]] [[Date Operators]]
title: eachday Operator
type: text/vnd.tiddlywiki
caption: eachday
-purpose: select one of each group of input titles by date
+op-purpose: select one of each group of input titles by date
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the name of a [[date field|Date Fields]]
+op-parameter-name: F
+op-output: a selection containing the first input title encountered for each distinct value (ignoring times of day) of field <<.place F>>
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="the name of a [[date field|Date Fields]]"
-paramName="f"
-output="a selection containing the first input title encountered for each distinct value (ignoring times of day) of field <<.place f>>"
-/>
+Each input title is processed in turn. The value of field <<.place F>> in the corresponding tiddler is examined, and as long as this indicates a date that has not been encountered before, the title is appended to the output.
-Each input title is processed in turn. The value of field <<.place f>> in the corresponding tiddler is examined, and as long as this indicates a date that has not been encountered before, the title is appended to the output.
-
-If a tiddler doesn't contain field <<.place f>>, it contributes nothing to the output.
+If a tiddler doesn't contain field <<.place F>>, it contributes nothing to the output.
<<.operator-examples "eachday">>
diff --git a/editions/tw5.com/tiddlers/filters/editiondescription.tid b/editions/tw5.com/tiddlers/filters/editiondescription.tid
index c538ea3af..f5dc89d10 100644
--- a/editions/tw5.com/tiddlers/filters/editiondescription.tid
+++ b/editions/tw5.com/tiddlers/filters/editiondescription.tid
@@ -1,16 +1,13 @@
created: 20150111145738451
-modified: 20150124165002000
+modified: 20150203184528000
tags: [[Filter Operators]] [[Special Operators]]
title: editiondescription Operator
type: text/vnd.tiddlywiki
caption: editiondescription
-purpose: select the descriptions of the input editions
-
-<$macrocall $name=".operator-def"
-input="a [[selection|Title Selection]] of edition names"
-parameter="none"
-output="the description string of each edition in the input"
-/>
+op-purpose: select the descriptions of the input editions
+op-input: a [[selection|Title Selection]] of edition names
+op-parameter: none
+op-output: the description string of each edition in the input
Each input title is processed in turn, ignoring any that is not the name of a ~TiddlyWiki edition.
diff --git a/editions/tw5.com/tiddlers/filters/editions.tid b/editions/tw5.com/tiddlers/filters/editions.tid
index 4c2ee9e4d..8b502fab4 100644
--- a/editions/tw5.com/tiddlers/filters/editions.tid
+++ b/editions/tw5.com/tiddlers/filters/editions.tid
@@ -1,15 +1,12 @@
created: 20150111145738451
-modified: 20150129133647000
+modified: 20150203184604000
tags: [[Filter Operators]] [[Special Operators]] [[Selection Constructors]]
title: editions Operator
type: text/vnd.tiddlywiki
caption: editions
-purpose: select the names of all the ~TiddlyWiki editions
-
-<$macrocall $name=".operator-def"
-input="ignored"
-parameter="none"
-output="the name of each ~TiddlyWiki edition, in alphabetical order"
-/>
+op-purpose: select the names of all the ~TiddlyWiki editions
+op-input: ignored
+op-parameter: none
+op-output: the name of each ~TiddlyWiki edition, in alphabetical order
<<.node-only-operator>>
diff --git a/editions/tw5.com/tiddlers/filters/examples/getindex.tid b/editions/tw5.com/tiddlers/filters/examples/getindex.tid
new file mode 100644
index 000000000..b0512507b
--- /dev/null
+++ b/editions/tw5.com/tiddlers/filters/examples/getindex.tid
@@ -0,0 +1,7 @@
+created: 20150203140000000
+modified: 20150203140000000
+tags: [[getindex Operator]] [[Operator Examples]]
+title: getindex Operator (Examples)
+
+<<.operator-example 1 "[[$:/palettes/Vanilla]getindex[background]]" "returns the value at index ''background'' of the [[DataTiddler|DataTiddlers]] [[$:/palettes/Vanilla]]">>
+<<.operator-example 2 "[tag[$:/tags/Palette]getindex[background]]" "returns all background colors defined in any of the ColourPalettes">>
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/filters/field.tid b/editions/tw5.com/tiddlers/filters/field.tid
index f25348c4e..901f22feb 100644
--- a/editions/tw5.com/tiddlers/filters/field.tid
+++ b/editions/tw5.com/tiddlers/filters/field.tid
@@ -1,25 +1,22 @@
created: 20140410103123179
-modified: 20150124201655000
+modified: 20150203184718000
tags: [[Filter Operators]] [[Common Operators]] [[Field Operators]] [[Negatable Operators]]
title: field Operator
type: text/vnd.tiddlywiki
caption: field
-purpose: filter the input by field
+op-purpose: filter the input by field
+op-input: a [[selection of titles|Title Selection]]
+op-suffix: the name of a [[field|TiddlerFields]]
+op-suffix-name: F
+op-parameter: a possible value of field <<.place F>>
+op-parameter-name: S
+op-output: those input tiddlers in which field <<.place F>> has the value <<.place S>>
+op-neg-output: those input tiddlers in which field <<.place F>> does <<.em not>> have the value <<.place S>>
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-suffix="the name of a [[field|TiddlerFields]]"
-suffixName="f"
-parameter="a possible value of field <<.place f>>"
-paramName="s"
-output="those input tiddlers in which field <<.place f>> has the value <<.place s>>"
-negationOutput="those input tiddlers in which field <<.place f>> does <<.em not>> have the value <<.place s>>"
-/>
+If <<.place S>> is empty, <<.op field>> will match both of the following:
-If <<.place s>> is empty, <<.op field>> will match both of the following:
-
-* tiddlers that don't contain field <<.place f>>
-* tiddlers in which field <<.place f>> exists but has an empty value
+* tiddlers that don't contain field <<.place F>>
+* tiddlers in which field <<.place F>> exists but has an empty value
The syntax of a [[filter step|Filter Step]] treats any unrecognised [[filter operator|Filter Operators]] as if it was the suffix to the <<.op field>> operator. See the <<.operator-examples "field" "examples">>.
diff --git a/editions/tw5.com/tiddlers/filters/fields.tid b/editions/tw5.com/tiddlers/filters/fields.tid
index f73f2b7a9..dd4404ac3 100644
--- a/editions/tw5.com/tiddlers/filters/fields.tid
+++ b/editions/tw5.com/tiddlers/filters/fields.tid
@@ -1,16 +1,13 @@
created: 20140924115616653
-modified: 20150124184835000
+modified: 20150203184828000
tags: [[Filter Operators]] [[Field Operators]]
title: fields Operator
type: text/vnd.tiddlywiki
caption: fields
-purpose: select all field names of the input titles
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="none"
-output="all the field names contained in the input tiddlers"
-/>
+op-purpose: select all field names of the input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: none
+op-output: all the field names contained in the input tiddlers
Each input title is processed in turn. Its list of field names is retrieved (in no particular order) and then [[dominantly appended|Dominant Append]] to the operator's output.
diff --git a/editions/tw5.com/tiddlers/filters/first.tid b/editions/tw5.com/tiddlers/filters/first.tid
index b7302cfd1..1c07d3406 100644
--- a/editions/tw5.com/tiddlers/filters/first.tid
+++ b/editions/tw5.com/tiddlers/filters/first.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124161800000
+modified: 20150203191946000
tags: [[Filter Operators]] [[Order Operators]]
title: first Operator
type: text/vnd.tiddlywiki
caption: first
-purpose: select the first <<.place n>> input titles
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="an integer, defaulting to 1"
-paramName="n"
-output="the first <<.place n>> input titles"
-/>
+op-purpose: select the first <<.place N>> input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: an integer, defaulting to 1
+op-parameter-name: N
+op-output: the first <<.place N>> input titles
<<.operator-examples "first">>
diff --git a/editions/tw5.com/tiddlers/filters/get.tid b/editions/tw5.com/tiddlers/filters/get.tid
index 1f9980ae9..8623aa6d6 100644
--- a/editions/tw5.com/tiddlers/filters/get.tid
+++ b/editions/tw5.com/tiddlers/filters/get.tid
@@ -1,20 +1,17 @@
created: 20140426183123179
-modified: 20150124165013000
+modified: 20150203185001000
tags: [[Filter Operators]] [[Field Operators]]
title: get Operator
type: text/vnd.tiddlywiki
caption: get
-purpose: select all values of a field in the input titles
+op-purpose: select all values of a field in the input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the name of a [[field|TiddlerFields]]
+op-parameter-name: F
+op-output: the values of field <<.place F>> in each of the input titles
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="the name of a [[field|TiddlerFields]]"
-paramName="f"
-output="the values of field <<.place f>> in each of the input titles"
-/>
+Each input title is processed in turn. If the corresponding tiddler contains field <<.place F>>, and the value of this field is not empty, then its value is appended to the output.
-Each input title is processed in turn. If the corresponding tiddler contains field <<.place f>>, and the value of this field is not empty, then its value is appended to the output.
-
-Unlike most other [[Filter Operators]], the [[selection|Title Selection]] output by <<.op get>> can contain duplicates. To avoid duplicates, use `each[f]get[f]`.
+Unlike most other [[Filter Operators]], the [[selection|Title Selection]] output by <<.op get>> can contain duplicates. To avoid duplicates, use `each[F]get[F]`.
<<.operator-examples "get">>
diff --git a/editions/tw5.com/tiddlers/filters/getindex.tid b/editions/tw5.com/tiddlers/filters/getindex.tid
new file mode 100644
index 000000000..e4b35e733
--- /dev/null
+++ b/editions/tw5.com/tiddlers/filters/getindex.tid
@@ -0,0 +1,17 @@
+created: 20150203140000000
+modified: 20150203140000000
+tags: [[Filter Operators]] [[Field Operators]]
+title: getindex Operator
+caption: getindex
+purpose: select all values of a data property in the input titles
+
+<$macrocall $name=".operator-def"
+input="a [[selection of titles|Title Selection]]"
+parameter="the name of a [[property|DataTiddlers]]"
+paramName="P"
+output="the values of property <<.place P>> in each of the input titles"
+/>
+
+Each input title is processed in turn, and is ignored if it does not denote a [[data tiddler|DataTiddlers]]. If the tiddler contains property <<.place P>>, the value of that property is [[dominantly appended|Dominant Append]] to the output.
+
+<<.operator-examples "getindex">>
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/filters/has.tid b/editions/tw5.com/tiddlers/filters/has.tid
index db20f1aab..65be9505e 100644
--- a/editions/tw5.com/tiddlers/filters/has.tid
+++ b/editions/tw5.com/tiddlers/filters/has.tid
@@ -1,18 +1,14 @@
created: 20140410103123179
-modified: 20150124191952000
+modified: 20150203191843000
tags: [[Filter Operators]] [[Common Operators]] [[Field Operators]] [[Negatable Operators]]
title: has Operator
type: text/vnd.tiddlywiki
caption: has
-purpose: filter the input by field existence
-
-<$macrocall $name=".operator-def"
-syntax="has[f]"
-input="a [[selection of titles|Title Selection]]"
-parameter="the name of a [[field|TiddlerFields]]"
-paramName="f"
-output="those input tiddlers in which field <<.place f>> has a non-empty value"
-negationOutput="those input tiddlers in which field <<.place f>> does <<.em not>> exist or has an empty value"
-/>
+op-purpose: filter the input by field existence
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the name of a [[field|TiddlerFields]]
+op-parameter-name: F
+op-output: those input tiddlers in which field <<.place F>> has a non-empty value
+op-neg-output: those input tiddlers in which field <<.place F>> does <<.em not>> exist or has an empty value
<<.operator-examples "has">>
diff --git a/editions/tw5.com/tiddlers/filters/indexes.tid b/editions/tw5.com/tiddlers/filters/indexes.tid
index 0d79aeb9a..d574b1901 100644
--- a/editions/tw5.com/tiddlers/filters/indexes.tid
+++ b/editions/tw5.com/tiddlers/filters/indexes.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124184840000
+modified: 20150203185150000
tags: [[Filter Operators]]
title: indexes Operator
type: text/vnd.tiddlywiki
caption: indexes
-purpose: select all data properties of the input titles
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="none"
-output="all the property names or indices contained in the input data tiddlers"
-/>
+op-purpose: select all data properties of the input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: none
+op-output: all the property names or indices contained in the input data tiddlers
Each input title is processed in turn, and is ignored if it does not denote a [[data tiddler|DataTiddlers]]. The list of property names is retrieved from the data tiddler (in no particular order) and then [[dominantly appended|Dominant Append]] to the operator's output.
diff --git a/editions/tw5.com/tiddlers/filters/is.tid b/editions/tw5.com/tiddlers/filters/is.tid
index dc8841ab3..31e5c6c53 100644
--- a/editions/tw5.com/tiddlers/filters/is.tid
+++ b/editions/tw5.com/tiddlers/filters/is.tid
@@ -1,20 +1,17 @@
created: 20140410103123179
-modified: 20150124202225000
+modified: 20150203185255000
tags: [[Filter Operators]] [[Common Operators]] [[Negatable Operators]]
title: is Operator
type: text/vnd.tiddlywiki
caption: is
-purpose: filter the input by fundamental category
+op-purpose: filter the input by fundamental category
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a category
+op-parameter-name: C
+op-output: those input tiddlers that belong to category <<.place C>>
+op-neg-output: those input tiddlers that do <<.em not>> belong to category <<.place C>>
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a category -- see below"
-paramName="c"
-output="those input tiddlers that belong to category <<.place c>>"
-negationOutput="those input tiddlers that do <<.em not>> belong to category <<.place c>>"
-/>
-
-The parameter <<.place c>> is one of the following fundamental categories:
+The parameter <<.place C>> is one of the following fundamental categories:
|!Category |!Matches any tiddler that... |
|^`current` |is the [[current tiddler|CurrentTiddler]] |
@@ -26,7 +23,7 @@ The parameter <<.place c>> is one of the following fundamental categories:
|^`tag` |is in use as a tag |
|^`tiddler` |exists as a non-shadow tiddler |
-If <<.place c>> is anything else, the output is an error message.
+If <<.place C>> is anything else, the output is an error message.
`!is[tiddler]` is a synonym for `is[missing]`, and vice versa.
diff --git a/editions/tw5.com/tiddlers/filters/last.tid b/editions/tw5.com/tiddlers/filters/last.tid
index 360fe175b..5cb0ef9ab 100644
--- a/editions/tw5.com/tiddlers/filters/last.tid
+++ b/editions/tw5.com/tiddlers/filters/last.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124204508000
+modified: 20150203192036000
tags: [[Filter Operators]] [[Order Operators]]
title: last Operator
type: text/vnd.tiddlywiki
caption: last
-purpose: select the last <<.place n>> input titles
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="an integer, defaulting to 1"
-paramName="n"
-output="the last <<.place n>> input titles"
-/>
+op-purpose: select the last <<.place N>> input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: an integer, defaulting to 1
+op-parameter-name: N
+op-output: the last <<.place N>> input titles
<<.operator-examples "last">>
diff --git a/editions/tw5.com/tiddlers/filters/limit.tid b/editions/tw5.com/tiddlers/filters/limit.tid
index c4b9dac3b..78f6658ea 100644
--- a/editions/tw5.com/tiddlers/filters/limit.tid
+++ b/editions/tw5.com/tiddlers/filters/limit.tid
@@ -1,19 +1,16 @@
created: 20140410103123179
-modified: 20150124204544000
+modified: 20150203185456000
tags: [[Filter Operators]] [[Common Operators]] [[Order Operators]] [[Negatable Operators]]
title: limit Operator
type: text/vnd.tiddlywiki
caption: limit
-purpose: select the first or last <<.place n>> input titles
+op-purpose: select the first or last <<.place N>> input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: an integer, defaulting to 0
+op-parameter-name: N
+op-output: the first <<.place N>> input titles
+op-neg-output: the last <<.place N>> input titles
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="an integer, defaulting to 0"
-paramName="n"
-output="the first <<.place n>> input titles"
-negationOutput="the last <<.place n>> input titles"
-/>
-
-`limit[n]` and `!limit[n]` are synonyms for `first[n]` and `last[n]` respectively.
+`limit[N]` and `!limit[N]` are synonyms for `first[N]` and `last[N]` respectively.
<<.operator-examples "limit">>
diff --git a/editions/tw5.com/tiddlers/filters/links.tid b/editions/tw5.com/tiddlers/filters/links.tid
index ca93cf1a8..95c5d4cdb 100644
--- a/editions/tw5.com/tiddlers/filters/links.tid
+++ b/editions/tw5.com/tiddlers/filters/links.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124184844000
+modified: 20150203185545000
tags: [[Filter Operators]] [[Common Operators]]
title: links Operator
type: text/vnd.tiddlywiki
caption: links
-purpose: find the titles linked to by each input title
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="none"
-output="the titles to which the input tiddlers contain [[hard links|Hard and Soft Links]]"
-/>
+op-purpose: find the titles linked to by each input title
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: none
+op-output: the titles to which the input tiddlers contain [[hard links|Hard and Soft Links]]
Each input title is processed in turn. The corresponding tiddler's list of links is generated, in the order in which they appear in the tiddler's text, and [[dominantly appended|Dominant Append]] to the operator's overall output.
diff --git a/editions/tw5.com/tiddlers/filters/list.tid b/editions/tw5.com/tiddlers/filters/list.tid
index 49f791021..20f09c996 100644
--- a/editions/tw5.com/tiddlers/filters/list.tid
+++ b/editions/tw5.com/tiddlers/filters/list.tid
@@ -1,23 +1,20 @@
created: 20140410103123179
-modified: 20150129133705000
+modified: 20150203192721000
tags: [[Filter Operators]] [[Field Operators]] [[Selection Constructors]] [[Negatable Operators]]
title: list Operator
type: text/vnd.tiddlywiki
caption: list
-purpose: select titles via a list field
+op-purpose: select titles via a list field
+op-input: ignored
+op-neg-input: a [[selection of titles|Title Selection]]
+op-parameter: a [[reference|TextReference]] to a [[field|TiddlerFields]] or [[property|DataTiddlers]] of a particular tiddler
+op-parameter-name: R
+op-output: the titles stored as a [[title list|Title List]] at <<.place R>>
+op-neg-output: those input titles that are <<.em not>> mentioned at <<.place R>>
-<$macrocall $name=".operator-def"
-input="ignored"
-negationInput="a [[selection of titles|Title Selection]]"
-parameter="a [[reference|TextReference]] to a [[field|TiddlerFields]] or [[property|DataTiddlers]] of a particular tiddler"
-paramName="r"
-output="the titles stored as a [[title list|Title List]] at <<.place r>>"
-negationOutput="those input titles that are <<.em not>> mentioned at <<.place r>>"
-/>
-
-<<.place r>> can reference either a field or a property. See [[TextReference]] for the syntax.
+<<.place R>> can reference either a field or a property. See [[TextReference]] for the syntax.
* If neither is specified, the <<.field list>> field is used by default. So `[list[T]]` outputs the titles listed in the <<.field list>> of tiddler T.
-* If <<.place r>> consists of <<.em only>> a field or a property, the tiddler part of the reference defaults to the CurrentTiddler. So `[list[!!tags]]` outputs the titles listed in the <<.field tags>> field of the current tiddler.
+* If <<.place R>> consists of <<.em only>> a field or a property, the tiddler part of the reference defaults to the CurrentTiddler. So `[list[!!tags]]` outputs the titles listed in the <<.field tags>> field of the current tiddler.
<<.operator-examples "list">>
diff --git a/editions/tw5.com/tiddlers/filters/listed.tid b/editions/tw5.com/tiddlers/filters/listed.tid
index b5095f8d1..e90499dc7 100644
--- a/editions/tw5.com/tiddlers/filters/listed.tid
+++ b/editions/tw5.com/tiddlers/filters/listed.tid
@@ -1,20 +1,17 @@
created: 20140410103123179
-modified: 20150124203638000
+modified: 20150203185745000
tags: [[Filter Operators]] [[Field Operators]]
title: listed Operator
type: text/vnd.tiddlywiki
caption: listed
-purpose: find the titles that list the input titles
+op-purpose: find the titles that list the input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field list>>
+op-parameter-name: F
+op-output: the titles in which field <<.place F>> mentions any of the input titles
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="the name of a [[field|TiddlerFields]], defaulting to <<.field list>>"
-paramName="f"
-output="the titles in which field <<.place f>> mentions any of the input titles"
-/>
+<<.field F>> is assumed to be a [[title list|Title List]].
-<<.field f>> is assumed to be a [[title list|Title List]].
-
-Each input title is processed in turn. A list of tiddlers whose <<.place f>> field mentions it is generated (in no particular order) and [[dominantly appended|Dominant Append]] to the operator's overall output.
+Each input title is processed in turn. A list of tiddlers whose <<.place F>> field mentions it is generated (in no particular order) and [[dominantly appended|Dominant Append]] to the operator's overall output.
<<.operator-examples "listed">>
diff --git a/editions/tw5.com/tiddlers/filters/modules.tid b/editions/tw5.com/tiddlers/filters/modules.tid
index a3e525837..737354b70 100644
--- a/editions/tw5.com/tiddlers/filters/modules.tid
+++ b/editions/tw5.com/tiddlers/filters/modules.tid
@@ -1,15 +1,12 @@
created: 20140410103123179
-modified: 20150124170624000
+modified: 20150203185838000
tags: [[Filter Operators]] [[Special Operators]]
title: modules Operator
type: text/vnd.tiddlywiki
caption: modules
-purpose: select the names of all modules of the input module types
-
-<$macrocall $name=".operator-def"
-input="a [[selection|Title Selection]] of module types"
-parameter="none"
-output="the title of each module with any of the input types"
-/>
+op-purpose: select the names of all modules of the input module types
+op-input: a [[selection|Title Selection]] of module types
+op-parameter: none
+op-output: the title of each module with any of the input types
<<.operator-examples "modules">>
diff --git a/editions/tw5.com/tiddlers/filters/moduletypes.tid b/editions/tw5.com/tiddlers/filters/moduletypes.tid
index e931d37ec..a4befb961 100644
--- a/editions/tw5.com/tiddlers/filters/moduletypes.tid
+++ b/editions/tw5.com/tiddlers/filters/moduletypes.tid
@@ -1,15 +1,12 @@
created: 20140410103123179
-modified: 20150129133709000
+modified: 20150203185903000
tags: [[Filter Operators]] [[Special Operators]] [[Selection Constructors]]
title: moduletypes Operator
type: text/vnd.tiddlywiki
caption: moduletypes
-purpose: select the names of all ~TiddlyWiki module types
-
-<$macrocall $name=".operator-def"
-input="ignored"
-parameter="none"
-output="the name of each known ~TiddlyWiki [[module type|ModuleType]], in alphabetical order"
-/>
+op-purpose: select the names of all ~TiddlyWiki module types
+op-input: ignored
+op-parameter: none
+op-output: the name of each known ~TiddlyWiki [[module type|ModuleType]], in alphabetical order
<<.operator-examples "moduletypes">>
diff --git a/editions/tw5.com/tiddlers/filters/next.tid b/editions/tw5.com/tiddlers/filters/next.tid
index 9e3415d41..a633c77eb 100644
--- a/editions/tw5.com/tiddlers/filters/next.tid
+++ b/editions/tw5.com/tiddlers/filters/next.tid
@@ -1,17 +1,14 @@
created: 20140410103123179
-modified: 20150124171754000
+modified: 20150203185954000
tags: [[Filter Operators]] [[Field Operators]] [[Order Operators]]
title: next Operator
type: text/vnd.tiddlywiki
caption: next
-purpose: find which titles in a <<.field list>> field follow the input ones
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a tiddler title"
-paramName="t"
-output="a selection containing each title that immediately follows each of the input titles in the <<.field list>> field of <<.place t>>"
-/>
+op-purpose: find which titles in a <<.field list>> field follow the input ones
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a tiddler title
+op-parameter-name: T
+op-output: a selection containing each title that immediately follows each of the input titles in the <<.field list>> field of <<.place T>>
Each input title is processed in turn, and its successor is located in the <<.field list>> field and appended to the output. If a title is not listed in the field, or is the last title there, then it contributes nothing to the output.
diff --git a/editions/tw5.com/tiddlers/filters/nsort.tid b/editions/tw5.com/tiddlers/filters/nsort.tid
index 7bd2d78ad..ab73c592e 100644
--- a/editions/tw5.com/tiddlers/filters/nsort.tid
+++ b/editions/tw5.com/tiddlers/filters/nsort.tid
@@ -1,18 +1,15 @@
created: 20140410103123179
-modified: 20150124205344000
+modified: 20150203190051000
tags: [[Filter Operators]] [[Field Operators]] [[Order Operators]] [[Negatable Operators]]
title: nsort Operator
type: text/vnd.tiddlywiki
caption: nsort
-purpose: sort the input by number field
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="the name of a [[field|TiddlerFields]], defaulting to <<.field title>>"
-paramName="f"
-output="the input, sorted into ascending order by field <<.field f>>, treating field values as numbers"
-negationOutput="the input, likewise sorted into descending order"
-/>
+op-purpose: sort the input by number field
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>>
+op-parameter-name: F
+op-output: the input, sorted into ascending order by field <<.field F>>, treating field values as numbers
+op-neg-output: the input, likewise sorted into descending order
Non-numeric values are treated as having a higher value than any number, and the difference between capital and lowercase letters is ignored. Compare <<.olink nsortcs>>.
diff --git a/editions/tw5.com/tiddlers/filters/nsortcs.tid b/editions/tw5.com/tiddlers/filters/nsortcs.tid
index e546589b2..8cf383b9d 100644
--- a/editions/tw5.com/tiddlers/filters/nsortcs.tid
+++ b/editions/tw5.com/tiddlers/filters/nsortcs.tid
@@ -1,18 +1,15 @@
created: 20140410103123179
-modified: 20150124205339000
+modified: 20150203190202000
tags: [[Filter Operators]] [[Field Operators]] [[Order Operators]] [[Negatable Operators]]
title: nsortcs Operator
type: text/vnd.tiddlywiki
caption: nsortcs
-purpose: sort the input titles by number field, ignoring case
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="the name of a [[field|TiddlerFields]], defaulting to <<.field title>>"
-paramName="f"
-output="the input, sorted into ascending order by field <<.field f>>, treating field values as numbers"
-negationOutput="the input, likewise sorted into descending order"
-/>
+op-purpose: sort the input titles by number field, ignoring case
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>>
+op-parameter-name: F
+op-output: the input, sorted into ascending order by field <<.place F>>, treating field values as numbers
+op-neg-output: the input, likewise sorted into descending order
Non-numeric values are treated as having a higher value than any number, and capital and lowercase letters are treated as different. Compare <<.olink nsort>>.
diff --git a/editions/tw5.com/tiddlers/filters/nth.tid b/editions/tw5.com/tiddlers/filters/nth.tid
index ed8058b0d..032ac53ca 100644
--- a/editions/tw5.com/tiddlers/filters/nth.tid
+++ b/editions/tw5.com/tiddlers/filters/nth.tid
@@ -1,18 +1,15 @@
created: 20150122204111000
-modified: 20150124204959000
+modified: 20150203192048000
tags: [[Filter Operators]] [[Order Operators]]
title: nth Operator
type: text/vnd.tiddlywiki
caption: nth
-purpose: select the <<.place n>>th input title
+op-purpose: select the <<.place N>>th input title
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: an integer, defaulting to 1
+op-parameter-name: N
+op-output: the <<.place N>>th input title
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="an integer, defaulting to 1"
-paramName="n"
-output="the <<.place n>>th input title"
-/>
-
-<<.place n>> is one-based. In other words, `nth[1]` has the same effect as the <<.olink first>> operator.
+<<.place N>> is one-based. In other words, `nth[1]` has the same effect as the <<.olink first>> operator.
<<.operator-examples "nth">>
diff --git a/editions/tw5.com/tiddlers/filters/plugintiddlers.tid b/editions/tw5.com/tiddlers/filters/plugintiddlers.tid
index 95b4dfab6..659a447c7 100644
--- a/editions/tw5.com/tiddlers/filters/plugintiddlers.tid
+++ b/editions/tw5.com/tiddlers/filters/plugintiddlers.tid
@@ -1,15 +1,12 @@
created: 20140410103123179
-modified: 20150124200549000
+modified: 20150203190350000
tags: [[Filter Operators]] [[Special Operators]]
title: plugintiddlers Operator
type: text/vnd.tiddlywiki
caption: plugintiddlers
-purpose: select all shadow titles in the input plugins
-
-<$macrocall $name=".operator-def"
-input="a [[selection|Title Selection]] of plugin tiddler titles"
-parameter="none"
-output="all shadow titles contained in the input plugins"
-/>
+op-purpose: select all shadow titles in the input plugins
+op-input: a [[selection|Title Selection]] of plugin tiddler titles
+op-parameter: none
+op-output: all shadow titles contained in the input plugins
<<.operator-examples "plugintiddlers">>
diff --git a/editions/tw5.com/tiddlers/filters/prefix.tid b/editions/tw5.com/tiddlers/filters/prefix.tid
index bb4e3a908..0e048b2dd 100644
--- a/editions/tw5.com/tiddlers/filters/prefix.tid
+++ b/editions/tw5.com/tiddlers/filters/prefix.tid
@@ -1,18 +1,15 @@
created: 20140410103123179
-modified: 20150124192023000
+modified: 20150203192735000
tags: [[Filter Operators]] [[String Operators]] [[Negatable Operators]]
title: prefix Operator
type: text/vnd.tiddlywiki
caption: prefix
-purpose: filter the input titles by how they start
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a string of characters"
-paramName="s"
-output="those input titles that start with <<.place s>>"
-negationOutput="those input tiddlers that do <<.em not>> start with <<.place s>>"
-/>
+op-purpose: filter the input titles by how they start
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a string of characters
+op-parameter-name: S
+op-output: those input titles that start with <<.place S>>
+op-neg-output: those input tiddlers that do <<.em not>> start with <<.place S>>
<<.s-matching-is-case-sensitive>>
diff --git a/editions/tw5.com/tiddlers/filters/previous.tid b/editions/tw5.com/tiddlers/filters/previous.tid
index 43966dc1a..8bde472f6 100644
--- a/editions/tw5.com/tiddlers/filters/previous.tid
+++ b/editions/tw5.com/tiddlers/filters/previous.tid
@@ -1,17 +1,14 @@
created: 20140410103123179
-modified: 20150124171748000
+modified: 20150203190515000
tags: [[Filter Operators]] [[Field Operators]] [[Order Operators]]
title: previous Operator
type: text/vnd.tiddlywiki
caption: previous
-purpose: find which titles in a <<.field list>> field precede the input ones
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a tiddler title"
-paramName="t"
-output="a selection containing each title that immediately precedes each of the input titles in the <<.field list>> field of <<.place t>>"
-/>
+op-purpose: find which titles in a <<.field list>> field precede the input ones
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a tiddler title
+op-parameter-name: T
+op-output: a selection containing each title that immediately precedes each of the input titles in the <<.field list>> field of <<.place T>>
Each input title is processed in turn, and its predecessor is located in the <<.field list>> field and appended to the output. If a title is not listed in the field, or is the first item there, then it contributes nothing to the output.
diff --git a/editions/tw5.com/tiddlers/filters/regexp.tid b/editions/tw5.com/tiddlers/filters/regexp.tid
index 49d825150..016e6a07b 100644
--- a/editions/tw5.com/tiddlers/filters/regexp.tid
+++ b/editions/tw5.com/tiddlers/filters/regexp.tid
@@ -1,31 +1,28 @@
created: 20140909134102102
-modified: 20150124203736000
+modified: 20150203190626000
tags: [[Filter Operators]] [[Field Operators]] [[Negatable Operators]]
title: regexp Operator
type: text/vnd.tiddlywiki
caption: regexp
-purpose: filter the input by pattern-matched field
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-suffix="the name of a [[field|TiddlerFields]]"
-suffixName="f"
-parameter="a regular expression"
-paramName="x"
-output="those input tiddlers in which field <<.place f>> matches <<.place x>>"
-negationOutput="those input tiddlers in which field <<.place f>> does <<.em not>> match <<.place x>>"
-/>
+op-purpose: filter the input by pattern-matched field
+op-input: a [[selection of titles|Title Selection]]
+op-suffix: the name of a [[field|TiddlerFields]]
+op-suffix-name: F
+op-parameter: a regular expression
+op-parameter-name: X
+op-output: those input tiddlers in which field <<.place F>> matches <<.place X>>
+op-neg-output: those input tiddlers in which field <<.place F>> does <<.em not>> match <<.place X>>
<<.def "Regular expressions">> are concise strings of characters that denote patterns of text to search for. The format used in ~TiddlyWiki is fully defined in [[this Mozilla reference|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions]].
The [[filter syntax|Filter Run]] makes it impossible to directly specify a regular expression that contains square brackets. The solution is to store the expression in a [[variable|Variables]]. See the <<.operator-examples "regexp" "examples">>.
-The parameter <<.place x>> can optionally start or end with a string of flags:
+The parameter <<.place X>> can optionally start or end with a string of flags:
<$railroad text=""" "(?" { ("i"|"m"|:"g") } ")" """/>
Only the `i` flag is generally useful: it forces the different between capital and lowercase letters to be ignored.
-If <<.place x>> is empty, <<.op regexp>> will match all of the input tiddlers.
+If <<.place X>> is empty, <<.op regexp>> will match all of the input tiddlers.
<<.operator-examples "regexp">>
diff --git a/editions/tw5.com/tiddlers/filters/removeprefix.tid b/editions/tw5.com/tiddlers/filters/removeprefix.tid
index 39947c882..10f8e87eb 100644
--- a/editions/tw5.com/tiddlers/filters/removeprefix.tid
+++ b/editions/tw5.com/tiddlers/filters/removeprefix.tid
@@ -1,17 +1,14 @@
created: 20140410103123179
-modified: 20150124173431000
+modified: 20150203190709000
tags: [[Filter Operators]] [[String Operators]]
title: removeprefix Operator
type: text/vnd.tiddlywiki
caption: removeprefix
-purpose: filter the input titles by how they start, deleting that prefix
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a string of characters"
-paramName="s"
-output="those input titles that start with <<.place s>>, but with those characters discarded"
-/>
+op-purpose: filter the input titles by how they start, deleting that prefix
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a string of characters
+op-parameter-name: S
+op-output: those input titles that start with <<.place S>>, but with those characters discarded
<<.s-matching-is-case-sensitive>>
diff --git a/editions/tw5.com/tiddlers/filters/removesuffix.tid b/editions/tw5.com/tiddlers/filters/removesuffix.tid
index 2db32d2ce..b1ecd495c 100644
--- a/editions/tw5.com/tiddlers/filters/removesuffix.tid
+++ b/editions/tw5.com/tiddlers/filters/removesuffix.tid
@@ -1,17 +1,14 @@
created: 20140828133830424
-modified: 20150124173434000
+modified: 20150203190744000
tags: [[Filter Operators]] [[String Operators]]
title: removesuffix Operator
type: text/vnd.tiddlywiki
caption: removesuffix
-purpose: filter the input titles by how they end, deleting that suffix
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a string of characters"
-paramName="s"
-output="those input titles that end with <<.place s>>, but with those characters discarded"
-/>
+op-purpose: filter the input titles by how they end, deleting that suffix
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a string of characters
+op-parameter-name: S
+op-output: those input titles that end with <<.place S>>, but with those characters discarded
<<.s-matching-is-case-sensitive>>
diff --git a/editions/tw5.com/tiddlers/filters/rest.tid b/editions/tw5.com/tiddlers/filters/rest.tid
index 6242da65a..7dff61300 100644
--- a/editions/tw5.com/tiddlers/filters/rest.tid
+++ b/editions/tw5.com/tiddlers/filters/rest.tid
@@ -1,17 +1,14 @@
created: 20140410103123179
-modified: 20150124191714000
+modified: 20150203190822000
tags: [[Filter Operators]] [[Order Operators]]
title: rest Operator
type: text/vnd.tiddlywiki
caption: rest
-purpose: discard the first <<.place n>> input titles
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="an integer, defaulting to 1"
-paramName="n"
-output="all but the first <<.place n>> input titles"
-/>
+op-purpose: discard the first <<.place N>> input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: an integer, defaulting to 1
+op-parameter-name: N
+op-output: all but the first <<.place N>> input titles
<<.olink butfirst>> and <<.olink bf>> are synonyms for <<.op rest>>.
diff --git a/editions/tw5.com/tiddlers/filters/reverse.tid b/editions/tw5.com/tiddlers/filters/reverse.tid
index 79ae04c1d..0c2b1a457 100644
--- a/editions/tw5.com/tiddlers/filters/reverse.tid
+++ b/editions/tw5.com/tiddlers/filters/reverse.tid
@@ -1,15 +1,12 @@
created: 20140410103123179
-modified: 20150124205130000
+modified: 20150203190852000
tags: [[Filter Operators]] [[Order Operators]]
title: reverse Operator
type: text/vnd.tiddlywiki
caption: reverse
-purpose: reverse the order of the input titles
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="none"
-output="the input, in reverse order"
-/>
+op-purpose: reverse the order of the input titles
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: none
+op-output: the input, in reverse order
<<.operator-examples "reverse">>
diff --git a/editions/tw5.com/tiddlers/filters/sameday.tid b/editions/tw5.com/tiddlers/filters/sameday.tid
index 03580ea9c..31e9f11ad 100644
--- a/editions/tw5.com/tiddlers/filters/sameday.tid
+++ b/editions/tw5.com/tiddlers/filters/sameday.tid
@@ -1,22 +1,19 @@
created: 20140410103123179
-modified: 20150124214612000
+modified: 20150203190959000
tags: [[Filter Operators]] [[Date Operators]]
title: sameday Operator
type: text/vnd.tiddlywiki
caption: sameday
-purpose: filter the input by date
+op-purpose: filter the input by date
+op-input: a [[selection of titles|Title Selection]]
+op-suffix: the name of a [[date field|Date Fields]], defaulting to <<.field modified>>
+op-suffix-name: F
+op-parameter: a date, in the [[format|DateFormat]] `YYYYMMDD`
+op-parameter-name: D
+op-output: those input tiddlers in which field <<.place F>> has the value <<.place D>>, ignoring time
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-suffix="the name of a [[date field|Date Fields]], defaulting to <<.field modified>>"
-suffixName="f"
-parameter="a date, in the [[format|DateFormat]] `YYYYMMDD`"
-paramName="d"
-output="those input tiddlers in which field <<.place f>> has the value <<.place d>>, ignoring time"
-/>
+If <<.place D>> is not a valid date, the output is empty.
-If <<.place d>> is not a valid date, the output is empty.
-
-<<.place d>> may include a time of day, but this is ignored.
+<<.place D>> may include a time of day, but this is ignored.
<<.operator-examples "sameday">>
diff --git a/editions/tw5.com/tiddlers/filters/search.tid b/editions/tw5.com/tiddlers/filters/search.tid
index d821dc42c..6e8799788 100644
--- a/editions/tw5.com/tiddlers/filters/search.tid
+++ b/editions/tw5.com/tiddlers/filters/search.tid
@@ -1,19 +1,16 @@
created: 20140410103123179
-modified: 20150124204023000
+modified: 20150203191048000
tags: [[Filter Operators]] [[Common Operators]] [[Field Operators]] [[Negatable Operators]]
title: search Operator
type: text/vnd.tiddlywiki
caption: search
-purpose: filter the input by searching tiddler content
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-suffix="optionally, the name of a [[field|TiddlerFields]]"
-suffixName="f"
-parameter="one or more search terms, separated by spaces"
-output="those input tiddlers in which <<.em all>> of the search terms can be found in the value of field <<.place f>>"
-negationOutput="those input tiddlers in which <<.em not>> all of the search terms can be so found"
-/>
+op-purpose: filter the input by searching tiddler content
+op-input: a [[selection of titles|Title Selection]]
+op-suffix: optionally, the name of a [[field|TiddlerFields]]
+op-suffix-name: F
+op-parameter: one or more search terms, separated by spaces
+op-output: those input tiddlers in which <<.em all>> of the search terms can be found in the value of field <<.place F>>
+op-neg-output: those input tiddlers in which <<.em not>> all of the search terms can be so found
When used with a suffix, the <<.op search>> operator is similar to <<.olink regexp>> but less powerful.
diff --git a/editions/tw5.com/tiddlers/filters/shadowsource.tid b/editions/tw5.com/tiddlers/filters/shadowsource.tid
index 65f54c8c2..e6cd5a294 100644
--- a/editions/tw5.com/tiddlers/filters/shadowsource.tid
+++ b/editions/tw5.com/tiddlers/filters/shadowsource.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124210534000
+modified: 20150203191120000
tags: [[Filter Operators]] [[Special Operators]]
title: shadowsource Operator
type: text/vnd.tiddlywiki
caption: shadowsource
-purpose: select the plugin titles that contain the input shadows
-
-<$macrocall $name=".operator-def"
-input="a [[selection|Title Selection]] of [[shadow titles|ShadowTiddlers]]"
-parameter="none"
-output="the [[plugins|Plugins]] that contain the input tiddlers"
-/>
+op-purpose: select the plugin titles that contain the input shadows
+op-input: a [[selection|Title Selection]] of [[shadow titles|ShadowTiddlers]]
+op-parameter: none
+op-output: the [[plugins|Plugins]] that contain the input tiddlers
Each input title is processed in turn. If it denotes a shadow tiddler, the title of its plugin tiddler is [[dominantly appended|Dominant Append]] to the output. Non-shadow tiddlers contribute nothing to the output.
diff --git a/editions/tw5.com/tiddlers/filters/sort.tid b/editions/tw5.com/tiddlers/filters/sort.tid
index 85bc646b8..b20dc5430 100644
--- a/editions/tw5.com/tiddlers/filters/sort.tid
+++ b/editions/tw5.com/tiddlers/filters/sort.tid
@@ -1,18 +1,15 @@
created: 20140410103123179
-modified: 20150124205350000
+modified: 20150203191228000
tags: [[Filter Operators]] [[Common Operators]] [[Field Operators]] [[Order Operators]] [[Negatable Operators]]
title: sort Operator
type: text/vnd.tiddlywiki
caption: sort
-purpose: sort the input by text field
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="the name of a [[field|TiddlerFields]], defaulting to <<.field title>>"
-paramName="f"
-output="the input, sorted into ascending order by field <<.field f>>, treating field values as text"
-negationOutput="the input, likewise sorted into descending order"
-/>
+op-purpose: sort the input by text field
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>>
+op-parameter-name: F
+op-output: the input, sorted into ascending order by field <<.field F>>, treating field values as text
+op-neg-output: the input, likewise sorted into descending order
The difference between capital and lowercase letters is ignored. Compare <<.olink sortcs>>.
diff --git a/editions/tw5.com/tiddlers/filters/sortcs.tid b/editions/tw5.com/tiddlers/filters/sortcs.tid
index 3fb0d369d..f5c90a069 100644
--- a/editions/tw5.com/tiddlers/filters/sortcs.tid
+++ b/editions/tw5.com/tiddlers/filters/sortcs.tid
@@ -1,18 +1,15 @@
created: 20140410103123179
-modified: 20150124205353000
+modified: 20150203191308000
tags: [[Filter Operators]] [[Field Operators]] [[Order Operators]] [[Negatable Operators]]
title: sortcs Operator
type: text/vnd.tiddlywiki
caption: sortcs
-purpose: sort the input by text field, ignoring case
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="the name of a [[field|TiddlerFields]], defaulting to <<.field title>>"
-paramName="f"
-output="the input, sorted into ascending order by field <<.field f>>, treating field values as text"
-negationOutput="the input, likewise sorted into descending order"
-/>
+op-purpose: sort the input by text field, ignoring case
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>>
+op-parameter-name: F
+op-output: the input, sorted into ascending order by field <<.field F>>, treating field values as text
+op-neg-output: the input, likewise sorted into descending order
Capital and lowercase letters are treated as different. Compare <<.olink sort>>.
diff --git a/editions/tw5.com/tiddlers/filters/splitbefore.tid b/editions/tw5.com/tiddlers/filters/splitbefore.tid
index 1178ddeaa..5759372ab 100644
--- a/editions/tw5.com/tiddlers/filters/splitbefore.tid
+++ b/editions/tw5.com/tiddlers/filters/splitbefore.tid
@@ -1,22 +1,19 @@
created: 20150126142522000
-modified: 20150126143945000
+modified: 20150203192107000
tags: [[Filter Operators]] [[String Operators]]
title: splitbefore Operator
type: text/vnd.tiddlywiki
caption: splitbefore
-purpose: select a delimited prefix from each input title
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a string of characters marking the end of the prefix"
-paramName="s"
-output="the prefix, up to and including <<.place S>>, of each input title"
-/>
+op-purpose: select a delimited prefix from each input title
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a string of characters marking the end of the prefix
+op-parameter-name: S
+op-output: the prefix, up to and including <<.place S>>, of each input title
Each input title is processed in turn.
-* A title that contains <<.place s>> contributes everything up to and including <<.place s>>.
-* A title that doesn't contain <<.place s>> simply contributes itself to the output.
+* A title that contains <<.place S>> contributes everything up to and including <<.place S>>.
+* A title that doesn't contain <<.place S>> simply contributes itself to the output.
Contributions are [[dominantly appended|Dominant Append]] to the output.
diff --git a/editions/tw5.com/tiddlers/filters/storyviews.tid b/editions/tw5.com/tiddlers/filters/storyviews.tid
index 071f4fe48..562078dae 100644
--- a/editions/tw5.com/tiddlers/filters/storyviews.tid
+++ b/editions/tw5.com/tiddlers/filters/storyviews.tid
@@ -1,16 +1,13 @@
created: 20150126141718000
-modified: 20150126142035000
+modified: 20150203191420000
tags: [[Filter Operators]] [[Special Operators]]
title: storyviews Operator
type: text/vnd.tiddlywiki
caption: storyviews
-purpose: select the names of all the story views
-
-<$macrocall $name=".operator-def"
-input="ignored"
-parameter="none"
-output="the name of each story view"
-/>
+op-purpose: select the names of all the story views
+op-input: ignored
+op-parameter: none
+op-output: the name of each story view
The names are those exported by [[modules|Modules]] whose <<.field module-type>> is <<.value storyview>>.
diff --git a/editions/tw5.com/tiddlers/filters/suffix.tid b/editions/tw5.com/tiddlers/filters/suffix.tid
index a4653b6ce..76355385b 100644
--- a/editions/tw5.com/tiddlers/filters/suffix.tid
+++ b/editions/tw5.com/tiddlers/filters/suffix.tid
@@ -1,18 +1,15 @@
created: 20140828133830424
-modified: 20150124192043000
+modified: 20150203192738000
tags: [[Filter Operators]] [[String Operators]] [[Negatable Operators]]
title: suffix Operator
type: text/vnd.tiddlywiki
caption: suffix
-purpose: filter the input titles by how they end
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="a string of characters"
-paramName="s"
-output="those input titles that end with <<.place p>>"
-negationOutput="those input tiddlers that do <<.em not>> end with <<.place p>>"
-/>
+op-purpose: filter the input titles by how they end
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: a string of characters
+op-parameter-name: S
+op-output: those input titles that end with <<.place S>>
+op-neg-output: those input tiddlers that do <<.em not>> end with <<.place S>>
<<.s-matching-is-case-sensitive>>
diff --git a/editions/tw5.com/tiddlers/filters/tag.tid b/editions/tw5.com/tiddlers/filters/tag.tid
index d908a9950..995cae7b1 100644
--- a/editions/tw5.com/tiddlers/filters/tag.tid
+++ b/editions/tw5.com/tiddlers/filters/tag.tid
@@ -1,21 +1,18 @@
created: 20140410103123179
-modified: 20150124205948000
+modified: 20150203191853000
tags: [[Filter Operators]] [[Common Operators]] [[Tag Operators]] [[Negatable Operators]]
title: tag Operator
type: text/vnd.tiddlywiki
caption: tag
-purpose: filter the input by tag
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="the title of a [[tag|Tagging]]"
-paramName="t"
-output="those input tiddlers that have tag <<.place t>>"
-negationOutput="those input tiddlers that do <<.em not>> have tag <<.place t>>"
-/>
+op-purpose: filter the input by tag
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: the title of a [[tag|Tagging]]
+op-parameter-name: T
+op-output: those input tiddlers that have tag <<.place T>>
+op-neg-output: those input tiddlers that do <<.em not>> have tag <<.place T>>
The output is [[sorted|Order of Tagged Tiddlers]] using the tag's <<.field list>> field and the tiddlers' <<.field list-before>> and <<.field list-after>> fields.
-If <<.place t>> is empty, the output of `tag` is empty, and the output of `!tag` is a copy of the input.
+If <<.place T>> is empty, the output of `tag` is empty, and the output of `!tag` is a copy of the input.
<<.operator-examples "tag">>
diff --git a/editions/tw5.com/tiddlers/filters/tagging.tid b/editions/tw5.com/tiddlers/filters/tagging.tid
index c8ccce101..8503dd64a 100644
--- a/editions/tw5.com/tiddlers/filters/tagging.tid
+++ b/editions/tw5.com/tiddlers/filters/tagging.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124205941000
+modified: 20150203191620000
tags: [[Filter Operators]] [[Tag Operators]]
title: tagging Operator
type: text/vnd.tiddlywiki
caption: tagging
-purpose: find the tiddlers that have the input tags
-
-<$macrocall $name=".operator-def"
-input="a [[selection|Title Selection]] of [[tags|Tagging]]"
-parameter="none"
-output="the titles of any tiddlers that carry the input tags"
-/>
+op-purpose: find the tiddlers that have the input tags
+op-input: a [[selection|Title Selection]] of [[tags|Tagging]]
+op-parameter: none
+op-output: the titles of any tiddlers that carry the input tags
Each input tag is processed in turn. The list of tiddlers carrying that tag is generated, [[sorted|Order of Tagged Tiddlers]], and then [[dominantly appended|Dominant Append]] to the operator's overall output.
diff --git a/editions/tw5.com/tiddlers/filters/tags.tid b/editions/tw5.com/tiddlers/filters/tags.tid
index 7dc972fd4..72e46c21f 100644
--- a/editions/tw5.com/tiddlers/filters/tags.tid
+++ b/editions/tw5.com/tiddlers/filters/tags.tid
@@ -1,16 +1,13 @@
created: 20140410103123179
-modified: 20150124210613000
+modified: 20150203191657000
tags: [[Filter Operators]] [[Tag Operators]]
title: tags Operator
type: text/vnd.tiddlywiki
caption: tags
-purpose: select all tags of the input tiddlers
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="none"
-output="all the tags carried by the input tiddlers"
-/>
+op-purpose: select all tags of the input tiddlers
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: none
+op-output: all the tags carried by the input tiddlers
Each input title is processed in turn. The corresponding tiddler's tags are retrieved (in order of appearance in the <<.field tags>> field) and then [[dominantly appended|Dominant Append]] to the operator's output.
diff --git a/editions/tw5.com/tiddlers/filters/title.tid b/editions/tw5.com/tiddlers/filters/title.tid
index 53966239f..46f16e9b6 100644
--- a/editions/tw5.com/tiddlers/filters/title.tid
+++ b/editions/tw5.com/tiddlers/filters/title.tid
@@ -1,19 +1,16 @@
created: 20140410103123179
-modified: 20150129133732000
+modified: 20150203191749000
tags: [[Filter Operators]] [[Common Operators]] [[Selection Constructors]] [[Negatable Operators]]
title: title Operator
type: text/vnd.tiddlywiki
caption: title
-purpose: select a single title
-
-<$macrocall $name=".operator-def"
-input="ignored"
-negationInput="a [[selection of titles|Title Selection]]"
-parameter="a tiddler title"
-paramName="t"
-output="a selection containing only <<.place t>>"
-negationOutput="the input, but with tiddler <<.place t>> filtered out if it exists in the wiki"
-/>
+op-purpose: select a single title
+op-input: ignored
+op-neg-input: a [[selection of titles|Title Selection]]
+op-parameter: a tiddler title
+op-parameter-name: T
+op-output: a selection containing only <<.place T>>
+op-neg-output: the input, but with tiddler <<.place T>> filtered out if it exists in the wiki
`[title[An Example]]` can be shortened to `[[An Example]]`, because <<.op title>> is the default filter operator.
diff --git a/editions/tw5.com/tiddlers/filters/untagged.tid b/editions/tw5.com/tiddlers/filters/untagged.tid
index 84ed30f5c..972995a9e 100644
--- a/editions/tw5.com/tiddlers/filters/untagged.tid
+++ b/editions/tw5.com/tiddlers/filters/untagged.tid
@@ -1,17 +1,14 @@
created: 20140410103123179
-modified: 20150124192055000
+modified: 20150203191821000
tags: [[Filter Operators]] [[Tag Operators]] [[Negatable Operators]]
title: untagged Operator
type: text/vnd.tiddlywiki
caption: untagged
-purpose: discard any input titles that have tags
-
-<$macrocall $name=".operator-def"
-input="a [[selection of titles|Title Selection]]"
-parameter="none"
-output="those input tiddlers that have no tags"
-negationOutput="those input tiddlers that have at least one tag"
-/>
+op-purpose: discard any input titles that have tags
+op-input: a [[selection of titles|Title Selection]]
+op-parameter: none
+op-output: those input tiddlers that have no tags
+op-neg-output: those input tiddlers that have at least one tag
A tiddler is deemed to have no tags if it:
diff --git a/editions/tw5.com/tiddlers/macros/if-macro.js b/editions/tw5.com/tiddlers/macros/if-macro.js
index 6c902ed65..b91f2ad8a 100644
--- a/editions/tw5.com/tiddlers/macros/if-macro.js
+++ b/editions/tw5.com/tiddlers/macros/if-macro.js
@@ -20,6 +20,7 @@ exports.params = [
exports.run = function(cond, then, elze) {
then = then || "";
elze = elze || "";
+console.log('Condition:', cond);
return cond ? then : elze;
};
diff --git a/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid b/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid
index d7790550e..b5fdc8763 100644
--- a/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid
+++ b/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid
@@ -1,5 +1,5 @@
created: 20140213171818824
-modified: 20140516172236345
+modified: 20150207131000000
tags: Mechanisms
title: HistoryMechanism
type: text/vnd.tiddlywiki
@@ -25,3 +25,11 @@ Which renders the same as the "Open" sidebar tab, with the addition of a tick ag
<$button message="tm-close-tiddler" class="tc-btn-invisible tc-btn-mini">×$button> <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<>>✓$reveal>$link>
$list>
+
+!! Empty Story
+
+To display content when the story is empty, create $:/config/EmptyStoryMessage and enter the desired contents. The following would show the GettingStarted tiddler when all others are closed.
+
+```
+{{GettingStarted||$:/core/ui/ViewTemplate}}
+```
\ No newline at end of file
diff --git a/editions/tw5.com/tiddlers/system/doc-styles.tid b/editions/tw5.com/tiddlers/system/doc-styles.tid
index 75914c677..ad9481b35 100644
--- a/editions/tw5.com/tiddlers/system/doc-styles.tid
+++ b/editions/tw5.com/tiddlers/system/doc-styles.tid
@@ -1,5 +1,5 @@
created: 20150117152612000
-modified: 20150126091948000
+modified: 20150203183335000
title: $:/editions/tw5.com/doc-styles
tags: $:/tags/Stylesheet
@@ -30,7 +30,6 @@ tags: $:/tags/Stylesheet
color: <>;
font-style: normal;
font-weight: bold;
- text-transform: uppercase;
}
.doc-button,
@@ -121,3 +120,7 @@ tr.doc-table-subheading {
height: 2em;
vertical-align: middle;
}
+
+.doc-table.before-tiddler-body {
+ margin-top: 2em;
+}
diff --git a/editions/tw5.com/tiddlers/system/operator-macros.tid b/editions/tw5.com/tiddlers/system/operator-macros.tid
index 631c15f10..01ccb596f 100644
--- a/editions/tw5.com/tiddlers/system/operator-macros.tid
+++ b/editions/tw5.com/tiddlers/system/operator-macros.tid
@@ -1,30 +1,8 @@
created: 20150117152607000
-modified: 20150127203427000
+modified: 20150203190441000
title: $:/editions/tw5.com/operator-macros
tags: $:/tags/Macro
-\define .operator-suffix-name(suffixName)
-<$macrocall $name=".if" cond="""$suffixName$""" then="<<.place '$suffixName$'>> = " else=""/>
-\end
-
-\define .operator-def(input,negationInput,suffix,suffixName,parameter,paramName,output,negationOutput)
-
-\end
-
\define .operator-examples(op,text:"Examples") <$link to="$op$ Operator (Examples)">$text$$link>
\define .operator-example(n,eg,ie)
@@ -50,7 +28,7 @@ else=""/>
\define .this-is-operator-example() This example tiddler is used to illustrate some of the [[Filter Operators]].
\define .using-days-of-week() These examples make use of the [[Days of the Week]] tiddler.
-\define .s-matching-is-case-sensitive() In looking for matches for <<.place s>>, capital and lowercase letters are treated as different.
+\define .s-matching-is-case-sensitive() In looking for matches for <<.place S>>, capital and lowercase letters are treated as different.
\define .node-only-operator()
diff --git a/editions/tw5.com/tiddlers/system/operator-template.tid b/editions/tw5.com/tiddlers/system/operator-template.tid
new file mode 100644
index 000000000..312686cb5
--- /dev/null
+++ b/editions/tw5.com/tiddlers/system/operator-template.tid
@@ -0,0 +1,77 @@
+created: 20150203173506000
+modified: 20150203181725000
+title: $:/editions/tw5.com/operator-template
+tags: $:/tags/ViewTemplate
+list-before: $:/core/ui/ViewTemplate/body
+
+\define .op-place()
+<$macrocall $name=".if"
+ cond="""$(op-name)$"""
+ then="<<.place '$(op-name)$'>> = "
+ else=""/>
+\end
+
+\define .op-row()
+<$macrocall $name=".if"
+ cond="""$(op-body)$"""
+ then="""
+$list>
+$set>
+$set>
+$set>
diff --git a/editions/tw5.com/tiddlywiki.info b/editions/tw5.com/tiddlywiki.info
index 9340dba75..9ecb2e02c 100644
--- a/editions/tw5.com/tiddlywiki.info
+++ b/editions/tw5.com/tiddlywiki.info
@@ -30,6 +30,7 @@
"zh-Hant",
"hi-IN",
"pa-IN",
+ "pt-PT",
"it-IT",
"ja-JP",
"cs-CZ",
diff --git a/languages/pt-PT/Buttons.multids b/languages/pt-PT/Buttons.multids
new file mode 100644
index 000000000..76bf7e5b3
--- /dev/null
+++ b/languages/pt-PT/Buttons.multids
@@ -0,0 +1,72 @@
+title: $:/language/Buttons/
+
+AdvancedSearch/Caption: pesquisa avançada
+AdvancedSearch/Hint: Pesquisa avançada
+Cancel/Caption: cancelar
+Cancel/Hint: Cancelar a edição deste tiddler
+Clone/Caption: clonar
+Clone/Hint: Clonar este tiddler
+Close/Caption: fechar
+Close/Hint: Fechar este tiddler
+CloseAll/Caption: fechar todos
+CloseAll/Hint: Fechar todos os tiddlers
+CloseOthers/Caption: Fechar outros
+CloseOthers/Hint: Fechar os outros tiddlers
+ControlPanel/Caption: painel de controlo
+ControlPanel/Hint: Abrir o painel de controlo
+Delete/Caption: eliminar
+Delete/Hint: eliminar este tiddler
+Edit/Caption: editar
+Edit/Hint: Editar este tiddler
+Encryption/Caption: encriptação
+Encryption/ClearPassword/Caption: limpar palavra passe
+Encryption/ClearPassword/Hint: Limpar a palavra passe e guardar esta wiki sem encriptação
+Encryption/Hint: Definir ou limpar a palavra passe de gravação desta wiki
+Encryption/SetPassword/Caption: definir palavra passe
+Encryption/SetPassword/Hint: Definir a palavra passe para guardar esta wiki com encriptação
+ExportPage/Caption: exportar tudo
+ExportPage/Hint: Exportar todos os tiddlers
+ExportTiddler/Caption: exportar tiddler
+ExportTiddler/Hint: Exportar tiddler
+ExportTiddlers/Caption: exportar tiddlers
+ExportTiddlers/Hint: Exportar tiddlers
+FullScreen/Caption: Ecrã completo
+FullScreen/Hint: Entrar ou sair do modo de ecrã completo
+HideSideBar/Caption: esconder barra lateral
+HideSideBar/Hint: Esconder a barra lateral
+Home/Caption: Início
+Home/Hint: Abrir os tiddlers pré definidos
+Import/Caption: importar
+Import/Hint: Importar ficheiros
+Info/Caption: informação
+Info/Hint: Mostrar informação sobre este tiddler
+Language/Caption: linguagem
+Language/Hint: Escolher a linguagem do interface do utilizador
+More/Caption: mais
+More/Hint: Mais acções
+NewHere/Caption: derivar
+NewHere/Hint: Criar um novo tiddler etiquetado com o actual
+NewJournal/Caption: novo diário
+NewJournal/Hint: Criar um novo tiddler-diário
+NewJournalHere/Caption: novo diário derivado
+NewJournalHere/Hint: Criar um novo tiddler-diário etiquetado com o actual
+NewTiddler/Caption: novo tiddler
+NewTiddler/Hint: Criar um novo tiddler
+Permalink/Caption: ligação directa
+Permalink/Hint: Define o endereço do navegador para apontar directamente para este tiddler
+Permaview/Caption: vista actual
+Permaview/Hint: Define o endereço do navegador para apontar directamente para todos os tiddlers actualmente exibidos
+Refresh/Caption: actualizar
+Refresh/Hint: Recarregar totalmente a wiki actual
+Save/Caption: guardar
+Save/Hint: Guardar este tiddler
+SaveWiki/Caption: guardar alterações
+SaveWiki/Hint: Guardar as alterações
+ShowSideBar/Caption: Mostrar barra lateral
+ShowSideBar/Hint: Mostrar a barra lateral
+StoryView/Caption: Vista principal
+StoryView/Hint: Escolher a visualização principal
+TagManager/Caption: gestor de etiquetas
+TagManager/Hint: Abrir o gestor de etiquetas
+Theme/Caption: tema
+Theme/Hint: Escolher o tema de exibição
diff --git a/languages/pt-PT/ControlPanel.multids b/languages/pt-PT/ControlPanel.multids
new file mode 100644
index 000000000..46920a7a0
--- /dev/null
+++ b/languages/pt-PT/ControlPanel.multids
@@ -0,0 +1,97 @@
+title: $:/language/ControlPanel/
+
+Advanced/Caption: Avançado
+Advanced/Hint: Informação Interna sobre esta TiddlyWiki
+Appearance/Caption: Aparência
+Appearance/Hint: Formas de personalizar a aparência da sua TiddlyWiki.
+Basics/AnimDuration/Prompt: Duração da animação:
+Basics/Caption: Básicos
+Basics/DefaultTiddlers/BottomHint: Utilize [[parêntesis rectos duplos ]] para títulos com espaços. Ou pode escolher <$button set="$:/DefaultTiddlers" setTo="[list[$:/StoryList]]">guardar a ordem da lista$button>
+Basics/DefaultTiddlers/Prompt: Tiddlers pré definidos:
+Basics/DefaultTiddlers/TopHint: Escolha que tiddlers são exibidos ao iniciar:
+Basics/Language/Prompt: Olá! Linguagem actual:
+Basics/NewJournal/Tags/Prompt: Etiquetas para novos tiddlers-diário
+Basics/NewJournal/Title/Prompt: Título de novos tiddlers-diário
+Basics/OverriddenShadowTiddlers/Prompt: Número de tiddlers-sombra sobrescritos:
+Basics/ShadowTiddlers/Prompt: Número de tiddlers-sombra:
+Basics/Subtitle/Prompt: Subtítulo:
+Basics/SystemTiddlers/Prompt: Número de tiddlers de sistema:
+Basics/Tags/Prompt: Número de etiquetas:
+Basics/Tiddlers/Prompt: Número de tiddlers:
+Basics/Title/Prompt: Título desta ~TiddlyWiki:
+Basics/Username/Prompt: Nome de utilizador para assinar edições:
+Basics/Version/Prompt: Versão da ~TiddlyWiki:
+EditorTypes/Caption: Tipos de Editor
+EditorTypes/Editor/Caption: Editor
+EditorTypes/Hint: Estes tiddlers determinam que editor é utilizado para editar tipos específicos de tiddler.
+EditorTypes/Type/Caption: Tipo
+Info/Caption: Informação
+Info/Hint: Informação acerca desta TiddlyWiki
+LoadedModules/Caption: Módulos Carregados
+LoadedModules/Hint: Estes são os módulos tiddler actualmente carregados conectados com os seus tiddlers fonte. Módulos em itálico não têm tiddler fonte, geralmente por serem carregados durante o período de arranque.
+Palette/Caption: Palete
+Palette/Editor/Clone/Caption: clone
+Palette/Editor/Clone/Prompt: Recomenda-se que clone esta palete-sombra antes de a editar
+Palette/Editor/Prompt: Edição
+Palette/Editor/Prompt/Modified: Esta palete-sombra foi modificada
+Palette/Editor/Reset/Caption: repor
+Palette/HideEditor/Caption: esconder editor
+Palette/Prompt: Palete actual:
+Palette/ShowEditor/Caption: mostrar editor
+Plugins/Caption: Extensões
+Plugins/Disable/Caption: desactivar
+Plugins/Disable/Hint: Desactivar esta extensão quando recarregar a página
+Plugins/Disabled/Status: (inactivo)
+Plugins/Empty/Hint: Nenhum
+Plugins/Enable/Caption: activar
+Plugins/Enable/Hint: Activar esta extensão quando recarregar a página
+Plugins/Language/Prompt: Linguagens
+Plugins/Plugin/Prompt: Extensões
+Plugins/Theme/Prompt: Temas
+Saving/Caption: A gravar
+Saving/Heading: A gravar
+Saving/TiddlySpot/Advanced/Heading: Definições Avançadas
+Saving/TiddlySpot/BackupDir: Directoria de cópias de segurança
+Saving/TiddlySpot/Backups: Cópias de Segurança
+Saving/TiddlySpot/Description: Estas definições só serão utilizadas quando gravar para http://tiddlyspot.com ou um servidor remoto compatível
+Saving/TiddlySpot/Filename: Nome do ficheiro para envio
+Saving/TiddlySpot/Heading: ~TiddlySpot
+Saving/TiddlySpot/Hint: //O URL por defeito será `http://.tiddlyspot.com/store.cgi` e pode ser alterado para utilizar um endereço de servidor personalizado//
+Saving/TiddlySpot/Password: Palavra passe
+Saving/TiddlySpot/ServerURL: URL do Servidor
+Saving/TiddlySpot/UploadDir: Directoria de Envio
+Saving/TiddlySpot/UserName: Nome da Wiki
+Settings/AutoSave/Caption: Gravação Automática
+Settings/AutoSave/Disabled/Description: Não fazer gravação automática
+Settings/AutoSave/Enabled/Description: Fazer gravação automática
+Settings/AutoSave/Hint: Guardar alterações automaticamente durante a edição
+Settings/Caption: Definições
+Settings/Hint: Estas definições permitem personalizar o comportamento da TiddlyWiki.
+Settings/NavigationAddressBar/Caption: Barra de Endereços de Navegação
+Settings/NavigationAddressBar/Hint: Comportamento da barra de endereços do navegador quando abrir um tiddler:
+Settings/NavigationAddressBar/No/Description: Não actualizar a barra de endereços
+Settings/NavigationAddressBar/Permalink/Description: Incluir o tiddler de destino
+Settings/NavigationAddressBar/Permaview/Description: Incluir o tiddler de destino e toda a sequência em exibição
+Settings/NavigationHistory/Caption: Histórico de Navegação
+Settings/NavigationHistory/Hint: Actualizar o histórico do navegador quando navegar para um tiddler
+Settings/NavigationHistory/No/Description: Não actualizar o histórico
+Settings/NavigationHistory/Yes/Description: Actualizar o histórico
+Settings/ToolbarButtons/Caption: Botões da Barra de Ferramentas
+Settings/ToolbarButtons/Hint: Aparência pré definida dos botões da barra de ferramentas:
+Settings/ToolbarButtons/Icons/Description: Incluir ícone
+Settings/ToolbarButtons/Text/Description: Incluir texto
+StoryView/Caption: Vista principal
+StoryView/Prompt: Vista actual:
+Theme/Caption: Tema
+Theme/Prompt: Tema Actual
+TiddlerFields/Caption: Campos dos Tiddlers
+TiddlerFields/Hint: Esta é uma lista completa dos campos dos tiddlers em utilização nesta wiki (incluindo tiddlers de sistema mas excluindo tiddlers-sombra).
+Toolbars/Caption: Barras de Ferramentas
+Toolbars/EditToolbar/Caption: Barra de Ferramentas de Edição
+Toolbars/EditToolbar/Hint: Escolher que botões são exibidos para tiddlers em modo de edição
+Toolbars/Hint: Seleccionar que botões da barra de ferramentas são exibidos
+Toolbars/PageControls/Caption: Barra de Ferramentas da Página
+Toolbars/PageControls/Hint: Escolher que botões são exibidos na barra de ferramentas principal da página
+Toolbars/ViewToolbar/Caption: Barra de Ferramentas de Exibição
+Toolbars/ViewToolbar/Hint: Escolher que botões são exibidos para tiddlers em modo de visualização
+Tools/Download/Full/Caption: Transferir wiki completa
diff --git a/languages/pt-PT/CoreReadMe.tid b/languages/pt-PT/CoreReadMe.tid
new file mode 100644
index 000000000..93f5d5684
--- /dev/null
+++ b/languages/pt-PT/CoreReadMe.tid
@@ -0,0 +1,8 @@
+title: $:/core/readme
+
+Esta extensão contém os componentes principais da TiddlyWiki compostos por:
+
+* Módulos de código JavaScript
+* Ícones
+* Modelos necessários para criar o interface do utilizador da TiddlyWiki
+* Traduções em Inglês Britânico (en-GB) dos textos traduzíveis utilizados pelo núcleo
diff --git a/languages/pt-PT/Dates.multids b/languages/pt-PT/Dates.multids
new file mode 100644
index 000000000..1a0ca5f1c
--- /dev/null
+++ b/languages/pt-PT/Dates.multids
@@ -0,0 +1,85 @@
+title: $:/language/
+
+Date/DaySuffix/1: º
+Date/DaySuffix/10: º
+Date/DaySuffix/11: º
+Date/DaySuffix/12: º
+Date/DaySuffix/13: º
+Date/DaySuffix/14: º
+Date/DaySuffix/15: º
+Date/DaySuffix/16: º
+Date/DaySuffix/17: º
+Date/DaySuffix/18: º
+Date/DaySuffix/19: º
+Date/DaySuffix/2: º
+Date/DaySuffix/20: º
+Date/DaySuffix/21: º
+Date/DaySuffix/22: º
+Date/DaySuffix/23: º
+Date/DaySuffix/24: º
+Date/DaySuffix/25: º
+Date/DaySuffix/26: º
+Date/DaySuffix/27: º
+Date/DaySuffix/28: º
+Date/DaySuffix/29: º
+Date/DaySuffix/3: º
+Date/DaySuffix/30: º
+Date/DaySuffix/31: º
+Date/DaySuffix/4: º
+Date/DaySuffix/5: º
+Date/DaySuffix/6: º
+Date/DaySuffix/7: º
+Date/DaySuffix/8: º
+Date/DaySuffix/9: º
+Date/Long/Day/0: Domingo
+Date/Long/Day/1: Segunda
+Date/Long/Day/2: Terça
+Date/Long/Day/3: Quarta
+Date/Long/Day/4: Quinta
+Date/Long/Day/5: Sexta
+Date/Long/Day/6: Sábado
+Date/Long/Month/1: Janeiro
+Date/Long/Month/10: Outubro
+Date/Long/Month/11: Novembro
+Date/Long/Month/12: Dezembro
+Date/Long/Month/2: Fevereiro
+Date/Long/Month/3: Março
+Date/Long/Month/4: Abril
+Date/Long/Month/5: Maio
+Date/Long/Month/6: Junho
+Date/Long/Month/7: Julho
+Date/Long/Month/8: Agosto
+Date/Long/Month/9: Setembro
+Date/Short/Day/0: Dom
+Date/Short/Day/1: Seg
+Date/Short/Day/2: Ter
+Date/Short/Day/3: Qua
+Date/Short/Day/4: Qui
+Date/Short/Day/5: Sex
+Date/Short/Day/6: Sab
+Date/Short/Month/1: Jan
+Date/Short/Month/10: Out
+Date/Short/Month/11: Nov
+Date/Short/Month/12: Dez
+Date/Short/Month/2: Fev
+Date/Short/Month/3: Mar
+Date/Short/Month/4: Abr
+Date/Short/Month/5: Mai
+Date/Short/Month/6: Jun
+Date/Short/Month/7: Jul
+Date/Short/Month/8: Ago
+Date/Short/Month/9: Set
+RelativeDate/Future/Days: Dentro de <> dias
+RelativeDate/Future/Hours: Dentro de <> horas
+RelativeDate/Future/Minutes: Dentro de <> minutos
+RelativeDate/Future/Months: Dentro de <> meses
+RelativeDate/Future/Second: Daqui a 1 segundo
+RelativeDate/Future/Seconds: Dentro de <> segundos
+RelativeDate/Future/Years: Dentro de <> anos
+RelativeDate/Past/Days: Há <> dias
+RelativeDate/Past/Hours: Há <> horas
+RelativeDate/Past/Minutes: Há <> minutos
+RelativeDate/Past/Months: Há <> meses
+RelativeDate/Past/Second: Há 1 segundo
+RelativeDate/Past/Seconds: Há <> segundos
+RelativeDate/Past/Years: Há <> anos
diff --git a/languages/pt-PT/Docs/ModuleTypes.multids b/languages/pt-PT/Docs/ModuleTypes.multids
new file mode 100644
index 000000000..b707c2e23
--- /dev/null
+++ b/languages/pt-PT/Docs/ModuleTypes.multids
@@ -0,0 +1,22 @@
+title: $:/language/Docs/ModuleTypes/
+
+animation: Animações que podem ser utilizadas com a RevealWidget.
+command: Comandos que podem ser executados no Node.js.
+config: Informação a ser inserida em `$tw.config`.
+filteroperator: Métodos de filtragem individuais.
+global: Informação global a ser inserida em `$tw`.
+isfilteroperator: Operandos para o operador de filtragem ''is''.
+macro: Definições de macros JavaScript.
+parser: Interpretadores para diferentes tipos de conteúdo.
+saver: Os savers controlam diferentes métodos para guardar ficheiros a partir do navegador.
+startup: Funções de arranque.
+storyview: As story views personalizam as animações e comportamento das ferramentas de listagem.
+tiddlerdeserializer: Converte diferentes tipos de conteúdo em tiddlers.
+tiddlerfield: Define o comportamento individual de um campo de tiddler.
+tiddlermethod: Adiciona um método ao protótipo `$tw.Tiddler`.
+upgrader: Aplica processamento de actualização durante o processo de importação/actualização de versão.
+utils: Adiciona métodos a `$tw.utils`.
+utils-node: Adiciona métodos específicos para o Node.js a `$tw.utils`.
+widget: As ferramentas widgets contém representação e actualização de DOM.
+wikimethod: Adiciona métodos a `$tw.Wiki`.
+wikirule: Regras individuais de interpretação para o interpretador principal de WikiText.
diff --git a/languages/pt-PT/Docs/PaletteColours.multids b/languages/pt-PT/Docs/PaletteColours.multids
new file mode 100644
index 000000000..fa48a84ef
--- /dev/null
+++ b/languages/pt-PT/Docs/PaletteColours.multids
@@ -0,0 +1,101 @@
+title: $:/language/Docs/PaletteColours/
+
+alert-background: Fundo de alertas
+alert-border: Margem de alertas
+alert-highlight: Realce de alertas
+alert-muted-foreground: Fundo de alertas silenciados
+background: Fundo geral
+blockquote-bar: Barra de citação
+code-background: Fundo de código
+code-border: Margem de código
+code-foreground: Primeiro plano de código
+dirty-indicator: Indicador de alterações por guardar
+download-background: Fundo do botão de transferências
+download-foreground: Primeiro plano do botão de transferências
+dragger-background: Fundo da zona de arrasto
+dragger-foreground: Primeiro plano da zona de arrasto
+dropdown-background: Fundo de menu suspenso
+dropdown-border: Margem de menu suspenso
+dropdown-tab-background: Fundo de separador suspenso
+dropdown-tab-background-selected: Fundo para separador suspenso seleccionado
+dropzone-background: Fundo de zona de largada
+external-link-background: Fundo de ligação externa
+external-link-background-hover: Fundo de ligação externa sob o cursor
+external-link-background-visited: Fundo de ligação externa visitada
+external-link-foreground: Primeiro plano de ligação externa
+external-link-foreground-hover: Primeiro plano de ligação externa sob o cursor
+external-link-foreground-visited: Primeiro plano de ligação externa visitada
+foreground: Primeiro plano geral
+message-background: Fundo de caixa de mensagem
+message-border: Margem de caixa de mensagem
+message-foreground: Primeiro plano de caixa de mensagem
+modal-backdrop: Cenário de modal
+modal-background: Fundo de modal
+modal-border: Margem de modal
+modal-footer-background: Fundo do rodapé modal
+modal-footer-border: Margem do rodapé modal
+modal-header-border: Margem do cabeçalho modal
+muted-foreground: Primeiro plano silenciado geral
+notification-background: Fundo de notificação
+notification-border: Margem de notificação
+page-background: Fundo de página
+pre-background: Fundo de código pré formatado
+pre-border: Margem de código pré formatado
+primary: Primário geral
+sidebar-button-foreground: Fundo de botões da barra lateral
+sidebar-controls-foreground: Primeiro plano de controles da barra lateral
+sidebar-controls-foreground-hover: Primeiro plano de controles da barra lateral sob cursor
+sidebar-foreground: Primeiro plano da barra lateral
+sidebar-foreground-shadow: Sombra de primeiro plano da barra lateral
+sidebar-muted-foreground: Primeiro plano silenciado da barra lateral
+sidebar-muted-foreground-hover: Primeiro plano silenciado da barra lateral sob cursor
+sidebar-tab-background: Fundo de separador da barra lateral
+sidebar-tab-background-selected: Fundo de separador seleccionado da barra lateral
+sidebar-tab-border: Margem de separador da barra lateral
+sidebar-tab-border-selected: Margem de separador seleccionado da barra lateral
+sidebar-tab-divider: Divisão de separador da barra lateral
+sidebar-tab-foreground: Primeiro plano de separador da barra lateral
+sidebar-tab-foreground-selected: Primeiro plano de separador seleccionado da barra lateral
+sidebar-tiddler-link-foreground: Primeiro plano de ligação para tiddler na barra lateral
+sidebar-tiddler-link-foreground-hover: Primeiro plano de ligação para tiddler na barra lateral sob o cursor
+static-alert-foreground: Primeiro plano de alerta estático
+tab-background: Fundo de separador
+tab-background-selected: Fundo de separador seleccionado
+tab-border: Margem de separador
+tab-border-selected: Margem de separador seleccionado
+tab-divider: Divisão de separador
+tab-foreground: Primeiro plano de separador
+tab-foreground-selected: Primeiro plano de separadores seleccionados
+table-border: Margem de tabela
+table-footer-background: Fundo de rodapé de tabela
+table-header-background: Fundo de cabeçalho de tabela
+tag-background: Fundo de etiqueta
+tag-foreground: Primeiro plano de etiqueta
+tiddler-background: Fundo de Tiddler
+tiddler-border: Margem de Tiddler
+tiddler-controls-foreground: Primeiro plano de controlos dos Tiddlers
+tiddler-controls-foreground-hover: Primeiro plano de controlos dos Tiddlers sob o cursor
+tiddler-controls-foreground-selected: Primeiro plano de controlos dos Tiddlers seleccionados
+tiddler-editor-background: Fundo do editor de Tiddlers
+tiddler-editor-border: Margem do editor de Tiddlers
+tiddler-editor-border-image: Imagem de margem do editor de Tiddlers
+tiddler-editor-fields-even: Fundo de campos pares do editor de Tiddlers
+tiddler-editor-fields-odd: Fundo de campos ímpares do editor de Tiddlers
+tiddler-info-background: Fundo do painel de informação de Tiddlers
+tiddler-info-border: Margem do painel de informação de Tiddlers
+tiddler-info-tab-background: Fundo de separadores do painel de informação de Tiddlers
+tiddler-link-background: Fundo de ligação para Tiddlers
+tiddler-link-foreground: Primeiro plano de ligação para Tiddlers
+tiddler-subtitle-foreground: Primeiro plano de subtítulo de Tiddlers
+tiddler-title-foreground: Primeiro plano de título de Tiddlers
+toolbar-cancel-button: Botão 'cancelar' da barra de ferramentas
+toolbar-close-button: Botão 'fechar' da barra de ferramentas
+toolbar-delete-button: Botão 'eliminar' da barra de ferramentas
+toolbar-done-button: Botão 'concluir' da barra de ferramentas
+toolbar-edit-button: Botão 'editar' da barra de ferramentas
+toolbar-info-button: Botão 'informação' da barra de ferramentas
+toolbar-new-button: Botão 'novo tiddler' da barra de ferramentas
+toolbar-options-button: Botão 'opções' da barra de ferramentas
+toolbar-save-button: Botão 'guardar' da barra de ferramentas
+untagged-background: Fundo de cápsula sem etiqueta
+very-muted-foreground: Fundo muito silenciado
diff --git a/languages/pt-PT/EditTemplate.multids b/languages/pt-PT/EditTemplate.multids
new file mode 100644
index 000000000..182fb3fad
--- /dev/null
+++ b/languages/pt-PT/EditTemplate.multids
@@ -0,0 +1,25 @@
+title: $:/language/EditTemplate/
+
+Body/External/Hint: Este é um tiddler armazenado fora do ficheiro principal da Tiddlywiki. Pode mudar as etiquetas mas não pode editar o seu conteúdo
+Body/Hint: Utilize [[texto wiki|http://tiddlywiki.com/static/WikiText.html]] para adicionar formatação, imagens e funcionalidades dinâmicas
+Body/Placeholder: Escreva o texto para este tiddler
+Body/Preview/Button/Hide: esconder a pré visualização
+Body/Preview/Button/Show: mostrar a pré visualização
+Field/Remove/Caption: remover campo
+Field/Remove/Hint: Remover campo
+Fields/Add/Button: adicionar
+Fields/Add/Name/Placeholder: nome do campo
+Fields/Add/Prompt: Adicionar novo campo
+Fields/Add/Value/Placeholder: valor do campo
+Shadow/OverriddenWarning: Isto é um tiddler-sombra modificado. Pode voltar à configuração pré-definida apagando este tiddler
+Shadow/Warning: Isto é um tiddler-sombra. Quaisquer alterações irão sobrepor-se à versão pré-definida
+Tags/Add/Button: adicionar
+Tags/Add/Placeholder: nome da etiqueta
+Tags/Dropdown/Caption: lista de etiquetas
+Tags/Dropdown/Hint: Mostrar a lista de etiquetas
+Type/Delete/Caption: apagar tipo de conteúdo
+Type/Delete/Hint: Apagar tipo de conteúdo
+Type/Dropdown/Caption: Lista de tipo de conteúdo
+Type/Dropdown/Hint: Mostrar a lista de tipo de conteúdo
+Type/Placeholder: tipo de conteúdo
+Type/Prompt: Tipo:
diff --git a/languages/pt-PT/Fields.multids b/languages/pt-PT/Fields.multids
new file mode 100644
index 000000000..17a8e9a48
--- /dev/null
+++ b/languages/pt-PT/Fields.multids
@@ -0,0 +1,35 @@
+title: $:/language/Docs/Fields/
+
+_canonical_uri: O URI completo dum tiddler de imagem externa
+bag: O nome do saco de onde veio o tiddler
+caption: O texto a exibir num separador ou botão
+color: O valor CSS da cor associada ao tiddler
+component: O nome do componente responsável por um [[tiddler alerta|AlertMechanism]]
+created: A data de criação do tiddler
+creator: O nome da pessoa que criou o tiddler
+current-tiddler: Utilizado para armazenar o primeiro tiddler numa [[lista de histórico|HistoryMechanism]]
+dependents: Para uma extensão, lista os títulos de extensões dependentes
+description: O texto descritivo de uma extensão, ou diálogo modal
+draft.of: Para tiddlers rascunho, contém o título do tiddler do qual este é rascunho
+draft.title: Para tiddlers rascunho, contém o título proposto para o novo tiddler
+footer: O texto de rodapé para um assistente
+hack-to-give-us-something-to-compare-against: Um campo temporário utilizado em [[$:/core/templates/static.content]]
+icon: O título do tiddler que contém o ícone associado com determinado tiddler
+library: Se definido como "yes" indica que o tiddler deve ser gravado como uma biblioteca JavaScript
+list: Uma lista ordenada de títulos de tiddlers associados com um determinado tiddler
+list-after: Se definido, o título do tiddler a seguir ao qual este tiddler deve ser adicionado numa lista ordenada de títulos de tiddlers
+list-before: Se definido, o título do tiddler a antes do qual este tiddler deve ser adicionado numa lista ordenada de títulos de tiddlers, ou no início da lista se este campo estiver presente mas vazio
+modified: A data e hora da última modificação de um tiddler
+modifier: Título do tiddler associado à última pessoa que modificou o tiddler
+name: O nome humanamente legível associado a um tiddler extensão
+plugin-priority: Valor numérico indicador da prioridade de um tiddler extensão
+plugin-type: O tipo de extensão de um tiddler extensão
+released: Data de lançamento de uma versão da TiddlyWiki
+revision: A revisão do tiddler guardada no servidor
+source: O URL fonte associado a um tiddler
+subtitle: O texto do subtítulo de um assistente
+tags: Lista de etiquetas associadas a um tiddler
+text: O texto do corpo de um tiddler
+title: O nome único de um tiddler
+type: O tipo de conteúdo de um tiddler
+version: Informação de versão de uma extensão
diff --git a/languages/pt-PT/Filters.multids b/languages/pt-PT/Filters.multids
new file mode 100644
index 000000000..af2624ab0
--- /dev/null
+++ b/languages/pt-PT/Filters.multids
@@ -0,0 +1,13 @@
+title: $:/language/Filters/
+
+AllTags: Todas as etiquetas excepto etiquetas de sistema
+AllTiddlers: Todos os tiddlers excepto os tiddlers de sistema
+Drafts: Tiddlers rascunho
+Missing: Tiddlers em falta
+Orphans: Tiddlers órfãos
+OverriddenShadowTiddlers: Tiddlers-sombra substituídos
+RecentSystemTiddlers: Tiddlers recentemente modificados, incluindo tiddlers de sistema
+RecentTiddlers: Tiddlers modificados recentemente
+ShadowTiddlers: Tiddlers-sombra
+SystemTags: Etiquetas de sistema
+SystemTiddlers: Tiddlers de sistema
diff --git a/languages/pt-PT/GettingStarted.tid b/languages/pt-PT/GettingStarted.tid
new file mode 100644
index 000000000..8c5698c7e
--- /dev/null
+++ b/languages/pt-PT/GettingStarted.tid
@@ -0,0 +1,13 @@
+title: GettingStarted
+
+Bem vindo à TiddlyWiki e à comunidade TiddlyWiki
+
+Antes de começar a armazenar informação importante na TiddlyWiki é importante certificar-se que consegue gravar alterações de forma fiável. Para mais detalhes veja http://tiddlywiki.com/#GettingStarted
+
+!! Configurar esta TiddlyWiki
+
+| | |
+| | |
+| | [list[$:/StoryList]] |
+
+Veja o painel de controlo para mais opções.
diff --git a/languages/pt-PT/Help/build.tid b/languages/pt-PT/Help/build.tid
new file mode 100644
index 000000000..f7aa61d45
--- /dev/null
+++ b/languages/pt-PT/Help/build.tid
@@ -0,0 +1,11 @@
+title: $:/language/Help/build
+description: Correr comandos configurados automaticamente
+
+Construir os alvos de construção especificados para a wiki actual. Se nenhum alvo for especificado todos os alvos disponíveis serão construídos.
+
+```
+--build [ ...]
+```
+
+Os alvos de contrução são definidos no ficheiro `tiddlywiki.info` na pasta da wiki.
+
diff --git a/languages/pt-PT/Help/clearpassword.tid b/languages/pt-PT/Help/clearpassword.tid
new file mode 100644
index 000000000..8d8fa3124
--- /dev/null
+++ b/languages/pt-PT/Help/clearpassword.tid
@@ -0,0 +1,8 @@
+title: $:/language/Help/clearpassword
+description: Remover palavra passe para as operações criptográficas subsequentes
+
+Remover a palavra passe para as operações criptográficas subsequentes
+
+```
+--clearpassword
+```
diff --git a/languages/pt-PT/Help/default.tid b/languages/pt-PT/Help/default.tid
new file mode 100644
index 000000000..4e3c5ad48
--- /dev/null
+++ b/languages/pt-PT/Help/default.tid
@@ -0,0 +1,23 @@
+title: $:/language/Help/default
+description:
+
+\define commandTitle()
+$:/language/Help/$(command)$
+\end
+```
+usage: tiddlywiki [] [-- [...]...]
+```
+
+Comandos disponíveis:
+
+
+
+Para obter ajuda detalhada sobre um comando:
+
+```
+tiddlywiki --help
+```
diff --git a/languages/pt-PT/Help/editions.tid b/languages/pt-PT/Help/editions.tid
new file mode 100644
index 000000000..c19d885d0
--- /dev/null
+++ b/languages/pt-PT/Help/editions.tid
@@ -0,0 +1,8 @@
+title: $:/language/Help/editions
+description: Lista as edições da TiddlyWiki disponíveis
+
+Lista os nomes e descrições das edições disponíveis. Pode criar uma nova wiki da edição especificada com o comando `--init` .
+
+```
+--editions
+```
diff --git a/languages/pt-PT/Help/help.tid b/languages/pt-PT/Help/help.tid
new file mode 100644
index 000000000..9e4b97687
--- /dev/null
+++ b/languages/pt-PT/Help/help.tid
@@ -0,0 +1,10 @@
+title: $:/language/Help/help
+description: Mostra a ajuda para comandos da TiddlyWiki
+
+Mostra a ajuda para um comando:
+
+```
+--help []
+```
+
+Se o comando for omitido será exibida uma lista de comandos disponíveis.
diff --git a/languages/pt-PT/Help/init.tid b/languages/pt-PT/Help/init.tid
new file mode 100644
index 000000000..1c0a05a84
--- /dev/null
+++ b/languages/pt-PT/Help/init.tid
@@ -0,0 +1,23 @@
+title: $:/language/Help/init
+description: Inicializar uma nova pasta wiki
+
+Inicializa uma [[PastaWiki|WikiFolders]] vazia com uma cópia da edição especificada.
+
+```
+--init [ ...]
+```
+
+Por exemplo:
+
+```
+tiddlywiki ./MyWikiFolder --init empty
+```
+
+Nota:
+
+* A pasta para a wiki será criada se não existir
+* Por omissão a "edition" será ''empty''
+* O comando init irá falhar se a pasta especificada não estiver vazia
+* O comando init remove quaisquer definições de `includeWikis` no ficheiro `tiddlywiki.info` da edição
+* Quando múltiplas edições são especificadas, as edições inicializadas posteriormente substituem quaisquer ficheiros partilhados com edições anteriores (de modo que o ficheiro `tiddlywiki.info` final será copiado da última edição)
+* `--editions` mostra uma lista de edições disponíveis
diff --git a/languages/pt-PT/Help/load.tid b/languages/pt-PT/Help/load.tid
new file mode 100644
index 000000000..49a5bd593
--- /dev/null
+++ b/languages/pt-PT/Help/load.tid
@@ -0,0 +1,16 @@
+title: $:/language/Help/load
+description: Carregar tiddlers de um ficheiro
+
+Carregar tiddlers de ficheiros da TiddlyWiki 2.x.x (`.html`), `.tiddler`, `.tid`, `.json` ou outros ficheiros
+
+```
+--load
+```
+
+Para carregar tiddlers de um ficheiro TiddlyWiki encriptado deve primeiro especificar uma palavra passe com o comando Password. Por exemplo:
+
+```
+tiddlywiki ./MyWiki --password pa55w0rd --load my_encrypted_wiki.html
+```
+
+A TiddlyWiki não carregará uma versão anterior de um plugin já carregado.
diff --git a/languages/pt-PT/Help/makelibrary.tid b/languages/pt-PT/Help/makelibrary.tid
new file mode 100644
index 000000000..a0fbe297b
--- /dev/null
+++ b/languages/pt-PT/Help/makelibrary.tid
@@ -0,0 +1,14 @@
+title: $:/language/Help/makelibrary
+description: Constrói a extensão de biblioteca necessária para o processo de actualização
+
+Constrói o tiddler `$:/UpgradeLibrary` para o processo de actualização.
+
+A biblioteca de actualização é formatada como uma extensão normal com o tipo de extensão definido como `library`. Contém uma cópia de cada uma das extensões, temas e pacotes de línguas disponíveis dentro do repositório da TiddlyWiki5.
+
+Este comando é para uso interno; apenas relevante para utilizadores que criem um processo de actualização personalizado.
+
+```
+--makelibrary
+```
+
+Por omissão o argumento será `$:/UpgradeLibrary`.
diff --git a/languages/pt-PT/Help/notfound.tid b/languages/pt-PT/Help/notfound.tid
new file mode 100644
index 000000000..53e84f34c
--- /dev/null
+++ b/languages/pt-PT/Help/notfound.tid
@@ -0,0 +1,4 @@
+title: $:/language/Help/notfound
+description:
+
+Item de ajuda inexistente
\ No newline at end of file
diff --git a/languages/pt-PT/Help/output.tid b/languages/pt-PT/Help/output.tid
new file mode 100644
index 000000000..6870d030e
--- /dev/null
+++ b/languages/pt-PT/Help/output.tid
@@ -0,0 +1,11 @@
+title: $:/language/Help/output
+description: Define a pasta de destino para os comandos subsequentes
+
+Define a directoria base de destino para os comandos subsequentes. A pasta de destino pré definida é a sub-pasta `output` dentro da pasta da edição.
+
+```
+--output
+```
+
+Se o caminho especificado é relativo este será resolvido em relação à actual pasta de trabalho. Por exemplo `--output .` define a directoria de destino para a actual pasta de trabalho.
+
diff --git a/languages/pt-PT/Help/password.tid b/languages/pt-PT/Help/password.tid
new file mode 100644
index 000000000..9ae7c32c2
--- /dev/null
+++ b/languages/pt-PT/Help/password.tid
@@ -0,0 +1,9 @@
+title: $:/language/Help/password
+description: Definir palavra passe para operações criptográficas subsequentes
+
+Define a palavra passe para as operações criptográficas subsequentes
+
+```
+--password
+```
+
diff --git a/languages/pt-PT/Help/rendertiddler.tid b/languages/pt-PT/Help/rendertiddler.tid
new file mode 100644
index 000000000..dad0e216b
--- /dev/null
+++ b/languages/pt-PT/Help/rendertiddler.tid
@@ -0,0 +1,12 @@
+title: $:/language/Help/rendertiddler
+description: Interpretar tiddler individual conforme tipo ContentType especificado
+
+Interpreta um tiddler individual conforme o ContentType especificado, pré definição é `text/html`, e guarda-o para o ficheiro especificado:
+
+```
+--rendertiddler []
+```
+
+Por defeito, o caminho é resolvido relativamente à sub-pasta `output` da directoria de edição. O comando `--output` pode ser utilizado para redireccionar para uma directoria de destino diferente.
+
+Quaisquer pastas em falta no caminho de destino serão automaticamente criadas.
diff --git a/languages/pt-PT/Help/rendertiddlers.tid b/languages/pt-PT/Help/rendertiddlers.tid
new file mode 100644
index 000000000..efd6941b3
--- /dev/null
+++ b/languages/pt-PT/Help/rendertiddlers.tid
@@ -0,0 +1,18 @@
+title: $:/language/Help/rendertiddlers
+description: Interpretar tiddlers respeitantes de um filtro para o ContentType especificado
+
+Interpreta um conjunto de tiddlers respeitante de um determinado filtro para ficheiros separados de um determinado ContentType (por defeito `text/html`) e extensão (por defeito `.html`).
+
+```
+--rendertiddlers [] []
+```
+
+Por exemplo:
+
+```
+--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html ./static text/plain
+```
+
+Por defeito, o caminho é resolvido relativamente à sub-pasta `output` da directoria de edição. O comando `--output` pode ser utilizado para redireccionar para uma directoria de destino diferente.
+
+Quaisquer ficheiros na directoria de destino serão apagados. Quaisquer pastas em falta nos caminhos de destino serão automaticamente criadas se em falta.
diff --git a/languages/pt-PT/Help/savetiddler.tid b/languages/pt-PT/Help/savetiddler.tid
new file mode 100644
index 000000000..60a999db6
--- /dev/null
+++ b/languages/pt-PT/Help/savetiddler.tid
@@ -0,0 +1,12 @@
+title: $:/language/Help/savetiddler
+description: Guarda tiddler em bruto para um ficheiro
+
+Guarda um tiddler individual no seu formato bruto texto ou binário para o caminho especificado.
+
+```
+--savetiddler
+```
+
+Por defeito, o caminho é resolvido relativamente à sub-pasta `output` da directoria de edição. O comando `--output` pode ser utilizado para redireccionar para uma directoria de destino diferente.
+
+Quaisquer pastas em falta no caminho de destino serão automaticamente criadas.
diff --git a/languages/pt-PT/Help/savetiddlers.tid b/languages/pt-PT/Help/savetiddlers.tid
new file mode 100644
index 000000000..aade6edf6
--- /dev/null
+++ b/languages/pt-PT/Help/savetiddlers.tid
@@ -0,0 +1,12 @@
+title: $:/language/Help/savetiddlers
+description: Guarda um conjunto de tiddlers em bruto para uma pasta
+
+Guarda um conjunto de tiddlers no seu formato bruto texto ou binário para o caminho especificado.
+
+```
+--savetiddlers
+```
+
+Por defeito, o caminho é resolvido relativamente à sub-pasta `output` da directoria de edição. O comando `--output` pode ser utilizado para redireccionar para uma directoria de destino diferente.
+
+Quaisquer pastas em falta no caminho de destino serão automaticamente criadas.
diff --git a/languages/pt-PT/Help/server.tid b/languages/pt-PT/Help/server.tid
new file mode 100644
index 000000000..187c7cb8b
--- /dev/null
+++ b/languages/pt-PT/Help/server.tid
@@ -0,0 +1,37 @@
+title: $:/language/Help/server
+description: Atribui um interface de servidor HTTP à TiddlyWiki
+
+O servidor incluído na TiddlyWiki 5 é muito elementar. Apesar de compatível com a TiddlyWeb não suporta muitas das funcionalidades necessárias para utilização robusta com interface pela Internet.
+
+Na sua forma mais elementar serve a representação de um tiddler específico. Com parâmetros adicionais serve tiddlers codificados em JSON, e suporta operações HTTP básicas para `GET`, `PUT` e `DELETE`.
+
+```
+--server
+```
+
+Os parâmetros são:
+
+* ''port'' - número da porta pela qual servir (por defeito "8080")
+* ''roottiddler'' - o tiddler a ser servido na raiz (por defeito "$:/core/save/all")
+* ''rendertype'' - o tipo de conteúdo para o qual o tiddler deve ser representado (por defeito "text/plain")
+* ''servetype'' - o tipo de conteúdo para o qual o tiddler deve ser servido (por defeito "text/html")
+* ''username'' - o nome de utilizador pré definido com o qual se assinam as edições
+* ''password'' - palavra passe opcional para autenticação básica
+* ''host'' - endereço opcional do servidor de onde servir (por defeito "127.0.0.1" conhecido como "localhost")
+* ''pathprefix'' - prefixo opcional para caminhos
+
+Se o parâmetro palavra passe for especificado o navegador irá pedir ao utilizador um nome e palavra passe. Tenha em atenção que a palavra passe é transmitida em texto simples tornando esta implementação imprópria para utilização geral
+
+Por exemplo:
+
+```
+--server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd
+```
+
+O nome de utilizador e a palavra passe podem ser vazios se necessitar de definir o nome do servidor ou prefixo para caminhos e não pretender que a palavra passe seja requerida:
+
+```
+--server 8080 $:/core/save/all text/plain text/html "" "" 192.168.0.245
+```
+
+Para correr servidores TiddlyWiki múltiplos ao mesmo tempo é necessário colocar cada um numa porta diferente.
diff --git a/languages/pt-PT/Help/setfield.tid b/languages/pt-PT/Help/setfield.tid
new file mode 100644
index 000000000..9240c8a74
--- /dev/null
+++ b/languages/pt-PT/Help/setfield.tid
@@ -0,0 +1,18 @@
+title: $:/language/Help/setfield
+description: Prepara tiddlers externos para utilização
+
+//Este comando é experimental e pode mudar ou ser substituído antes de ser finalizado//
+
+Define um determinado campo de um grupo de tiddlers para o resultado de interpretar um tiddler modelo com a variável `currentTiddler` definida como o tiddler.
+
+```
+--setfield
+```
+
+Os parâmetros são:
+
+* ''filter'' - filtro que selecciona os tiddlers a ser afectados
+* ''fieldname'' - nome do campo a modificar (por defeito "texto")
+* ''templatetitle'' - o tiddler a interpretar para o campo especificado. Se for deixado em branco ou estiver em falta o campo especificado será eliminado
+* ''type'' - O tipo de texto a interpretar (por defeito "text/plain"; "text/html" pode ser utilizado para incluir etiquetas HTML)
+
diff --git a/languages/pt-PT/Help/unpackplugin.tid b/languages/pt-PT/Help/unpackplugin.tid
new file mode 100644
index 000000000..b9d3b2c5c
--- /dev/null
+++ b/languages/pt-PT/Help/unpackplugin.tid
@@ -0,0 +1,8 @@
+title: $:/language/Help/unpackplugin
+description: Extrair tiddlers de conteúdo de uma extensão
+
+Extrai o conteúdo de uma extensão, recriando-o como tiddlers vulgares:
+
+```
+--unpackplugin
+```
diff --git a/languages/pt-PT/Help/verbose.tid b/languages/pt-PT/Help/verbose.tid
new file mode 100644
index 000000000..16dbbe13b
--- /dev/null
+++ b/languages/pt-PT/Help/verbose.tid
@@ -0,0 +1,8 @@
+title: $:/language/Help/verbose
+description: Activa o modo de exibição relatório verboso
+
+Activa a exibição relatório verboso, útil para correcção de erros
+
+```
+--verbose
+```
diff --git a/languages/pt-PT/Help/version.tid b/languages/pt-PT/Help/version.tid
new file mode 100644
index 000000000..3fff49b95
--- /dev/null
+++ b/languages/pt-PT/Help/version.tid
@@ -0,0 +1,8 @@
+title: $:/language/Help/version
+description: Mostra o numero da versão da TiddlyWiki.
+
+Mostra o numero da versão da TiddlyWiki.
+
+```
+--version
+```
diff --git a/languages/pt-PT/Import.multids b/languages/pt-PT/Import.multids
new file mode 100644
index 000000000..51355ba6a
--- /dev/null
+++ b/languages/pt-PT/Import.multids
@@ -0,0 +1,14 @@
+title: $:/language/Import/
+
+Listing/Cancel/Caption: Cancelar
+Listing/Hint: Estes tiddlers estão prontos a importar:
+Listing/Import/Caption: Importar
+Listing/Select/Caption: Seleccionar
+Listing/Status/Caption: Estado
+Listing/Title/Caption: Título
+Upgrader/Plugins/Suppressed/Incompatible: Extensões bloqueadas, incompatíveis ou obsoletas
+Upgrader/Plugins/Suppressed/Version: Extensão bloqueada (devido a <> ser anterior à <> existente)
+Upgrader/Plugins/Upgraded: Extensão actualizada de <> para <>
+Upgrader/State/Suppressed: Tiddler de estado temporário bloqueado
+Upgrader/System/Suppressed: Tiddler de sistema bloqueado
+Upgrader/ThemeTweaks/Created: Tema migrado ajustado de <$text text=<>/>
diff --git a/languages/pt-PT/Misc.multids b/languages/pt-PT/Misc.multids
new file mode 100644
index 000000000..e370885fe
--- /dev/null
+++ b/languages/pt-PT/Misc.multids
@@ -0,0 +1,27 @@
+title: $:/language/
+
+BinaryWarning/Prompt: Este tiddler contém informação binária
+ClassicWarning/Hint: Este tiddler está escrito no formato de texto wiki da TiddlyWiki Clássica, que não é totalmente compatível com a TiddlyWiki versão 5. Veja http://tiddlywiki.com/static/Upgrading.html para mais detalhes.
+ClassicWarning/Upgrade/Caption: actualizar
+CloseAll/Button: fechar todos
+ConfirmCancelTiddler: Pretende descartar as alterações feitas no tiddler "<$text text=<>/>"?
+ConfirmDeleteTiddler: Pretende apagar o tiddler "<$text text=<>/>"?
+ConfirmEditShadowTiddler: Está prestes a editar um Tiddler-Sombra. Quaisquer alterações sobrepor-se-ão aos valores pré definidos de sistema, tornando futuras actualizações mais complexas. Tem a certeza que pretende editar "<$text text=<>/>"?
+ConfirmOverwriteTiddler: Pretende substituir o tiddler "<$text text=<>/>"?
+DefaultNewTiddlerTitle: Novo Tiddler
+DropMessage: Largue aqui (ou carregue no escape para cancelar)
+Encryption/ConfirmClearPassword: Pretende remover a palavra-passe? Esta acção removerá a encriptação aplicada quando guardar esta wiki
+Encryption/PromptSetPassword: Definir nova palavra passe para esta TiddlyWiki
+Exporters/CsvFile: Ficheiros CSV dos tiddlers
+Exporters/JsonFile: Ficheiros JSON dos tiddlers
+Exporters/StaticRiver: Sequência de tiddlers como ficheiro estático HTML
+Exporters/TidFile: Tiddler individual em ficheiro ".tid"
+InvalidFieldName: Caracteres ilegais no nome do ficheiro "<$text text=<>/>". Os campos apenas podem conter letras minúsculas, dígitos e os caracteres subtraço (`_`), hífen (`-`) e ponto final (`.`)
+MissingTiddler/Hint: Tiddler "<$text text=<>/>" em falta - clique {{$:/core/images/edit-button}} para criar
+RecentChanges/DateFormat: DD MMM AAAA
+SystemTiddler/Tooltip: Este é um tiddler de sistema
+TagManager/Colour/Heading: Cor
+TagManager/Icon/Heading: Ícone
+TagManager/Info/Heading: Informação
+TagManager/Tag/Heading: Etiqueta
+UnsavedChangesWarning: Têm alterações não guardadas na TiddlyWiki
diff --git a/languages/pt-PT/Modals/Download.tid b/languages/pt-PT/Modals/Download.tid
new file mode 100644
index 000000000..541d963fe
--- /dev/null
+++ b/languages/pt-PT/Modals/Download.tid
@@ -0,0 +1,13 @@
+title: $:/language/Modals/Download
+type: text/vnd.tiddlywiki
+subtitle: Download changes
+footer: <$button message="tm-close-tiddler">Close$button>
+help: http://tiddlywiki.com/static/DownloadingChanges.html
+
+O seu navegador apenas suporta gravação manual.
+
+Para guardar a sua wiki modificada clique no botão de transferência abaixo e seleccione "Descarregar ficheiro" ou "Guardar Ficheiro", e de seguida escolha uma pasta e um nome para o ficheiro.
+
+//Pode acelerar marginalmente o processo clicando no link enquanto pressiona a tecla Control (Windows) ou a tecla Options/Alt (Mac OS X). Não lhe será pedida uma pasta ou um nome para o ficheiro, mas o seu navegador provavelmente irá atribuir-lhe um nome irreconhecível -- poderá ter de alterar o nome de modo a incluir a extensão '.html' antes de conseguir fazer algo com ele.//
+
+Em dispositivos móveis que não permitem a transferência de ficheiros pode alternativamente guardar a ligação nos seus favoritos ou marcadores, e posteriormente sincroniza-los com o seu computador onde será então possível gravar normalmente.
\ No newline at end of file
diff --git a/languages/pt-PT/Modals/SaveInstructions.tid b/languages/pt-PT/Modals/SaveInstructions.tid
new file mode 100644
index 000000000..345d4bad8
--- /dev/null
+++ b/languages/pt-PT/Modals/SaveInstructions.tid
@@ -0,0 +1,22 @@
+title: $:/language/Modals/SaveInstructions
+type: text/vnd.tiddlywiki
+subtitle: Save your work
+footer: <$button message="tm-close-tiddler">Close$button>
+help: http://tiddlywiki.com/static/SavingChanges.html
+
+As suas alterações a esta wiki necessitam de ser gravadas como um ficheiro HTML ~TiddlyWiki
+
+!!! Navegadores de computador pessoal
+
+# Seleccione ''Guardar como'' do menu ''Ficheiro''
+# Escolha um nome e uma localização para o seu ficheiro
+#* Alguns navegadores necessitam que se especifique explicitamente o formato de gravação como ''Página da Internet, apenas HTML'' ou algo similar
+# Fechar este separador
+
+!!! Navegadores em telemóveis ou dispositivos móveis
+
+# Crie um marcador ou favorito desta página
+#* Se tiver o iCloud ou Google Sync configurados o seu marcador irá ser automaticamente sincronizado com o seu computador pessoal onde poderá abrir e gravar conforme indicado acima
+# Fechar este separador
+
+//Se abrir o marcador outra vez no Mobile Safari verá esta mensagem outra vez. Se quiser prosseguir e utilizar o ficheiro, clique no botão ''fechar'' abaixo//
diff --git a/languages/pt-PT/NewJournal.multids b/languages/pt-PT/NewJournal.multids
new file mode 100644
index 000000000..9e064a86d
--- /dev/null
+++ b/languages/pt-PT/NewJournal.multids
@@ -0,0 +1,4 @@
+title: $:/config/NewJournal/
+
+Tags: Diário
+Title: DD MMM AAAA
diff --git a/languages/pt-PT/Notifications.multids b/languages/pt-PT/Notifications.multids
new file mode 100644
index 000000000..796649b73
--- /dev/null
+++ b/languages/pt-PT/Notifications.multids
@@ -0,0 +1,4 @@
+title: $:/language/Notifications/
+
+Save/Done: Wiki gravada
+Save/Starting: A iniciar processo de gravação da wiki
diff --git a/languages/pt-PT/Search.multids b/languages/pt-PT/Search.multids
new file mode 100644
index 000000000..e9eb663f6
--- /dev/null
+++ b/languages/pt-PT/Search.multids
@@ -0,0 +1,16 @@
+title: $:/language/Search/
+
+DefaultResults/Caption: Lista
+Filter/Caption: Filtro
+Filter/Hint: Procurar através de [[expressão de filtros|http://tiddlywiki.com/static/Filters.html]]
+Filter/Matches: //<> resultados//
+Matches: //<> resultados//
+Shadows/Caption: Sombras
+Shadows/Hint: Procurar tiddlers-sombra
+Shadows/Matches: //<> resultados//
+Standard/Caption: Standard
+Standard/Hint: Procurar tiddlers normais
+Standard/Matches: //<> resultados//
+System/Caption: Sistema
+System/Hint: Procurar tiddlers de sistema
+System/Matches: //<> resultados//
diff --git a/languages/pt-PT/SideBar.multids b/languages/pt-PT/SideBar.multids
new file mode 100644
index 000000000..5c4e9acd7
--- /dev/null
+++ b/languages/pt-PT/SideBar.multids
@@ -0,0 +1,16 @@
+title: $:/language/SideBar/
+
+All/Caption: Todos
+Contents/Caption: Conteúdos
+Drafts/Caption: Rascunhos
+Missing/Caption: Em Falta
+More/Caption: Mais
+Open/Caption: Abrir
+Orphans/Caption: Órfãos
+Recent/Caption: Recentes
+Shadows/Caption: Sombras
+System/Caption: Sistema
+Tags/Caption: Etiquetas
+Tags/Untagged/Caption: sem etiquetas
+Tools/Caption: Ferramentas
+Types/Caption: Tipos
diff --git a/languages/pt-PT/SiteSubtitle.tid b/languages/pt-PT/SiteSubtitle.tid
new file mode 100644
index 000000000..a69300ead
--- /dev/null
+++ b/languages/pt-PT/SiteSubtitle.tid
@@ -0,0 +1,3 @@
+title: $:/SiteSubtitle
+
+European Portuguese translation for TiddlyWiki 5
\ No newline at end of file
diff --git a/languages/pt-PT/SiteTitle.tid b/languages/pt-PT/SiteTitle.tid
new file mode 100644
index 000000000..cca1927e3
--- /dev/null
+++ b/languages/pt-PT/SiteTitle.tid
@@ -0,0 +1,3 @@
+title: $:/SiteTitle
+
+TiddlyWiki Portuguese Translation
\ No newline at end of file
diff --git a/languages/pt-PT/TiddlerInfo.multids b/languages/pt-PT/TiddlerInfo.multids
new file mode 100644
index 000000000..a330c5e36
--- /dev/null
+++ b/languages/pt-PT/TiddlerInfo.multids
@@ -0,0 +1,21 @@
+title: $:/language/TiddlerInfo/
+
+Advanced/Caption: Avançado
+Advanced/PluginInfo/Empty/Hint: nenhum
+Advanced/PluginInfo/Heading: Detalhes da extensão
+Advanced/PluginInfo/Hint: Esta extensão contém os seguintes tiddlers-sombra:
+Advanced/ShadowInfo/Heading: Estado da Sombra
+Advanced/ShadowInfo/NotShadow/Hint: O tiddler <$link to=<>><$text text=<>/>$link> não é um tiddler-sombra
+Advanced/ShadowInfo/OverriddenShadow/Hint: Sobrescrito por um tiddler normal
+Advanced/ShadowInfo/Shadow/Hint: O tiddler <$link to=<>><$text text=<>/>$link> é um tiddler sombra
+Advanced/ShadowInfo/Shadow/Source: Está definido na extensão <$link to=<>><$text text=<>/>$link>
+Fields/Caption: Campos
+List/Caption: Lista
+List/Empty: Este tiddler não tem uma lista
+Listed/Caption: Listado
+Listed/Empty: Este tiddler não é listado por nenhum outro
+References/Caption: Referências
+References/Empty: Nenhum tiddler tem ligações para este
+Tagging/Caption: Etiquetas
+Tagging/Empty: Nenhum tiddler está etiquetado com este
+Tools/Caption: Ferramentas
diff --git a/languages/pt-PT/Types/application%2Fjavascript.tid b/languages/pt-PT/Types/application%2Fjavascript.tid
new file mode 100644
index 000000000..888998bfb
--- /dev/null
+++ b/languages/pt-PT/Types/application%2Fjavascript.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/application/javascript
+description: Código JavaScript
+name: application/javascript
+group: Programador
diff --git a/languages/pt-PT/Types/application%2Fjson.tid b/languages/pt-PT/Types/application%2Fjson.tid
new file mode 100644
index 000000000..9dddcc170
--- /dev/null
+++ b/languages/pt-PT/Types/application%2Fjson.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/application/json
+description: Informação JSON
+name: application/json
+group: Programador
diff --git a/languages/pt-PT/Types/application%2Fx-tiddler-dictionary.tid b/languages/pt-PT/Types/application%2Fx-tiddler-dictionary.tid
new file mode 100644
index 000000000..8d5ff0884
--- /dev/null
+++ b/languages/pt-PT/Types/application%2Fx-tiddler-dictionary.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/application/x-tiddler-dictionary
+description: Dicionário de Informação
+name: application/x-tiddler-dictionary
+group: Programador
diff --git a/languages/pt-PT/Types/image%2Fgif.tid b/languages/pt-PT/Types/image%2Fgif.tid
new file mode 100644
index 000000000..2577c3287
--- /dev/null
+++ b/languages/pt-PT/Types/image%2Fgif.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/image/gif
+description: Imagem GIF
+name: image/gif
+group: Imagem
diff --git a/languages/pt-PT/Types/image%2Fjpeg.tid b/languages/pt-PT/Types/image%2Fjpeg.tid
new file mode 100644
index 000000000..fe6b1b877
--- /dev/null
+++ b/languages/pt-PT/Types/image%2Fjpeg.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/image/jpeg
+description: Imagem JPEG
+name: image/jpeg
+group: Imagem
diff --git a/languages/pt-PT/Types/image%2Fpng.tid b/languages/pt-PT/Types/image%2Fpng.tid
new file mode 100644
index 000000000..68956ea08
--- /dev/null
+++ b/languages/pt-PT/Types/image%2Fpng.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/image/png
+description: Imagem PNG
+name: image/png
+group: Imagem
diff --git a/languages/pt-PT/Types/image%2Fsvg%2Bxml.tid b/languages/pt-PT/Types/image%2Fsvg%2Bxml.tid
new file mode 100644
index 000000000..63ae739d5
--- /dev/null
+++ b/languages/pt-PT/Types/image%2Fsvg%2Bxml.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/image/svg+xml
+description: Imagem SVG (Scalable Vector Graphics)
+name: image/svg+xml
+group: Imagem
diff --git a/languages/pt-PT/Types/image%2Fx-icon.tid b/languages/pt-PT/Types/image%2Fx-icon.tid
new file mode 100644
index 000000000..04f08c6e8
--- /dev/null
+++ b/languages/pt-PT/Types/image%2Fx-icon.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/image/x-icon
+description: Ícone em formato de ficheiro ICO
+name: image/x-icon
+group: Imagem
diff --git a/languages/pt-PT/Types/text%2Fcss.tid b/languages/pt-PT/Types/text%2Fcss.tid
new file mode 100644
index 000000000..dee0ff6a8
--- /dev/null
+++ b/languages/pt-PT/Types/text%2Fcss.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/text/css
+description: Folha de estilos estática
+name: text/css
+group: Programador
diff --git a/languages/pt-PT/Types/text%2Fhtml.tid b/languages/pt-PT/Types/text%2Fhtml.tid
new file mode 100644
index 000000000..b70d2e029
--- /dev/null
+++ b/languages/pt-PT/Types/text%2Fhtml.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/text/html
+description: Notação HTML
+name: text/html
+group: Texto
diff --git a/languages/pt-PT/Types/text%2Fplain.tid b/languages/pt-PT/Types/text%2Fplain.tid
new file mode 100644
index 000000000..f8890fcd1
--- /dev/null
+++ b/languages/pt-PT/Types/text%2Fplain.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/text/plain
+description: Texto Simples
+name: text/plain
+group: Texto
diff --git a/languages/pt-PT/Types/text%2Fvnd.tiddlywiki.tid b/languages/pt-PT/Types/text%2Fvnd.tiddlywiki.tid
new file mode 100644
index 000000000..510953fec
--- /dev/null
+++ b/languages/pt-PT/Types/text%2Fvnd.tiddlywiki.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/text/vnd.tiddlywiki
+description: TiddlyWiki 5
+name: text/vnd.tiddlywiki
+group: Texto
diff --git a/languages/pt-PT/Types/text%2Fx-tiddlywiki.tid b/languages/pt-PT/Types/text%2Fx-tiddlywiki.tid
new file mode 100644
index 000000000..a543cdd1a
--- /dev/null
+++ b/languages/pt-PT/Types/text%2Fx-tiddlywiki.tid
@@ -0,0 +1,4 @@
+title: $:/language/Docs/Types/text/x-tiddlywiki
+description: TiddlyWiki Clássica
+name: text/x-tiddlywiki
+group: Texto
diff --git a/languages/pt-PT/icon.tid b/languages/pt-PT/icon.tid
new file mode 100644
index 000000000..8c1589513
--- /dev/null
+++ b/languages/pt-PT/icon.tid
@@ -0,0 +1,70 @@
+title: $:/languages/pt-PT/icon
+type: image/svg+xml
+
+
+
\ No newline at end of file
diff --git a/languages/pt-PT/plugin.info b/languages/pt-PT/plugin.info
new file mode 100644
index 000000000..972d0237c
--- /dev/null
+++ b/languages/pt-PT/plugin.info
@@ -0,0 +1,8 @@
+{
+ "title": "$:/languages/pt-PT",
+ "name": "pt-PT",
+ "plugin-type": "language",
+ "description": "Portuguese (Portugal)",
+ "author": "Duarte Farrajota Ramos",
+ "core-version": ">=5.0.8"
+}