Scribunto demo

From Notaclue Wiki
Extension demonstration (infobox template)
Scribunto
Documentation

on mediawiki.org

Maintained by WikiTeq?

No

Bundled Since version 1.34
Version

This wiki has the Scribunto extension installed, which allows "modules" to be defined using the Lua scripting language. Modules can provide all of the functionality of templates and more!

See an example at Module:Scribunto demo and Template:Scribunto demo wrapper of very basic usage:

Wikitext input Result
{{#invoke:Scribunto demo|hello}} Hello, world!
{{#invoke:Scribunto demo|helloTo}} Hello to no one in particular...
{{#invoke:Scribunto demo|helloTo|John}} Hello, John!
{{#invoke:Scribunto demo|helloTemplate}} Hello [through template] to no one in particular...
{{#invoke:Scribunto demo|helloTemplate|John}} Hello [through template] to no one in particular...
{{Scribunto demo wrapper}} Hello [through template] to no one in particular...
{{Scribunto demo wrapper|John}} Hello [through template], John!
Cookies help us deliver our services. By using our services, you agree to our use of cookies.