Module:Section link/doc: Difference between revisions

Content deleted Content added
show what happens w/o param
m change source to syntaxhighlight
Line 12:
First, load the module:
 
<sourcesyntaxhighlight lang="lua">
local mSectionLink = require('Module:Section link')
</syntaxhighlight>
</source>
 
You can then make section links via the _main function.
 
<sourcesyntaxhighlight lang="lua">
mSectionLink._main(page, sections, options, title)
</syntaxhighlight>
</source>
 
Parameters: