Module:IsAdmin/doc
Appearance
![]() | This is a documentation subpage for Module:IsAdmin. It may contain usage information, categories and other content that is not part of the original module page. |
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]- This module relies on the page User:AmoryBot/crathighlighter.js/sysop.json being updated.