Difference between revisions of "Template:Lua"

From Minetest Wiki
Jump to navigation Jump to search
m (Added languages box)
m (Added doc template)
 
Line 1: Line 1:
<noinclude>{{Languages}}</noinclude>{{mbox
+
{{mbox
 
|image=[[File:Lua logo.png|25px|link=]]
 
|image=[[File:Lua logo.png|25px|link=]]
 
|type=notice
 
|type=notice
Line 6: Line 6:
 
Please see [[wikipedia:Wikipedia:Lua]] and [[mw:Extension:Scribunto]] to learn more.
 
Please see [[wikipedia:Wikipedia:Lua]] and [[mw:Extension:Scribunto]] to learn more.
 
}}<noinclude>
 
}}<noinclude>
 +
{{Documentation|content=
 +
{{Languages}}
 +
 
== Usage ==
 
== Usage ==
 
Use on the doc page of templates which use Lua modules.
 
Use on the doc page of templates which use Lua modules.
Line 15: Line 18:
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 07:10, 14 May 2017

Lua logo.png This template uses Module:Lua, a script written in Lua.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.
Documentation icon.png Documentation
Languages Language: English • Bahasa Melayu

Usage

Use on the doc page of templates which use Lua modules.

{{{1}}} is the module name without namespace, defaulting to {{BASEPAGENAME

. If the template uses data stored in a separate module(s) or module subpage(s), this can be noted with {{{data}}} and {{{data2}}}.

Disclaimer

Template:Lua is based on minecraft:Template:Lua, which is available under CC BY-NC-SA 3.0. }}