Wikipedia:Lua
Appearance
WP:Lua | (talk) | Help | To do | Resources | Reference manual |
- Project subpages (mw:Lua – index at www.mediawiki.org)
This is an information page. It is not one of Wikipedia's policies or guidelines, but rather intends to describe some aspect(s) of Wikipedia's norms, customs, technicalities, or practices. It may reflect varying levels of consensus and vetting. |
Subject namespaces | Talk namespaces | ||
---|---|---|---|
0 | (Main/Article) | Talk | 1 |
2 | User | User talk | 3 |
4 | Wikipedia | Wikipedia talk | 5 |
6 | File | File talk | 7 |
8 | MediaWiki | MediaWiki talk | 9 |
10 | Template | Template talk | 11 |
12 | Help | Help talk | 13 |
14 | Category | Category talk | 15 |
100 | Portal | Portal talk | 101 |
118 | [[Wikipedia:Drafts|]] | 119 | |
710 | TimedText | TimedText talk | 711 |
828 | Module | Module talk | 829 |
Deprecated | |||
2300 | [[Wikipedia:Gadget|]] | 2301 | |
2302 | [[Wikipedia:Gadget|]] | 2303 | |
-1 | Special | ||
-2 | Media |
Lua waa luqadda barnaamijka oo laga heli karo Scribunto MediaWiki extension ee Wikipedia. Lambarka Lua hadda waxaa lagu dari karaa qaab-dhismeedka wiki iyadoo la shaqaaleysiinayo faylka "{{#invoke:}}" shaqaynta Scribunto. Fidintaani waxay taageertaa Lua 5.1 Template:Sida.
Lua koodhka isha waxaa lagu kaydiyaa bogag la yiraahdo modules (tusaale., Module:Example). Cutubyadan shaqsiyeedka ah ayaa markaa lagu yeerayaa (koodh {{#invoke:<Module name>|<Function name>|(optional) param1 | param2...}}
). Tusaale:
Wikitext | Result |
---|---|
{{#invoke:Example|hello}}
|
Hello World! |