Difference between revisions of "Template:Lua"
Jump to navigation
Jump to search
m |
m |
||
Line 3: | Line 3: | ||
|type=notice | |type=notice | ||
|text= | |text= | ||
− | This template uses '''[[Module:{{ucfirst:{{PAGENAME:{{{1|{{BASEPAGENAME}}}}}}}}}]]''', {{#if:{{{data|}}}|with data stored in [[Module:{{ucfirst:{{PAGENAME:{{{data}}}}}}}]] {{#if:{{{data2|}}}| and [[Module:{{ucfirst:{{PAGENAME:{{{data2}}}}}}}]]}}|a script written in [[wikipedia:Lua (programming language)|Lua]]}}.<br/> | + | This template uses '''<includeonly>[[</includeonly>Module:{{ucfirst:{{PAGENAME:{{{1|{{BASEPAGENAME}}}}}}}}}<includeonly>]]</includeonly>''', {{#if:{{{data|}}}|with data stored in [[Module:{{ucfirst:{{PAGENAME:{{{data}}}}}}}]] {{#if:{{{data2|}}}| and [[Module:{{ucfirst:{{PAGENAME:{{{data2}}}}}}}]]}}|a script written in [[wikipedia:Lua (programming language)|Lua]]}}.<br/> |
Please see [[wikipedia:Wikipedia:Lua]] and [[mw:Extension:Scribunto]] to learn more. | Please see [[wikipedia:Wikipedia:Lua]] and [[mw:Extension:Scribunto]] to learn more. | ||
}}<noinclude> | }}<noinclude> |
Revision as of 07:38, 6 May 2017
This template uses Module:Lua, a script written in Lua. Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more. |
Usage
Use on the doc page of templates which use Lua modules.
{{{1}}}
is the module name without namespace, defaulting to {{BASEPAGENAME}}
. If the template uses data stored in a separate module(s) or module subpage(s), this can be noted with {{{data}}}
and {{{data2}}}
.
Disclaimer
Template:Lua is based on minecraft:Template:Lua, which is available under CC BY-NC-SA 3.0.