Template:Lua: Difference between revisions

Template page
w:c:strategywiki>Prod
m (1 revision imported)
w:c:strategywiki>Prod
No edit summary
Line 1: Line 1:
<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude>
<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude>
{{Lua|Module:Lua banner}}
{{Lua|Module:Lua banner}}
{{documentation}}
{{Documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
 
</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 06:38, 4 November 2020

{{#invoke:Lua banner|main}} This page has been transcluded from Template:Lua/Documentation.


This template is used to show that templates have been converted to Lua. It is placed at the top of the template's /doc page. It automatically adds the template to Category:Templates using Lua modules.

Usage

Basic
{{Lua|module name}}
All parameters
{{Lua|module 1|module 2|module 3|nocat=true}}

Examples

  • {{Lua|Module:Sandbox}}

{{#invoke:Lua banner|main}}

  • {{Lua|Module:Sandbox|Module:BananasArgs}}

{{#invoke:Lua banner|main}}

  • {{Lua|Module:Sandbox|Module:BananasArgs|Module:HelloWorld}}

{{#invoke:Lua banner|main}}

{{#invoke:Lua banner|main}}