Template:Lua: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
m 35 revisions imported
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{msgbox
{{msgbox
| bgcol = #add8e6
| 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 15: 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.