Today >> _bug9HuMcJvz_transforms 

TB Wiki

Login

IfAdmin Macro Help

The IfAdmin macro can be used to show text selectively, depending on whether the user has administrator privileges.

If the user is not logged in, or is not an administrator, they will see nothing.

If the text is preceded by "Markup:", then it is run through markup_to_html() before being shown on the page.

Here are some examples:

Example 1: {{IfAdmin(<font color="red">You are an administrator!</font>)}}

Example 2: {{IfAdmin(Markup:See the [[PageManagerSpecial]] page to manage pages directly)}}

Back to page: SystemInfo

TBWiki engine 1.9.3 by Tim Bird