Шаблон:DiscordIntegrator
Материал из Revelation Wiki
Перейти к навигацииПерейти к поиску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 | 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% |
allowtransparency | Boolean | allowtransparency attribute of the element. | true |
frameborder | Number | frameborder attribute | 0 |
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