Template:Lua/doc: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
m Text replacement - "Category:([A-Za-z]+)\s*(.*)" to "Category:$1 {{lc:$2}}"
Tags: Mobile edit Mobile web edit
m Text replacement - "{{lc:}}" to ""
 
Line 6: Line 6:
Use on the documentation pages of templates that use Lua modules.
Use on the documentation pages of templates that use Lua modules.


Pages using this template will automatically add the template to [[:Category:L {{lc:}}ua-based Templates]]. Setting <code>{{{nocat}}}</code> will prevent this.
Pages using this template will automatically add the template to [[:Category:L ua-based Templates]]. Setting <code>{{{nocat}}}</code> will prevent this.


<includeonly>
<includeonly>

Latest revision as of 21:31, 12 April 2025

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.