Template:Lua: Difference between revisions
Jump to navigation
Jump to search
>Crapeater1234 mNo edit summary |
>Frisk m (Revert consecutive edits by Crapeater1234 (talk) (SOAP revert) Reason: Vandalism) |
||
Line 4: | Line 4: | ||
<!-- Categories and interwikis go on the /doc subpage. --> | <!-- Categories and interwikis go on the /doc subpage. --> | ||
</noinclude> | </noinclude> | ||
Revision as of 09:08, 5 January 2021
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.
The above documentation is transcluded from Template:Lua/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.