Template:Lua: Difference between revisions
From The Blockheads Wiki
FloofyPlasma (talk | contribs) No edit summary Tag: Reverted |
FloofyPlasma (talk | contribs) No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
{{msgbox | {{msgbox | ||
| image = Lua logo.svg | | image = Lua logo.svg | ||
| text = This {{#ifeq:{{NAMESPACENUMBER}}|828|module depends on|template uses}} '''<includeonly>[[</includeonly>Module:{{ucfirst: {{PAGENAME:{{{1|{{#ifeq:{{SUBPAGENAME}}|doc|{{BASEPAGENAME}}|{{PAGENAME}}}}}}}}} }}<includeonly>]]</includeonly>''', {{ #if: {{{data|}}} | with data stored in [[Module:{{ ucfirst: {{PAGENAME:{{{data}}}}} }}]]{{ #if: {{{data2|}}} |  and [[Module:{{ ucfirst: {{PAGENAME:{{{data2}}}}} }}]] }} | a script written in [[wp | | text = This {{#ifeq:{{NAMESPACENUMBER}}|828|module depends on|template uses}} '''<includeonly>[[</includeonly>Module:{{ucfirst: {{PAGENAME:{{{1|{{#ifeq:{{SUBPAGENAME}}|doc|{{BASEPAGENAME}}|{{PAGENAME}}}}}}}}} }}<includeonly>]]</includeonly>''', {{ #if: {{{data|}}} | with data stored in [[Module:{{ ucfirst: {{PAGENAME:{{{data}}}}} }}]]{{ #if: {{{data2|}}} |  and [[Module:{{ ucfirst: {{PAGENAME:{{{data2}}}}} }}]] }} | a script written in [[wp:Lua|Lua]] }}.<br>{{ #if: {{{data|}}} | These scripts are written in [[wp:Lua|Lua]]. }} | ||
}}<includeonly>{{ | }}<includeonly>{{ | ||
#if: {{{nocat|}}} | #if: {{{nocat|}}} |
Latest revision as of 16:08, 6 August 2024
This template uses Module:Lua, a script written in Lua.
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] [refresh]The above documentation is transcluded from Template:Lua/doc.