Module:Navbox/doc

From Xenharmonic Wiki
Revision as of 10:09, 3 October 2025 by Ganaram inukshuk (talk | contribs) (initially made the navbox based off of rswiki's navbox due to nesting, but wikipedia's own navbox supports nesting also)
Jump to navigation Jump to search

This is the documentation page for Module:Navbox


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

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 template allows a navigation box to be set up relatively quickly by supplying it with one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is possible, but not recommended.

See also