DiscordIntegrator/pl

DiscordIntegrator plugin pokazujący Discord na prawym panelu danej wiki.

Instalacja
By zainstalować skrypt, msuisz mieć włączony JavaScript na swojej wiki. Jeśli nie masz włączonego skontaktuj się z Fandomem by Staffowie włączyli.

Jeśli masz włączony JavaScript wejdź na MediaWiki:ImportJS i wpisz: dev:DiscordIntegrator/code.js

Notatka: Konfiguracja DiscordIntegratora nie wymaga zatwierdzenia.

Włączanie Widgetu
W ustawieniach serwera w zakładce ,,Widget" konfigurujesz Widget tak, by wyglądał tak jak na drugim screen'ie.

Przypomnienie: IP Serwera również znajdziesz w tej zakładce!

DALEJ DO EDYCJI

Content
After the script is installed through the methods explained above, it is possible to make the widget show up in the page content. It is advised to create a template on your wiki and copy the contents of DiscordIntegrator to it. After that, the template can be used as:

which gives:

For more complicated usage you can check the template documentation itself.

Wikia Rail
The script can be configured to add the widget to the sidebar of the wiki on Oasis through editing several MediaWiki pages. Any MediaWiki page relating to the configuration of DiscordIntegrator starts with  and after it goes the name of the configuration option. For example, to configure the ID of the server, you'd need to go to MediaWiki:Custom-DiscordIntegrator-config-id.

The widget will appear in the siderail, only if the ID of the server is set in configuration options. Configuration options have same names as configuration options when adding the widget to content, except with the addition of a few parameters: An example of the widget can be seen in the sidebar on this page.

Frequently Asked Questions

 * Can I change the colors on the widget?
 * Currently, no. The widget is an iframe, therefore its style cannot be changed.


 * The widget is loading infinitely
 * That means you didn't enable the widget in your server settings.
 * Enable the widget as said in Enabling the widget section and refresh the page.
 * Sometimes it might take a minute or two for the widget to register it's enabled.


 * Is the ID required for the module to function?
 * Yes, or nothing will display