Template:Lua: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
m Text replacement - " {{lc:" to "{{lc:"
Tag: Reverted
m Text replacement - "{{lc:}}" to ""
Tag: Manual revert
Line 9: Line 9:
   |
   |
   | {{#switch: {{NAMESPACENUMBER}}
   | {{#switch: {{NAMESPACENUMBER}}
     | 0 | 10 = [[Category:L{{lc:}}ua-based Templates]]
     | 0 | 10 = [[Category:Lua-based Templates]]
     }}
     }}
   }}
   }}
}}</includeonly><noinclude>{{documentation}}[[Category:N{{lc:}}otification Templates]]
}}</includeonly><noinclude>{{documentation}}[[Category:Notification Templates]]
</noinclude>
</noinclude>

Revision as of 21:46, 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.

[ View | Edit | History | Purge ]Documentation page

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.