Template:Lua: Difference between revisions

Template page
w:c:strategywiki>Prod
No edit summary
w:c:strategywiki>Prod
(scribunto is overkill)
Line 1: Line 1:
<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude>
{| class="plainlinks ombox mbox-small ombox-notice"
{{Lua|Module:Lua banner}}
| class="mbox-image" | [[File:Lua-Logo.svg|30px|link=|alt=Lua]]
| class="mbox-text" | This template uses [[StrategyWiki:Lua|Lua]]:
{{#if:{{{1|}}}|* [[{{{1|}}}]]}}<!--
-->{{#if:{{{2|}}}|* [[{{{2|}}}]]}}<!--
-->{{#if:{{{3|}}}|* [[{{{3|}}}]]}}<!--
-->{{#if:{{{4|}}}|* [[{{{4|}}}]]}}
|}<includeonly>[[Category:Templates using Lua]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}}


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

Revision as of 03:30, 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}}