Anonymous user
Module:Arguments/doc: Difference between revisions
From The Kodiak Republic Wiki
→Basic use: add some headers
m (change source to syntaxhighlight) |
(→Basic use: add some headers) |
||
Line 31:
</syntaxhighlight>
=== Recommended practice ===
However, the recommended practice is to use a function just for processing arguments from #invoke. This means that if someone calls your module from another Lua module you don't have to have a frame object available, which improves performance.
Line 49 ⟶ 50:
</syntaxhighlight>
=== Multiple functions ===
If you want multiple functions to use the arguments, and you also want them to be accessible from #invoke, you can use a wrapper function.
|