Skip to end of banner
Go to start of banner

Label parameter matrix

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Both the Hide If and Show If macros for Visibility feature the Label parameter. The following is a complete matrix of behaviors when using the Label parameter.

This may help users who prefer using labels with a dash "-" prefix (e.g., "-review") and how the Label parameter behaves when it encounters such labels.

Labels in macro parameter

Page labels

Show If

Hide If

Match Using: Any

a, b, c

a, b, c, d

true

true

Should match a or b or c

a, b

a, b, c, d

true

true

Should match a or b

a

a, b, c, d

true

true

Should match "a"

b, e

a, b, c, d

true

true

Should match "b"

-

-

true

true

Should match "-"

page-

page-

true

true

Should match "page-"

-e, -f

a, b, c, d

true

true

Should match since there are no labels "e", "f"

-

--

false

false

Should not match since there is no label “-” 

  • No labels