Module:Infobox/doc: Difference between revisions
Jump to navigation
Jump to search
m Text replacement - "{{Todo|inline=1|Documentation}}" to "{{Todo|inline=1| add documentation }}" |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
{{documentation|{{dochead|header='''Note:''' While this module should not be invoked directly, the use of its corresponding template ([[Template:Infobox]]) is not absolutely necessary. | {{documentation| | ||
{{dochead|header='''Note:''' While this module should not be invoked directly, the use of its corresponding template ([[Template:Infobox]]) is not absolutely necessary. | |||
On other templates that use or generate infoboxes, you can call <code>_infobox</code> (note the underscore in front). The <code>infobox</code> function (without the underscore) is used by [[Template:Infobox]] as a wrapper. | On other templates that use or generate infoboxes, you can call <code>_infobox</code> (note the underscore in front). The <code>infobox</code> function (without the underscore) is used by [[Template:Infobox]] as a wrapper. | ||
On other modules, you can include <syntaxhighlight inline lang="lua">local infobox = require("Module:Infobox")._infobox</syntaxhighlight> at or near the top.}} | On other modules, you can include <syntaxhighlight inline lang{{=}}"lua">local infobox = require("Module:Infobox")._infobox</syntaxhighlight> at or near the top.}}{{lua|arguments|yesno}} | ||
{{ | <p>'''Module:Infobox''' is a {{w|wp:lua|module}} that implements the {{tl|Infobox}} template. Please see the template page for usage instructions.</p>{{clear}} | ||
}} | }} | ||
Revision as of 12:13, 19 May 2025
- Note: While this module should not be invoked directly, the use of its corresponding template (Template:Infobox) is not absolutely necessary.
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. 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.