ಸಹಾಯ:Lua
ಗೋಚರ
WP:Lua Project | WT:Lua Project talk | Modules | Help | To do | Requests | Resources en: m: mw: external |
"Hello world"
[ಬದಲಾಯಿಸಿ]- Module:Bananas: The simplest possible script: say "hello world". Providing a single function with no arguments.
- Module:BananasArgs: Demonstrates how to access and use parameters.
Documentation
[ಬದಲಾಯಿಸಿ]- Scribunto Lua reference manual (Manual for the Mediawiki implementation)
- Programming in Lua (Official book/introduction to Lua)
- Lua tutorials at lua-users.org
How-to guides
[ಬದಲಾಯಿಸಿ]- Help:Lua for beginners
- Wikipedia:Lua style guide – standards to improve the readability of code through consistency
- "What do converted templates look like?" (slideshow)
- Wikipedia:Lua string functions
- Wikipedia:Guide to Scribbling
Testing modules
[ಬದಲಾಯಿಸಿ]- Module:UnitTests - used to power many module unit tests, which are usually found by the name "Module:(your-module-Sample unit tests for the "Hello world" modules:
- Module:Bananas/testcases – Results
- Module:BananasArgs/testcases – Resultsname)
Wikipedia resources
[ಬದಲಾಯಿಸಿ]- Special:PrefixIndex/Module:Sandbox - allows you to work on a set of files within a sandbox prefix.