Template:Lua

From Workers & Resources: Soviet Republic Official Wiki
Revision as of 18:31, 14 June 2024 by JKM (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the template shown above, sometimes hidden or invisible)

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>

Documentation transcluded from Template:Lua/doc.