Template:Lua: Difference between revisions

Template page
*>Mukeshpathak345
No edit summary
 
m (6 revisions imported: Imported from https://strategywiki.org/)
 
(5 intermediate revisions by one other user not shown)
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]]
{{documentation}}
| class="mbox-text" | This template uses [[StrategyWiki:Lua|Lua]]:
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
{{#if:{{{1|}}}|* [[{{{1|}}}]]}}<!--
</noinclude>
-->{{#if:{{{2|}}}|* [[{{{2|}}}]]}}<!--
-->{{#if:{{{3|}}}|* [[{{{3|}}}]]}}<!--
-->{{#if:{{{4|}}}|* [[{{{4|}}}]]}}
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Templates using Lua modules]]}}</includeonly><noinclude>
{{Documentation}}
 
[[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}}