Template:Discord widget
Jump to navigation
Jump to search
{{#widget:Discord | id = 351897341047078913 | theme = light | width = 300 | height = 500 }}
Description[edit source]
This template embeds a Discord widget wherever it is placed. By default, it links to The Sims Wiki's Discord server, although it can be used to link to any other server. The template uses the Widgets extension to embed the Discord widget directly. This template replaces {{DiscordIntegrator}}, which was used on the Wikia wiki.
Usage[edit source]
Simply type {{Discord widget}} wherever you want the template to appear. The following parameters are optional:
id
- specify the Discord server ID of the server you want to link to. If left blank, it uses The Sims Wiki's Discord server's ID (351897341047078913).theme
- changes the theme of the widget. Choose betweenlight
anddark
. If left blank, it defaults tolight
.width
- adjusts the width of the widget in pixels. Defaults to300
.height
- adjusts the height of the widget in pixels. Defaults to500
.
See also[edit source]
- Widget:Discord, the code for the widget
Visit Template:Discord widget/doc to edit this text! (How does this work?) (Refresh this text - why?)