title: $:/core/macros/export tags: $:/tags/Macro \define exportButtonFilename(baseFilename) $baseFilename$$(extension)$ \end \define exportButton(exportFilter:"[!is[system]sort[title]]",lingoBase,baseFilename:"tiddlers") <$button popup=<> tooltip={{$lingoBase$Hint}} aria-label={{$lingoBase$Caption}} class=<> selectedClass="tc-selected"> <$list filter="[match[yes]]"> {{$:/core/images/export-button}} <$list filter="[match[yes]]"> <$text text={{$lingoBase$Caption}}/> <$reveal state=<> type="popup" position="below" animate="yes">
<$set name="count" value={{{ [subfilter<__exportFilter__>count[]] }}}> <$list filter="[all[shadows+tiddlers]tag[$:/tags/Exporter]]"> <$list filter="[has[condition]subfilter{!!condition}limit[1]] ~[!has[condition]then[true]]" variable="ignore"> <$set name="extension" value={{!!extension}}> <$button class="tc-btn-invisible"> <$action-sendmessage $message="tm-download-file" $param=<> exportFilter=<<__exportFilter__>> filename=<>/> <$action-deletetiddler $tiddler=<>/> <$transclude field="description"/>
\end