{hide-if}
Plugin: Visibility Plugin
This macro will show its contents to the viewer if the context matches the parameters specified.
Usage
{hide-if:[parameters]}
Hidden content.
{hide-if}
Parameters
| Name | Required | Default | Description |
|---|---|---|---|
| type(s) | | The (list of) page types. May be:
| |
| display(s) | | The (list of) display modes. May be:
| |
| space(s) | | The (list of) spaces this will be displayed in. | |
| action(s) | | The action taking place.
| |
| label(s) | | The list of labels to test are present or absent. Syntax details. | |
| header | | The list of header "name:value" pairs to check for. This can either be of the form "name*:exact value" or "name::*regular expression". | |
| scope | | (Since 1.6.0) List of pages, news items, etc which are in scope. If the content is a page, the scope can be expanded to their children, descendents or ancestors:
| |
| trim | | true
| If set to false, the content will not be trimmed before being output (if appropriate). |
| match | | any
| If set to 'all', then all items listed must match. |

Discussions