Widget: Discord-WidgetBot: verschil tussen versies
Uit MediaWikiGids
Regel 35: | Regel 35: | ||
height="600" | height="600" | ||
></widgetbot> | ></widgetbot> | ||
− | <script src="https://cdn.jsdelivr.net/npm/@widgetbot/html-embed | + | <script src="https://cdn.jsdelivr.net/npm/@widgetbot/html-embed"></script> |
</includeonly> | </includeonly> |
Huidige versie van 16 mrt 2021 om 20:43
This widget allows you to add a Discord WidgetBot to your wiki page.
Using this widget
To insert this widget, use the following code:
{{#widget:{{PAGENAME}} | server = <not implemented as yet...> | channel = <not implemented as yet...> }}
Parameters
- server: server-id of your Discord-server
- channel: channel-id of the landing-channel in the the Discord server ,
For more information on how to use this widget, see WidgetBot documentation.
Copy to your site
To use this widget on your site, just install the MediaWiki Widgets extension and the copy full source code of this page to your wiki, as an article called Widget:Discord-WidgetBot.
Source: Proprietary development
Changes to v 01:
- Addition of parameters
Versie: 01 Author: Bart Mulckhuijse