Jump to content

User:Awesome Aasim/Template:Discord channel/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{User:Awesome Aasim/Template:Discord channel|221049808784326656|general}} results in ‌#‌general join on Discord

{{User:Awesome Aasim/Template:Discord channel|284499550901764097}} results in <#284499550901764097> join on Discord

{{User:Awesome Aasim/Template:Discord channel|178361769750822912|support|guildid=178359708581625856|joincode=ZrV2Ex9}} results in ‌#‌support join on Discord

Getting Channel/Guild ID

[edit]

To get the channel/server ID for the first and "guildid" parameters, open Discord, go to Settings > Advanced and enable developer mode. Then, right-click on the channel and select "Copy ID" to get the channel ID or right-click on the server title and select "Copy ID" to get the guild ID.

Template Data

[edit]

Allows for linking to Discord channels

Template parameters

ParameterDescriptionTypeStatus
Channel ID1

The ID of the Discord channel (accessible by performing "Copy ID" when Discord developer mode is enabled)

Numberrequired
Channel Name2

The name of the Discord channel (as displayed in Discord). If no name is provided then the code for displaying that channel in Discord will be displayed instead.

Unknownsuggested
Guild IDguildid

The ID of the Discord server (accessible by performing "Copy ID" when Discord developer mode is enabled)

Numberoptional
Invite codejoincode

The invite code where the Discord channel is located (the xxxxxx in discord.gg/xxxxxx). If no invite link is provided it will link to [[Wikipedia:Discord]] which contains an invite link to join the Wikimedia Discord community.

Stringoptional