Template:Lua/doc: Difference between revisions
Jump to navigation
Jump to search
>Vinifera7 mNo edit summary |
m (4 revisions imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
This template | This template displays an infobox that lists the module dependencies for a template or module. For a template, module dependencies are the modules that implement that template (called with <code><nowiki>{{#invoke:}}</nowiki></code>). For a module, module dependencies are the other modules that are required by or loaded from that module. | ||
==Usage== | ==Usage== | ||
{{tlx|Lua|''module | Place this template at the top of the documentation subpage of a template or module. Templates are automatically added to [[:Category:Lua-based templates]]. | ||
{{tlx|Lua|''module 1''|''module 2''|''module 3''|...}} | |||
==Example== | |||
{{tlx|Lua|Module:Example|nocat=true}} | |||
{{Lua|Module:Example|nocat=true}} | |||
{{Adapted from Wikipedia|Template:Lua}} | |||
{{Documentation categories| | {{Documentation categories| |
Latest revision as of 00:50, 23 September 2024

This subpage provides documentation for Template:Lua.
This template displays an infobox that lists the module dependencies for a template or module. For a template, module dependencies are the modules that implement that template (called with {{#invoke:}}
). For a module, module dependencies are the other modules that are required by or loaded from that module.
Usage
Place this template at the top of the documentation subpage of a template or module. Templates are automatically added to Category:Lua-based templates.
{{Lua|module 1|module 2|module 3|...}}
Example
{{Lua|Module:Example}}

This template was adapted from Template:Lua on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.