Template:Lua: Difference between revisions
m 1 revision imported: Should import Module:Message box #2 |
m 1 revision imported: Bunch of templates and modules for testing crafting UI |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | {{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 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}} | ||
<!-- | <!-- Put categories/interwikis on the documentation page --> | ||
</noinclude> | </noinclude> |