Template:Discord server
Appearance
Wikimedia Community join on Discord
This template is used in MediaWiki:Readonlytext and MediaWiki:Readonlywarning. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
Usage
Allows for linking to a Discord guild. For individual Discord channels please see {{Discord channel}}.
Getting Guild ID
To get the server ID for the first parameter, open Discord, go to Settings → Advanced and enable developer mode. Then, right-click on the server title and select "Copy ID" to get the guild ID.
Template Data
Allows linking to a Discord guild
Parameter | Description | Type | Status | |
---|---|---|---|---|
Guild ID | 1 | The ID of the guild (obtainable by right-clicking on the server header and selecting "Copy ID" in developer mode) | Number | required |
Guild Name | 2 | The title (name) of the guild | String | required |
Join code | joincode | The code to join the guild (from the invite link) | Unknown | suggested |