Module:Navbox/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
mNo edit summary
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{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.}}
{{documentation|{{dochead|header=metatemplate}}
{{todo|inline=1| Documentation}}
<p>'''Module:Navbox''' is a {{w|wp:lua|module}} that implements the {{tlx|Navbox}} template. Navbox templates can be made by using the template or by calling the <code>_navbox</code> function from another module.</p>


=== See also ===
On templates, you can create a navbox by using <code><nowiki>{{Navbox}}</nowiki></code>, which calls this module's wrapper function.
* [[:Module:Navbar]]
 
On modules, you can include <syntaxhighlight inline lang="lua">local navbox = require("Module:Navbox")._navbox</syntaxhighlight> to create a navbox.{{clear}}
 
{{module introspection}}
}}