Editing
Template:Discord widget/doc
Jump to navigation
Jump to search
β οΈ
Warning:
You are not logged in.
Your IP address will be publicly visible
if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username instead of your IP, along with other benefits.
Anti-spam check. Do
not
fill this in!
This template outputs a Discord server's HTML widget. Note that the widget needs to be enabled in the server's settings first. == Usage == <code>{{Discord widget|''server ID''|theme=''dark'' or ''light''|width=''width in number of pixels''|height=''height in number of pixels''}}</code> The server ID, which is the Discord server's numerical ID, is the only parameter that is required. Other parameters will default to the values recommended by Discord. See the TemplateData section below for more information about the parameters. == Example == <code><nowiki>{{Discord widget|823360746930700300}}</nowiki></code> would output the widget for server 823360746930700300, which looks like: {{Discord widget|823360746930700300}} == TemplateData == <templatedata> { "params": { "1": { "label": "Server ID", "description": "The numerical ID of the Discord server.", "example": "823360746930700300", "type": "number", "required": true }, "theme": { "description": "Whether the widget should use Discord's dark or light theme.", "type": "string", "suggestedvalues": [ "dark", "light" ], "default": "dark" }, "width": { "description": "The width of the widget in pixels.", "type": "number", "default": "350" }, "height": { "description": "The height of the widget in pixels.", "type": "number", "default": "500" } }, "description": "Adds a Discord server's HTML widget. Note that this needs to be enabled in the server's settings." } </templatedata>
Summary:
Please note that all contributions to Irony Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Irony Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Discord widget
(
edit
)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Purge cache
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
Page values