Template:Lua: Difference between revisions

Template page
w:c:strategywiki>Prod
(scribunto is overkill)
m (6 revisions imported: Imported from https://strategywiki.org/)
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
-->{{#if:{{{3|}}}|* [[{{{3|}}}]]}}<!--
-->{{#if:{{{3|}}}|* [[{{{3|}}}]]}}<!--
-->{{#if:{{{4|}}}|* [[{{{4|}}}]]}}
-->{{#if:{{{4|}}}|* [[{{{4|}}}]]}}
|}<includeonly>[[Category:Templates using Lua]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Templates using Lua modules]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}


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

Latest revision as of 18:27, 28 October 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[edit source]

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

Examples[edit source]

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