Module:Vandal-m/doc: Difference between revisions

From MWStake
Jump to navigation Jump to search
enwiki>JJMC89
 
m (1 revision imported)
 
(No difference)

Latest revision as of 12:56, 23 April 2019

This module implements the {{vandal-m}} template.

Usage from wikitext

This module cannot be used directly from wikitext. It can only be used through a template, usually the {{vandal-m}} template. Please see the template page for documentation.

Usage from Lua modules

To use this module from other Lua modules, first load the module.

local mVandalM = require('Module:Vandal-m')

You can then generate the vandal-m links by using the _main function.

mVandalM._main(args)

The args variable should be a table containing the arguments to pass to the module. To see the different arguments that can be specified and how they affect the module output, please refer to the {{vandal-m}} template documentation.