Jump to content

Module:IsAdmin/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by L235 (talk | contribs) at 22:56, 23 May 2025 (Usage: ce). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


Usage

[edit]

render

[edit]

{{#invoke:IsAdmin|render|<username>}}

Returns yes if <username> is an admin, no otherwise.

isAdmin

[edit]

{{#invoke:IsAdmin|isAdmin|<username>}}

Returns 1 if <username> is an admin (usable in #if), blank otherwise.

Examples

[edit]
  • {{#invoke:IsAdmin|render|L235}} → yes
  • {{#invoke:IsAdmin|render|ExampleUser}} → no

Notes

[edit]