Fandom Developers Wiki
Advertisement

Käesolev lehekülg või osad sellest on tõlkimata. Tõlkige see sobivasse keelde (eesti).

Discord on skript, mis võimaldab teil integreerida oma Wiki külgribale või malli kasutamiseks kohandatud Discord vidinat.

Paigaldamine[]

Malli paigaldamine[]

Seadistamine[]

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]
Pages with a list of Discord user IDs grouped together The widget's user grouping behavior Pole
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)
  1. 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
Rounded avatars for users
Chip view for usernames on hover
Wikia rail button style for join button
Wider scrollbar and custom color

code.jscode.css
1.2.0 June 30, 2018 Template substitution

Support for pages that don't have a rail

diff.jsdiff.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.jsdiff.css
2.0.0 February 20, 2019 Cross wiki support

Initial Dev Wiki publish

code
3.0.0 February 21, 2019 Rewrite

I18n support
Bug fixes

diff
Advertisement