Module:Navbox/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
m initially made the navbox based off of rswiki's navbox due to nesting, but wikipedia's own navbox supports nesting also
Ganaram inukshuk (talk | contribs)
this module is meant to be invoked directly!
Line 1: Line 1:
{{documentation|
{{documentation|
{{dochead|header='''Note:''' While this module should not be invoked directly, the use of its corresponding template ([[Template:Navbox]]) is not absolutely necessary.}}{{lua|Arguments|Navbar|Yesno}}
{{dochead|header='''Note:''' This module may be invoked directly by calling <code>_navbox(args)</code> or by using its corresponding template ([[Template:Navbox]]).}}{{lua|Arguments|Navbar|Yesno}}


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