Widget:Discord: Difference between revisions

From BlazBlue Wiki
(Adding Discord widget created by Technical 13)
 
mNo edit summary
 
Line 1: Line 1:
{{Widget
<noinclude>__NOTOC__
|description=Allows to add a Discord widget
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.
|author=Technical 13,
|provider=Discordapp
|providerurl=https://blog.discordapp.com/add-the-discord-widget-to-your-site/
|status=active
}}
This widget allows you to add [https://blog.discordapp.com/add-the-discord-widget-to-your-site/ Discord] to your wiki page.


To insert this widget, use the following code:
Created by [https://www.mediawikiwidgets.org/User:Technical_13 Technical 13]


<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
== Using this widget ==
  | id =
For information on how to use this widget, see [https://www.mediawikiwidgets.org/Discord widget description page on MediaWikiWidgets.org].
  | theme =
}}</nowiki>


== Parameters ==
== Copy to your site ==
* '''id''' - Discord-ID
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}}'''.
* '''theme''' - dark (default), ...?
</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>
 
== Sample result ==
{{#widget:{{PAGENAME}}
  | id = 192775085420052489
}}
{{Comments}}

Latest revision as of 21:14, 28 September 2017

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.