This page, or parts of it, are still untranslated. Please translate it to the appropriate language (eesti).
Discord on skript, mis võimaldab teil integreerida oma Wiki külgribale või malli kasutamiseks kohandatud Discord vidinat.
Installation[]
Malli paigaldamine[]
Configuration[]
Kõik külgribade vidina konfiguratsioonid alumise teksti, pealkirja, liitumissõnumi, teema ja rolli eraldamise jaoks on salvestatud eraldi lehekülgedele MediaWiki:Custom-Discord- eesliite alla. Neid saavad muuta ainult administraatorid, seega saavad ainult nemad kohandada küljepalkide vidina toimimist.
Allpool on tabel kõigi erinevate MediaWiki lehekülgede jaoks mõeldud külgribade kohta, kusjuures eesliide on välja jäetud:
| Valik | Tüüp | Mõjutab | Vaikimis |
|---|---|---|---|
id
|
Number | Discordi serveri ID, mis lisatakse külgribale Kui see välja jäetakse, ei lisata rööbastee moodulit. |
Pole |
header
|
String | The heading inserted before the widget | Community Chat |
footer
|
String | The text inserted next to the join button, only displayed if footer or guidelines are edited | By joining, you agree to the [$1 server guidelines] |
join
|
String | The text for the join button | Join Now! |
invite
|
String | The invite URL for the join button | Taken from widget data |
guidelines
|
String | The link passed as an argument to the footer message | Pole |
theme
|
dark, light, or auto
|
The theme of the widget, auto will match FandomDesktop theme
|
auto |
online
|
String | The text for members online | <strong>$1</strong> Users Online
|
users
|
String | The default role heading text | Users |
roles-*(Currently unsupported)[1] |
|||
order
|
Role names separated by commas | The order in which user groups display. Default role is always last. | Pole |
branding
|
The Discord branding to use, old or new
|
The colors and the logo used for the widget | old (with no plans of switching to new)
|
- ↑ Footnote: Owing to Discord API changes, the role grouping feature
roles-*is no longer supported, and the displayed roster is capped to 100 members.
Changelog[]
| Version | Date | Description | Diff |
|---|---|---|---|
| 1.0.0-1.1.0 | June 14, 2018 | Initial revision.
Custom Wikia rail module support |
code.js • code.css |
| 1.2.0 | June 30, 2018 | Template substitution Support for pages that don't have a rail |
diff.js • diff.css |
| 1.3.0-1.5.0 | August 30, 2018 - February 17, 2019 | Improvements and fixes to join button for consistency with the Wikia rail button style Wiki specific changes |
diff.js • diff.css |
| 2.0.0 | February 20, 2019 | Cross wiki support Initial Dev Wiki publish |
code |
| 3.0.0 | February 21, 2019 | Rewrite I18n support |
diff |