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
- id
- The Discord widget ID. Can also be the first numbered parameter passed to the template. Defaults to the ID configured on MediaWiki:Custom-Discord-id.
- theme
- The theme name. Should be one of
darkorlight, other theme names will default todarkbut allow further custom CSS to affect it. - invite
- The invite url to be used in the join button. Defaults to an invite url generated by Discord.
- header
- Whether to add the header above the widget or not. Any value other other than 0 is considered truthy. Default:
0 - width
- The widget's width. NOT RECOMMENDED. Aliases:
w - height
- The widget's height. Aliases:
h - text
- The placeholder text while the widget is loading. Not required. Defaults to an empty string.