Module:Infobox/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
On modules, you can include <syntaxhighlight inline lang="lua">local infobox= require("Module:Infobox")._infobox</syntaxhighlight> to create a sidebar.{{clear}} | On modules, you can include <syntaxhighlight inline lang="lua">local infobox= require("Module:Infobox")._infobox</syntaxhighlight> to create a sidebar.{{clear}} | ||
=== See also === | |||
* [[Module:Navbar]], used by this module to add view/talk/edit links. | |||
}} | }} | ||
Revision as of 09:20, 15 October 2025
| This template has been deprecated. Its replacements are Template:Dochead and Template:Module introspection. |
Module:Infobox is a module that implements the {{Infobox}} template. Infobox templates can be made by using the template or by calling the _sidebar function from another module.
On templates, you can create an infobox by using {{Infobox}}, which calls this module's wrapper function.
On modules, you can include local infobox= require("Module:Infobox")._infobox to create a sidebar.
See also
- Module:Navbar, used by this module to add view/talk/edit links.