Module:Navbar/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
m Update documentation
Ganaram inukshuk (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation|
{{documentation|{{dochead|header=metatemplate}}
{{dochead|header=none}}{{lua|Ordinal|Yesno}}
This module is used by [[Template:Navbar]] to generate View/Talk/Edit links on templates.
This module is used to store functions for templates that generate a navigation bar:
 
* [[Template:Navbox Lumatone]]
* [[Template:Navbox fractional-octave]]
 
[[Template:Navbar]] also uses this module, even though it only generates View/Talk/Edit links.


To include this module in other modules, use <syntaxhighlight inline lang="lua">local navbar = require("Module:Navbar")._navbar</syntaxhighlight>.
To include this module in other modules, use <syntaxhighlight inline lang="lua">local navbar = require("Module:Navbar")._navbar</syntaxhighlight>.


=== See also ===
{{module introspection}}
* [[Module:Navbox]]
}}
}}

Latest revision as of 22:47, 30 October 2025

This module implements a metatemplate, and may be invoked by templates using its corresponding template Template:Navbar, or used directly from other modules.

This module is used by Template:Navbar to generate View/Talk/Edit links on templates.

To include this module in other modules, use local navbar = require("Module:Navbar")._navbar.

To see introspection summary, see this module's main page.