Jump to content

Module:IsAdmin/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by L235 (talk | contribs) at 22:54, 23 May 2025 (begin). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


Usage

render

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

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

isAdmin

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

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

Examples

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

Notes