Template:Lua: Difference between revisions
(Use <onlyinclude>) |
workers-resources-fandom>Letter N (Created page with "<onlyinclude><includeonly>{{#invoke:Lua banner|main}}</includeonly></onlyinclude> {{Documentation}}") |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#invoke:Lua banner|main}}</includeonly></onlyinclude> | <onlyinclude><includeonly>{{#invoke:Lua banner|main}}</includeonly></onlyinclude> | ||
{{Documentation}} | {{Documentation}} | ||
Revision as of 02:10, 11 January 2023
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>