Scribunto demo
From Notaclue Wiki
| Scribunto | |
|---|---|
| Documentation | |
| 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! |