Template:DiscordBan/doc

From Meta Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:DiscordBan.
It contains usage information, categories, and other content that is not part of the original template page.

Helper for easy display of discord bans on Discord/Banned users/list.

Usage

All fields are optional; if not present, the cell is left empty.

{{DiscordBan
|date = date of ban; automatically formatted to be in YYYY-MM-DD HH:mm:ss format by #time
|id = discord ID of the banned user
|username = Discord username (including discriminator); this can be left blank if the username is inappropriate
|admin = Discord username (including discriminator) of the banning admin
|reason = ban reason
}}
Note

User:Gaz Bot will attempt to automatically add new bans to the list, prefilling the data from the ban event in the server's audit log. The bot will fill in the date as @UNIXTIMESTAMP, which is how the time parser function supports timestamps. If necessary you can edit what the bot adds to remove offensive names or adjust any other information.