Widget:Discord: Difference between revisions
Appearance
Created page with "html<noinclude> This widget allows us to display Discord on our game wiki. Usage: {{#widget:Discord|id=YOUR_SERVER_ID}} </noinclude> <iframe src="discord.com<!--{$id|escape:'url'}-->&theme=<!--{$theme|default:'dark'|escape:'url'}-->" width="100%" height="400" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>" |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | |||
This widget | This widget displays a Discord server widget. | ||
Usage: {{#widget:Discord|id=YOUR_SERVER_ID}} | |||
Usage: | |||
{{#widget:Discord|id=YOUR_SERVER_ID}} | |||
</noinclude> | </noinclude> | ||
<iframe src="discord.com | |||
<includeonly> | |||
<iframe | |||
src="https://discord.com/widget?id={{{id|}}}&theme=dark" | |||
width="100%" | |||
height="500" | |||
allowtransparency="true" | |||
frameborder="0" | |||
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"> | |||
</iframe> | |||
</includeonly> | |||
Latest revision as of 14:36, 14 May 2026
This widget displays a Discord server widget.
Usage: {{#widget:Discord|id=YOUR_SERVER_ID}}