Module:Infobox/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
update dochead
Ganaram inukshuk (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation|
{{documentation|{{dochead|header=metatemplate}}
{{dochead | header = metatemplate }}
{{lua|arguments|navbar|template input utils|yesno}}
<p>'''Module:Infobox''' is a {{w|wp:lua|module}} that implements the {{tlx|Infobox}} template. Infobox templates can be made by using the template or by calling the <code>_sidebar</code> function from another module.</p>
<p>'''Module:Infobox''' is a {{w|wp:lua|module}} that implements the {{tlx|Infobox}} template. Infobox templates can be made by using the template or by calling the <code>_sidebar</code> function from another module.</p>


Line 7: Line 5:


On modules, you can include <syntaxhighlight inline lang="lua">local infobox= require("Module:Infobox")._infobox</syntaxhighlight> to create an infobox.{{clear}}
On modules, you can include <syntaxhighlight inline lang="lua">local infobox= require("Module:Infobox")._infobox</syntaxhighlight> to create an infobox.{{clear}}
 
{{module introspection}}
=== See also ===
* [[Module:Navbar]], used by this module to add view/talk/edit links.
}}
}}