Module:Navbox/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead|header='''Note:''' This module is mainly used by [[Template:Navbox]], but its use is not absolutely necessary.
{{dochead|header='''Note:''' This module is mainly used by [[Template:Navbox]], but its use is not absolutely necessary.


On templates you can call the <code>_navbox</code> (note the underscore in front) helper function.
* On templates you can call the <code>_navbox</code> (note the underscore in front) helper function.
 
* On modules you can include <syntaxhighlight inline lang="lua">local navbox = require("Module:Navbox")._navbox</syntaxhighlight>
On modules you can include
<syntaxhighlight lang="lua">local navbox = require("Module:Navbox")._navbox</syntaxhighlight>
at or near the top.}}
at or near the top.}}
{{todo|inline=1| Documentation}}
{{todo|inline=1| Documentation}}

Revision as of 15:30, 6 December 2024

Todo: Documentation

See also