Template:DiscordIntegrator
Jump to navigation
Jump to search
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Description
This template is used as a utility for making usage of DiscordIntegrator easier. In order to integrate the widget, it first needs to be enabled, for instructions on how to do that check "Enabling the widget" section in the documentation.
Parameters
| Option | Type | What it changes | Default |
|---|---|---|---|
id
|
String | ID of the server. For more information on how to find Discord server ID, see "Enabling the widget" section in the documentation This parameter is required for the widget to work |
N/A |
loggedIn
|
Boolean | If set to true, widget will only work for logged in users | N/A |
theme
|
String | Theme of the widget. Can be set to either light or dark. If invalid option specified the default is used
|
dark
|
width
|
String | Width of the widget. | 100%
|
height
|
String | Height of the widget. | 90%
|
usePTB
|
Anything | If to use the widget from Public Test Build server instead of the normal one | N/A |
See also
- w:c:dev:DiscordIntegrator for complete documentation
The above text is transcluded from Template:DiscordIntegrator/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:DiscordIntegrator/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:DiscordIntegrator/doc. (View all subpages of this page.)