Template:Lua/doc: Difference between revisions
workers-resources-fandom>Letter N No edit summary |
m (1 revision imported) |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 19:25, 14 June 2024
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
- Description
- This template is used to list Lua module dependencies on module documentation pages.
- Syntax
- Type {{Lua|<...>|<nocat=boolean>|<category=string>}}
- Sample output
{{Lua|Module:String}}
gives...
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
TemplateData
<templatedata> { "description": "Lists Lua module dependencies.", "format": "inline", "params": { "1": { "aliases": [ "2", "3", "4", "5", "6", "7", "8", "9", "..." ], "label": "Modules", "description": "Varargs list of Lua module dependencies", "type": "wiki-page-name", "required": true }, "nocat": { "label": "No categories", "description": "Don't add tracking categories", "type": "boolean", "default": "false" }, "category": { "label": "Category", "description": "Use the specified tracking category", "type": "string" } }, "paramOrder": [ "1", "nocat", "category" ] } </templatedata>