Template:Lua: Difference between revisions
Jump to navigation
Jump to search
(Add support for Category:Module documentation) |
(Don’t add modules to Category:Lua-based templates) |
||
Line 22: | Line 22: | ||
| <strong class="error">Error: no modules specified</strong> | | <strong class="error">Error: no modules specified</strong> | ||
}} | }} | ||
|}<includeonly>{{#ifeq:{{WsBool|{{{nocat|}}}}}|1||{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Lua-based templates]]}}}}</includeonly></onlyinclude> | |}<includeonly>{{#ifeq:{{WsBool|{{{nocat|}}}}}|1||{{#ifeq:{{SUBJECTSPACE}}|Module||{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Lua-based templates]]}}}}}}</includeonly></onlyinclude> | ||
{{Doc}} | {{Doc}} |
Latest revision as of 19:33, 11 April 2021
File:Lua logo.svg | This template uses Lua:
|
Used to mark a template as using Lua.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Page name | required |
2 | 2 | no description | Page name | optional |
3 | 3 | no description | Page name | optional |
4 | 4 | no description | Page name | optional |
5 | 5 | no description | Page name | optional |
6 | 6 | no description | Page name | optional |
7 | 7 | no description | Page name | optional |
8 | 8 | no description | Page name | optional |
9 | 9 | no description | Page name | optional |
10 | 10 | no description | Page name | optional |
nocat | nocat | Don't add to Category:Lua-based templates
| Boolean | optional |