Difference between revisions of "Template:Lua"
From BESA® Wiki
m (45 revisions) |
(Magic words are case-sensitive) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | {{msgbox |
− | {{ | + | | 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|}}} |  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. | ||
+ | | <includeonly>nocat = 1</includeonly> | ||
+ | }}<includeonly>{{ | ||
+ | #if: {{{nocat|}}} | ||
+ | | | ||
+ | | {{#ifeq: {{SUBPAGENAME}} | doc | ||
+ | | | ||
+ | | {{#switch: {{NAMESPACENUMBER}} | ||
+ | | 0 | 10 = [[Category:Lua-based templates]] | ||
+ | }} | ||
+ | }} | ||
+ | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
− | <!-- | + | <!-- Put categories/interwiki on the documentation page --> |
− | + |
Revision as of 06:55, 23 January 2016
This template uses Module:Lua, a script written in Lua. Please see wp:Lua and mw:Extension:Scribunto to learn more. |
Script error