Template:Lua: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Undo revision 1672584 by Thomanski (talk) bad constrast
m 35 revisions imported
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{msgbox
{{msgbox
| image = Lua logo.svg
| image = Lua logo.svg
| 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|}}} | &#32;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.
| 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>nocat = 1</includeonly>
}}<includeonly>{{
}}<includeonly>{{
#if: {{{nocat|}}}
#if: {{{nocat|}}}
|
|
| {{#ifeq: {{SUBPAGENAME}} | doc
| {{#switch: {{SUBPAGENAME}}  
  |
  | doc | sandbox | testcases =
   | {{#switch: {{NAMESPACENUMBER}}
   | {{#switch: {{NAMESPACENUMBER}}
     | 0 | 10 = [[Category:Lua-based templates]]
     | 0 | 10 = [[Category:Lua-based templates]]
Line 14: Line 13:
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwikis on the documentation page -->
</noinclude>

Latest revision as of 11:33, 4 July 2024

This template uses Module:Lua, a script written in Lua.
[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.