Module:Infobox/doc: Difference between revisions
Jump to navigation
Jump to search
module is meant to be invoked directly; saying "should not be invoked directly" when it can be is contradictory |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{documentation| | {{documentation| | ||
{{dochead|header='''Note:''' This module may be invoked directly by calling <code>_infobox(args)</code> or by using its corresponding template (Template:Infobox).}}{{lua|arguments|yesno}} | {{dochead|header='''Note:''' This module may be invoked directly by calling <code>_infobox(args)</code> or by using its corresponding template (Template:Infobox).}}{{lua|arguments|navbar|yesno}} | ||
<p>'''Module:Infobox''' is a {{w|wp:lua|module}} that implements the {{tlx|Infobox}} template. Please see the template page for usage instructions.</p> | <p>'''Module:Infobox''' is a {{w|wp:lua|module}} that implements the {{tlx|Infobox}} template. Please see the template page for usage instructions.</p> | ||
Revision as of 23:07, 11 October 2025
- Note: This module may be invoked directly by calling
_infobox(args)or by using its corresponding template (Template:Infobox). This module implements Template:Infobox.
| This template has been deprecated. Its replacements are Template:Dochead and Template:Module introspection. |
Module:Infobox is a module that implements the {{Infobox}} template. Please see the template page for usage instructions.
On other templates that use or generate infoboxes, you can call _infobox (note the underscore in front). The infobox function (without the underscore) is used by Template:Infobox as a wrapper.
On other modules, you can include local infobox = require("Module:Infobox")._infobox at or near the top.