FANDOM


DiscussionTemplates allows users to prefill a message wall post with a template of their choosing.

Installation

Usage

The script must be configured for it to work. The configuration is all put inside an object under window.DiscussionTemplate. The config is a key called wiki, which should be set to a string with the full url of your wiki starting with https:// and ending before /wiki (eg, https://community.fandom.com/fr), and another object under the templates key, which is set up as 'label': 'Template:Name'. The template can include WIKI to be replaced with a link to another wiki, which currently defaults to non-EN Community Centrals, but can be overridden by setting the wikiList key to an object with the following format: 'label': 'full url (like before with the wiki key)'.

Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+