Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Lua: Difference between revisions

Template page
Created page with "{{message box | 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 wr..."
 
No edit summary
 
Line 1: Line 1:
{{message box
{{message box
| image = Lua logo.svg
| image = Lua_logo.png
| 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|}}} | &#32;and [[Module:{{ ucfirst: {{PAGENAME:{{{data2}}}}} }}]] }} | a script written in [[wp:Lua|Lua]] }}.<br>{{ #if: {{{data|}}} | These scripts are written in [[wp:Lua|Lua]]. }}
| 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|}}} | &#32;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>{{

Latest revision as of 04:24, 18 June 2025

This template uses Module:Lua, a script written in Lua.
Documentation[view] [edit] [history] [purge]

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.