tzk/tzk/editions/tzk/tiddlers/$__sib_Macros_ff.tid
Soren I. Bjornstad 14cc96a907 check in editions directory
Although this is automatically generated, it represents a critical part
of the content of the edition which cannot be created from the content
in the repository (it's generated from a private directory on my
computer), so at this point it is appropriate to check it in.
2021-09-21 12:27:23 -05:00

10 lines
629 B
Plaintext

created: 20210622002240940
description: Transclude a filter expression that returns `yes` if the specified [[feature flag|$:/sib/Tools/FeatureFlags]] is enabled for the current edition, and nothing otherwise.
example: <$list filter=<<ff ViewerPublicLine>> variable=_ emptyMessage="The viewer public line is off in this edition.">The viewer public line is on in this edition. Transclude it here.</$list>
modified: 20210825145522659
modifier: soren
tags: $:/tags/Macro
title: $:/sib/Macros/ff
type: text/vnd.tiddlywiki
\define ff(tid) [[$:/config/zettelkasten/FeatureFlags/$tid$]get{$:/config/sib/CurrentEditionPublicity}] -[[no]]