DiscussionTemplates allows users to prefill a message wall post with a template of their choosing.
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)'.