Template:Lua: Difference between revisions
Mastergalen (talk | contribs) m (1 revision) |
FantasyTeddy (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{msgbox | {{msgbox | ||
| | | icon = code | ||
| text = This template uses '''<includeonly>[[</includeonly>Module:{{{1|{{BASEPAGENAME}}}}}<includeonly>]]</includeonly>''', a script written in | | text = 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>{{ #if: {{{data|}}} | These scripts are written in [[wikipedia:Lua (programming language)|Lua]]. }} Please see [[wp:Lua]] and [[mw:Extension:Scribunto]] to learn more. | ||
| <includeonly>nocat = 1</includeonly> | |||
}}<includeonly>{{ | }}<includeonly>{{ | ||
#if: {{{nocat|}}} | #if: {{{nocat|}}} | ||
Line 10: | Line 11: | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{ | {{documentation}} | ||
<!-- Put categories/interwiki on the documentation page --> |
Latest revision as of 17:35, 1 August 2015
This template uses Module:Lua, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.
Please see wp:Lua and mw:Extension:Scribunto to learn more.
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}}}
.
Automatically adds the template page to Category:Lua-based templates. Set {{{nocat}}}
to prevent this.
[view | edit | history | purge]The above documentation is transcluded from Template:Lua/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.