I'm creating a module, where I want to do this:
{{#invoke:"ModuleName"|"functionName"|param1|param2|param3|...etc}}
to create a list with the parameters. The number of parameters are not fixed. So, if there's 5 parameters, the result should show a list of the 5 items.
I know it can be done with something like for i,v in ipairs(t)
, can anybody show me an example on how its actually done? All modules I can find in Wikia/Wikipedia are too complicated for me!