Difference between revisions of "Template:Lua"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (SVG -> PNG since SVG can't be uploaded)
m (Fixed documentation)
 
Line 9: Line 9:
   | [[Category:Lua-based templates]]
   | [[Category:Lua-based templates]]
   }}
   }}
}}</includeonly><includeonly>
}}</includeonly><noinclude>
{{documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 17:55, 8 March 2015

Lua logo.png This template uses Module:Lua, a script written in Lua.
Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more.
Template-info.png Documentation

Designed to be put on the doc page of templates which use lua modules. It also adds them to Category:Lua-based templates.

Parameters[edit]

  • {{{1}}}: 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}}}.
  • nocat: Disable page being automatically added to Category:Lua-based templates

The above documentation is transcluded from Template:Lua/doc. (edit | history)