Template:Lua: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
make the links more robust
m 35 revisions imported
 
(29 intermediate revisions by 10 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>''', a script written in the [[wikipedia:Lua (programming language)|Lua programming language]]{{ #if: {{{data|}}} | , with data values stored in [[Module:{{ ucfirst: {{PAGENAME:{{{data}}}}} }}]] }}. Please see [[wp:Lua]] and [[mw:Extension:Scribunto]] to learn more about 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>nocat = 1</includeonly>
}}<includeonly>{{
}}<includeonly>{{
#if: {{{nocat|}}}
#if: {{{nocat|}}}
|
|
| {{#ifeq: {{SUBPAGENAME}} | doc
| {{#switch: {{SUBPAGENAME}}  
   |
  | doc | sandbox | testcases =
  | [[Category:Lua-based templates]]
   | {{#switch: {{NAMESPACENUMBER}}
    | 0 | 10 = [[Category:Lua-based templates]]
    }}
   }}
   }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{/doc}}
{{documentation}}
<!-- 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.