mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 07:19:56 +00:00
a49436160d
* Improve Filter Syntax documentaion / navigation * update links and missing diagrams * rename legacy prefix to shortcut prefix * Update editions/tw5.com/tiddlers/filters/Filter Operators.tid Co-authored-by: yaisog <m@rcuswinter.de> * Update editions/tw5.com/tiddlers/filters/syntax/And Filter Run Prefix.tid Co-authored-by: yaisog <m@rcuswinter.de> * Update editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid Co-authored-by: yaisog <m@rcuswinter.de> * Update editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid Co-authored-by: yaisog <m@rcuswinter.de> * Update editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid Co-authored-by: yaisog <m@rcuswinter.de> * Update editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid Co-authored-by: yaisog <m@rcuswinter.de> * Update editions/tw5.com/tiddlers/filters/syntax/And Filter Run Prefix.tid Co-authored-by: yaisog <m@rcuswinter.de> * add most changes a suggested by yaisog * fix copy / paste from-version * replace operand with parameter in the docs * fix typo * fix typos and improve railroad diagrams consistency * move "new from version" info for filter run prefixes below the table * fix typo transclusion and substitution * Move Filters tiddler to the top level in the TOC * wip-breadcrumbs * breadcrumbs & breadcrumbsList macro final * remove files that do not belong to this PR * restore release banner * add simple / story mode to breadcrumbs * .breadcrumbs macro update comments * new breadcrumbs CSS, woks with small screens * make CSS configurable using hidden-settings * improve CSS fro small screens * remove the initial: recursiveParentTag macro * improve location info for breadcrumbs nav. add "alt-text" for Edge ::after element * breadcrumbs add mode=field * bc add initial docs * breadcrumbsField will also respect the story ordering * add configurable global filterMode setting * improve arrow CSS for browser zooming * add bc links use bc-caption if caption field is non-empty * breadcrumbs improve comments * breadcrumbs aria-lable uses caption if there is one * breadcrumbs improve documentation * breadcrumbs improve docs for sort param * fix showArrows docs * remove .bc-link aria-label .. it's not needed if caption is resolved properly * use subfilter instead of enlist to evaluate the "excluded" variable. Be consistent with toc-macros * remove breadcrumbs macros - they have their own PR now * resolve conflict * add back doc-macros tiddler * integrate :then filter run prefix * remove .breadcrumbs macros and their config tiddlers * fix typos as requested --------- Co-authored-by: yaisog <m@rcuswinter.de>
65 lines
1.7 KiB
Plaintext
65 lines
1.7 KiB
Plaintext
created: 20150203173506000
|
|
list-before: $:/core/ui/ViewTemplate/body
|
|
modified: 20230602181119360
|
|
tags: $:/tags/ViewTemplate
|
|
code-body: yes
|
|
title: $:/editions/tw5.com/operator-template
|
|
|
|
\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="""<tr><th align="left">$(op-head)$</th><td><<.op-place>>$(op-body)$</td></tr>"""
|
|
else=""/>
|
|
\end
|
|
|
|
\whitespace trim
|
|
|
|
<$list filter="[all[current]tag[Filter Operators]]">
|
|
<$let op-head="" op-body="" op-name="">
|
|
<table class="doc-table before-tiddler-body">
|
|
<!-- purpose -->
|
|
<$let op-head="purpose" op-body={{!!op-purpose}}>
|
|
<<.op-row>>
|
|
</$let>
|
|
<!-- input -->
|
|
<$let op-head="[[input|Filter Syntax]]" op-body={{!!op-input}}>
|
|
<<.op-row>>
|
|
</$let>
|
|
<!-- input negated -->
|
|
<$let op-head="`!` input" op-body={{!!op-neg-input}}>
|
|
<<.op-row>>
|
|
</$let>
|
|
<!-- suffix -->
|
|
<$let op-head="[[suffix|Filter Step]]" op-body={{!!op-suffix}} op-name={{!!op-suffix-name}}>
|
|
<<.op-row>>
|
|
</$let>
|
|
<!-- parameter -->
|
|
<$let op-head="[[parameter|Filter Parameter]]" op-body={{!!op-parameter}} op-name={{!!op-parameter-name}}>
|
|
<<.op-row>>
|
|
</$let>
|
|
<!-- output -->
|
|
<$let op-head="output" op-body={{!!op-output}}>
|
|
<<.op-row>>
|
|
</$let>
|
|
<!-- output negated -->
|
|
<$let op-head="`!` output" op-body={{!!op-neg-output}}>
|
|
<<.op-row>>
|
|
</$let>
|
|
</table>
|
|
<p>
|
|
[[Learn more about how to use Filters|Filters]]
|
|
</p>
|
|
|
|
<$list filter="[all[current]has[from-version]]" variable="listItem">
|
|
<$macrocall $name=".from-version" version={{!!from-version}}/>
|
|
</$list>
|
|
</$let>
|
|
</$list>
|