Template:Lua/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 4: | Line 4: | ||
=== Usage === | === Usage === | ||
Pass in the name of all modules used for a given template, separated by pipe characters: | Pass in the name of all modules used for a given template, separated by pipe characters: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Revision as of 22:39, 1 February 2025
- This template invokes the following functions: lua_banner from Variable arguments.
| This template has been deprecated. Its replacements are Template:Dochead and Template:Module introspection. |
| This template uses Lua: |
On templates with modules, this template provides a link from the template or its documentation to the corresponding module.
Usage
Pass in the name of all modules used for a given template, separated by pipe characters:
| You type | You get | ||||
|---|---|---|---|---|---|
{{modlink|Infobox ET}} |
| ||||
{{modlink|Infobox ET|Utils}} |
|
If no argument is passed, there will be a single link to the module with the same name as the template.