Template:Discord channel/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Arado Ar 196 (talk | contribs) at 06:28, 24 August 2023 (Removing link(s) to "Wikipedia:Discord": off-wiki cesspit.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Usage

{{Discord channel|221049808784326656|general}} results in ‌#‌general join on Discord

{{Discord channel|284499550901764097}} results in <#284499550901764097> join on Discord

{{Discord channel|178361769750822912|support|guildid=178359708581625856|joincode=ZrV2Ex9}} results in ‌#‌support join on Discord

Getting Channel/Guild ID

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

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