Module:Redirect hatnote/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Cleanup TfD tag detritus)
m (change source to syntaxhighlight)
Line 12: Line 12:
To use this module from Lua, first load the module.
To use this module from Lua, first load the module.


<source lang="lua">
<syntaxhighlight lang="lua">
local mRedirectHatnote = require('Module:Redirect hatnote')
local mRedirectHatnote = require('Module:Redirect hatnote')
</syntaxhighlight>
</source>


The module can then be used with the following syntax:
The module can then be used with the following syntax:


<source lang="lua">
<syntaxhighlight lang="lua">
mRedirectHatnote._redirect(redirect, data, options, titleObj)
mRedirectHatnote._redirect(redirect, data, options, titleObj)
</syntaxhighlight>
</source>


== See also ==
== See also ==