Module:Wikipedia ads/doc explained

This module displays banner-style adverts for various Wikipedia projects, processes and pages. It implements .

Usage

From wikitext

From wikitext, usually this module should be used via . However, it is also possible to use the syntax <nowiki>{{#invoke:wikipedia ads|main|...}}</nowiki>, where "..." are the template arguments. See the template page for documentation and for a list of available parameters.

From Lua

First, load the module:

local mWikipediaAds = require('Module:Wikipedia ads')

Then you can generate Wikipedia ads using the "_main" function:

mWikipediaAds._main(args)

args is a table of arguments that can be used by the module. See for a complete list of arguments and for other documentation.

Adding and removing ads

For instructions on creating the animated GIF files used in the ads, see . For instructions on adding and removing images from the module, see .