A magic word is a keyword or phrase recognized by MediaWiki software (on which FANDOM is built), which triggers the software to do something special on the page. When editing in the visual editor, magic words on the page will show up as a green puzzle piece.
An example of magic word input and rendering
Step-by-Step
To add a magic word, simply add the magic word to the content of the page somewhere. It will look like code, but after you save (or preview), it will work as intended.
Magic words can be added in either editor (source or visual); however, source mode must be used to edit a magic word. Alternatively, in the visual editor, you can simply remove the magic word you wish to change and add the new one.
Common Magic Words
Here are some of the magic words used most commonly at FANDOM:
#topusers# — gets a list of the most active users.
Category Galleries
These magic words will apply to the Category Gallery feature when left on a Category page:
__NOCATEGORYGALLERY__ - Hides a category gallery from being rendered on a category page.
__FORCECATEGORYGALLERY__ - If the category gallery is enabled on a community, but it is not applied to all categories by default, this will add a category gallery to the category page.
Notes
↑Some magic words may function differently, or not work, at FANDOM. This occurs because the version of the MediaWiki software used by FANDOM is not always the same version as those of either MediaWiki.org or Wikipedia.org.