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
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
- This module relies on the page User:AmoryBot/crathighlighter.js/sysop.json being updated.