Module:Navbox/doc: Difference between revisions
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, while on modules you can include <syntaxhighlight lang="lua">local navbox = require("Module:Navbox")._navbox</syntaxhighlight> at or near the top.}} | ||
{{todo|inline=1| Documentation}} | {{todo|inline=1| Documentation}} | ||
=== See also === | === See also === | ||
* [[:Module:Navbar]] | * [[:Module:Navbar]] | ||
Revision as of 15:27, 6 December 2024
- Note: This module is mainly used by Template:Navbox, but its use is not absolutely necessary. On templates you can call the
_navbox(note the underscore in front) helper function, while on modules you can includeat or near the top. This module implements Template:Navbox.local navbox = require("Module:Navbox")._navbox