Plugin User Pref
Introduced in Tiki4
Use this wiki plugin to display content depending on whether a user preference value.
Parameters
Display contents based on user preference settingsIntroduced in Tiki 4.
Go to the source code
Preferences required: wikiplugin_userpref
Parameters |
---|
(body of plugin) - Wiki text to display if conditions are met. The body may contain {ELSE} . Text after the marker
will be displayed to users not matching the conditions. |
no parameters |
Example
Copy to clipboard
{USERPREF(realName="toto" language="fr")}some text{ELSE}other text{USERPREF}