2015-02-03 19:29:25 +00:00
|
|
|
created: 20150203173506000
|
2024-03-10 10:39:16 +00:00
|
|
|
modified: 20240229155612000
|
2015-02-03 19:29:25 +00:00
|
|
|
list-before: $:/core/ui/ViewTemplate/body
|
2022-03-16 12:38:49 +00:00
|
|
|
tags: $:/tags/ViewTemplate
|
2024-02-14 16:20:32 +00:00
|
|
|
code-body: yes
|
2022-03-16 12:38:49 +00:00
|
|
|
title: $:/editions/tw5.com/operator-template
|
2015-02-03 19:29:25 +00:00
|
|
|
|
2024-03-10 10:39:16 +00:00
|
|
|
\whitespace trim
|
2015-02-03 19:29:25 +00:00
|
|
|
|
2024-03-10 10:39:16 +00:00
|
|
|
\procedure .op-place()
|
2024-09-02 15:51:15 +00:00
|
|
|
<%if [<op-name>!is[blank]] %>
|
2024-03-10 10:39:16 +00:00
|
|
|
<$macrocall $name=".place" _=<<op-name>> /><span class="tc-tiny-gap">=</span>
|
2024-09-02 15:51:15 +00:00
|
|
|
<%endif%>
|
2015-02-03 19:29:25 +00:00
|
|
|
\end
|
|
|
|
|
2024-03-10 10:39:16 +00:00
|
|
|
\procedure .op-row()
|
2024-09-02 15:51:15 +00:00
|
|
|
<%if [<op-body>!is[blank]] %>
|
2024-03-10 10:39:16 +00:00
|
|
|
<tr>
|
|
|
|
<th align="left"><<op-head>></th><td><<.op-place>><<op-body>></td>
|
|
|
|
</tr>
|
2024-09-02 15:51:15 +00:00
|
|
|
<%endif%>
|
2024-03-10 10:39:16 +00:00
|
|
|
\end
|
2022-03-16 12:38:49 +00:00
|
|
|
|
2024-02-14 16:20:32 +00:00
|
|
|
<$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>
|
2022-03-16 12:38:49 +00:00
|
|
|
|
2024-02-14 16:20:32 +00:00
|
|
|
<$list filter="[all[current]has[from-version]]" variable="listItem">
|
|
|
|
<$macrocall $name=".from-version" version={{!!from-version}}/>
|
|
|
|
</$list>
|
|
|
|
</$let>
|
2015-02-03 19:29:25 +00:00
|
|
|
</$list>
|