Widget:Discord: Difference between revisions

From Polyphasic Sleep Wiki
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..."
 
mNo edit summary
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="<!--{$width|default:"350"}-->" height="<!--{$height|default:"500"}-->" allowtransparency="true" style="border: none"></iframe></includeonly>
</noinclude><includeonly><iframe src="//discordapp.com/widget?id=<!--{$id|escape:'html'}-->&theme=<!--{$theme|default:"dark"}-->" width="<!--{$width|default:"150"}-->" height="<!--{$height|default:"200"}-->" allowtransparency="true" style="border: none"></iframe></includeonly>