Template:Lua: Difference between revisions

w>RMCD bot
Removing notice of move discussion
 
m 1 revision imported: Bunch of templates and modules for testing crafting UI
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude>
{{message box
{{Lua|Module:Lua banner}}
| 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|}}} | &#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>{{
#if: {{{nocat|}}}
|
| {{#switch: {{SUBPAGENAME}}
  | doc | sandbox | testcases =
  | {{#switch: {{NAMESPACENUMBER}}
    | 0 | 10 = [[Category:Lua-based templates]]
    }}
  }}
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
<!-- Put categories/interwikis on the documentation page -->
</noinclude>
</noinclude>