Wikimedia

Lua Task 2 - Working with modules

Before you work on this task, you should have solved the task "Lua Task 1 - Introduction to Lua in Wikipedia".

You can write your own Lua functions using your module sandbox to try out code. You can then use your user sandbox to call a function from your module sandbox and see how well it works.

Read through and then carry out the instructions at: https://en.wikipedia.org/wiki/User:RexxS/GCI-2019-Task02

You should have added code to your module sandbox and and text to your user sandbox.

Please make sure that you save the page every time you are instructed to. This is very important for two reasons: (1) it allows your mentor to make a spot-check that you have successfully grasped the learning point for that stage; and (2) it helps prevent any copying from or by other students or from previous years work. Your mentor will be able to tell if you have failed to save when requested and will return the task to you to re-do the steps you missed.

When you have finished to your satisfaction, please leave a comment here when you submit your work, and give the urls of your module sandbox and your user sandbox, something like:

https://en.wikipedia.org/wiki/Module:Sandbox/RexxS

https://en.wikipedia.org/wiki/User:RexxS/sandbox

Task tags

  • lua
  • scribunto
  • modules
  • parameters

Students who completed this task

Minorin, maria_2005, Kenan Khan, Juan, methodsolver18561, Yam JJ, piotrbar, RakeshKumar, melody, PMPuns, NicholasG04, Shreeniket987, Sherylleong, Dan1730, 小過兒, Conrad Chung, ActiveTech11, Abdnegm, Harry Noob, Shah Jahan Ishaq, UdayDatar, davnav, SumitKhan, roguxivlo, Shreyansh Suresh Saboo, ๖ۣۜƊαrthǤαndαlf, Melvintong1516, V Shah, BrandonXLF, sashrikap, minhducsun2002, JeremyNguyen, NabhanKhan, RishabhL, ComputerGuy, Ameya, dwu1011, n3rsti, joanna

Task type

  • code Code
close

2019