Difference between revisions of "Widget:Discord"

From HaloRuns Wiki
Jump to: navigation, search
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed a '''[https://blog.discordapp.com/add-the-discord-widget-to-your-site/ Discord widget]''' (HTML version) on your wiki page...")
 
(Allowed custom sizing)
 
Line 9: Line 9:
 
== Copy to your site ==
 
== Copy to your site ==
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
</noinclude><includeonly><iframe src="//discordapp.com/widget?id=<!--{$id|escape:'html'}-->&theme={$theme|default:"dark"}" width="350" height="500" allowtransparency="true" frameborder="0"></iframe></includeonly>
+
</noinclude><includeonly><iframe src="//discordapp.com/widget?id=<!--{$id|escape:'html'}-->&theme={$theme|default:"dark"}" width="<!--{$width|escape:'html'|default:'350'}-->" height="<!--{$height|escape:'html'|default:500}-->" allowtransparency="true" frameborder="0"></iframe></includeonly>

Latest revision as of 07:30, 21 December 2016

This widget allows you to embed a Discord widget (HTML version) on your wiki page.

Created by Technical 13

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Discord.