User:Awesome Aasim/Template:Discord channel/doc

Usage
results in

results in

results in

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
{	"params": { "1": {			"label": "Channel ID", "description": "The ID of the Discord channel (accessible by performing \"Copy ID\" when Discord developer mode is enabled)", "type": "number", "required": true },		"2": {			"label": "Channel Name", "description": "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.", "suggested": true },		"guildid": { "label": "Guild ID", "description": "The ID of the Discord server (accessible by performing \"Copy ID\" when Discord developer mode is enabled)", "type": "number" },		"joincode": { "label": "Invite code", "description": "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 Discord which contains an invite link to join the Wikimedia Discord community.", "type": "string" }	},	"description": "Allows for linking to Discord channels" }