This is the documentation page for DiscordWidget.
It contains usage information, categories, and other content not part of the original template page.

Embeds a customizable Discord widget on the page, independent from the rail widget. Useful for the main page which doesn't have a traditional rail element but often has a column design.

Parameters

{{DiscordWidget
|id = discord widget ID
|theme = dark / light
|invite = server invite URL
|header = add as 1 to add header
|width = the widget's width
|height = the widget's height
|text = placeholder text while the widget is loading
}}

Example

{{DiscordWidget}} yields:


{{DiscordWidget|header = 1|width = 120px}} yields:

Template Data

Embeds a customizable Discord widget on the page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Server IDid 1

The Discord widget ID. It can also be the first numbered parameter passed to the template.

Stringoptional
Widget's themetheme

no description

Default
dark
Example
"dark" or "light"
Booleanoptional
Server invite linkinvite

no description

URLoptional
Widget Headerheader

no description

Default
0
Example
1
Booleanoptional
Widget widthwidth w

no description

Example
250px
Numberoptional
Widget heightheight h

no description

Example
250px
Numberoptional
Fallback texttext

no description

Example
this widget is currently loading
Stringoptional