Wikipedia:Lua

Ka Wikipedia
Lua-Logo.svg WP:Lua (talk) Help To do Resources Reference manual  
Wikipedia data structure
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 Gadget Gadget talk 2301
2302 Gadget definition Gadget definition talk 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!