Module:Navbox/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
m Text replacement - "{{todo|inline=1| Documentation}}" to "{{Todo|inline=1| add documentation }}"
Line 5: Line 5:


On other modules, you can include <syntaxhighlight inline lang="lua">local navbox = require("Module:Navbox")._navbox</syntaxhighlight> at or near the top.}}
On other modules, you can include <syntaxhighlight inline lang="lua">local navbox = require("Module:Navbox")._navbox</syntaxhighlight> at or near the top.}}
{{todo|inline=1| Documentation}}
{{Todo|inline=1| add documentation }}


=== See also ===
=== See also ===
* [[Module:Navbar]]
* [[Module:Navbar]]
}}
}}

Revision as of 15:05, 28 April 2025


Note: While this module should not be invoked directly, the use of its corresponding template (Template:Navbox) is not absolutely necessary.

On other templates that use or generate navigation boxes, you can call _navbox (note the underscore in front). The navbox function (without the underscore) is used by Template:Navbox as a wrapper.

On other modules, you can include local navbox = require("Module:Navbox")._navbox at or near the top. This module implements Template:Navbox.

Todo: add documentation


See also