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="""
$(op-head)$ | <<.op-place>>$(op-body)$ |
"""
else=""/>
\end
\whitespace trim
<$list filter="[all[current]tag[Filter Operators]]">
<$let op-head="" op-body="" op-name="">
<$let op-head="purpose" op-body={{!!op-purpose}}>
<<.op-row>>
$let>
<$let op-head="[[input|Filter Syntax]]" op-body={{!!op-input}}>
<<.op-row>>
$let>
<$let op-head="`!` input" op-body={{!!op-neg-input}}>
<<.op-row>>
$let>
<$let op-head="[[suffix|Filter Step]]" op-body={{!!op-suffix}} op-name={{!!op-suffix-name}}>
<<.op-row>>
$let>
<$let op-head="[[parameter|Filter Parameter]]" op-body={{!!op-parameter}} op-name={{!!op-parameter-name}}>
<<.op-row>>
$let>
<$let op-head="output" op-body={{!!op-output}}>
<<.op-row>>
$let>
<$let op-head="`!` output" op-body={{!!op-neg-output}}>
<<.op-row>>
$let>
[[Learn more about how to use Filters|Filters]]
<$list filter="[all[current]has[from-version]]" variable="listItem">
<$macrocall $name=".from-version" version={{!!from-version}}/>
$list>
$let>
$list>