Template:Lua: Difference between revisions

Template page
w:c:strategywiki>Prod
(scribunto is overkill)
w:c:strategywiki>Prod
m (fix cat)
Line 6: Line 6:
-->{{#if:{{{3|}}}|* [[{{{3|}}}]]}}<!--
-->{{#if:{{{3|}}}|* [[{{{3|}}}]]}}<!--
-->{{#if:{{{4|}}}|* [[{{{4|}}}]]}}
-->{{#if:{{{4|}}}|* [[{{{4|}}}]]}}
|}<includeonly>[[Category:Templates using Lua]]</includeonly><noinclude>
|}<includeonly>[[Category:Templates using Lua modules]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 03:31, 14 April 2023

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}}
  • {{Lua|Module:Sandbox|Module:BananasArgs}}
  • {{Lua|Module:Sandbox|Module:BananasArgs|Module:HelloWorld}}