Lua: Difference between revisions
No edit summary |
convert to new template |
||
| Line 1: | Line 1: | ||
{{Feature | {{Feature | ||
| | |image=QB cube.svg | ||
|imgdesc=QualityBox | |||
| | |feature title=Lua | ||
| | |||
}} | }} | ||
{{#set:feature description = Lua is used to give template authors more functionality than available through [[Parser functions]]. The debate to use [[JavaScript]] or [[Lua]] was settled in 2012. Lua can be used to analyze data, calculate expressions, and format results using functions stored in so-called 'modules' in the wiki. }} | |||
{{#set:feature notes = }} | |||
{{#set:feature tests = }} | |||
{{#set:feature examples = }} | |||
Lua is a programming language that is now available, via the [https://www.mediawiki.org/wiki/Extension:Scribunto Scribunto MediaWiki extension], on the English Wikipedia (and on this wiki). Lua code can now be embedded into wiki templates by employing the "<nowiki>{{#invoke:}}</nowiki>" functionality of the Scribunto MediaWiki extension. | Lua is a programming language that is now available, via the [https://www.mediawiki.org/wiki/Extension:Scribunto Scribunto MediaWiki extension], on the English Wikipedia (and on this wiki). Lua code can now be embedded into wiki templates by employing the "<nowiki>{{#invoke:}}</nowiki>" functionality of the Scribunto MediaWiki extension. | ||
| Line 13: | Line 15: | ||
[[Category:Programming]] | [[Category:Programming]] | ||
[[Category: | [[Category:Wiki]] | ||