Loading...
 
Skip to main content

History: PluginPref

Source of version: 9 (current)

Copy to clipboard
            {syntax type="markdown"  editor="wysiwyg"} {BOX()} Not to be confused with ((PluginPreference)) {BOX}

# Plugin Pref

*Introduced in ((Tiki11))*

Use this ((wiki plugin)) to display content based on global preference settings.

## Parameters

{pluginmanager plugin="pref"}

## Examples

### Basic syntax

{CODE(colors="tiki")}
{PREF(preference_name="value" preference_name="value")}If all met, display this!{ELSE}Other content.{PREF}
{CODE}

### Language preference

{CODE(colors="tiki")}{PREF(language="fr")}Salut ! {ELSE}Hello!{PREF}{CODE}

## Related pages

- ((PluginUserPref))
- ((PluginPerm))