Template:Lua: Difference between revisions
Jump to navigation
Jump to search
m Text replacement - "{{lc:}}" to "" Tag: Manual revert |
m Text replacement - "\[\[Category:([A-Za-z]+)\s*(.*)\]\]" to "[[Category:$1 {{lc:$2}}]]" |
||
Line 9: | Line 9: | ||
| | | | ||
| {{#switch: {{NAMESPACENUMBER}} | | {{#switch: {{NAMESPACENUMBER}} | ||
| 0 | 10 = [[Category: | | 0 | 10 = [[Category:L {{lc:ua-based Templates}}]] | ||
}} | }} | ||
}} | }} | ||
}}</includeonly><noinclude>{{documentation}}[[Category: | }}</includeonly><noinclude>{{documentation}}[[Category:N {{lc:otification Templates}}]] | ||
</noinclude> | </noinclude> |
Revision as of 21:51, 12 April 2025
This template uses Module:Lua, this script is written in Lua.
For more details, please refer to Wikipedia:Lua and Extension:Scribunto.
Template:Documentation header Use on template documentation pages that utilize Lua modules.
|1=
is the module name without the namespace, defaulting to {{BASEPAGENAME}}
. If the template's data is stored in a separate module or subpage, you can use the |data=
and |data2=
parameters.
Use on the documentation pages of templates that use Lua modules.
Pages using this template will automatically add the template to Category:L ua-based Templates. Setting {{{nocat}}}
will prevent this.
[ View | Edit | History | Purge ]The above documentation is transcluded from Template:Lua/doc.