Fandom Developers Wiki
Advertisement

AddRailModule adds a custom module to your Wiki's Wikia Rail (side rail).

The info for the module to display is stored in Template:RailModule. You will need to create this template on your wiki containing what you would like to be within the module.

Installation

Importing multiple scripts? This quick guide shows how to combine the imports.
  • For site-wide use, an administrator can add the line below to the wiki's MediaWiki:ImportJS page.
dev:AddRailModule/code.js

Usage

  1. Create Template:RailModule with what you want to display on the Wikia Rail

You can style the rail module with the .railModule class.

Advertisement