Module:Arguments/doc: Difference between revisions

Content deleted Content added
m change source to syntaxhighlight
Tag: Reverted
→‎Basic use: add some headers
Tag: Reverted
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.