Template: hide symbols if some tag value is blank
Posted: Mon Dec 12, 2022 10:42 am
For templates (e.g., for customizing tooltips) I'd like to be able to hide some separators if the values they separate are empty
For example, currently
shows as
when all fields as empty
I'd like to "tie" the "|" symbols to the previous values and don't show them if those values are blank, so for example, if I enter the following mock template
(where {≠∅" | "} means "if the previous tag is not empty, print this string)
I'd get this nice empty field (without any newlines as well, though that would require some other templating feature)
For example, currently
Code: Select all
{Tag status} | {Rating} | {Color label}
Code: Select all
[] | |
I'd like to "tie" the "|" symbols to the previous values and don't show them if those values are blank, so for example, if I enter the following mock template
Code: Select all
{Tag status}{≠∅" | "}{Rating}{≠∅" | "}{Color label}
I'd get this nice empty field (without any newlines as well, though that would require some other templating feature)
Code: Select all