Module:Arguments/doc

From AEGIS
Revision as of 17:23, 28 March 2024 by Pooka (Pookaw) (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Arguments

Function list
L 13 — tidyValDefault
L 26 — tidyValTrimOnly
L 34 — tidyValRemoveBlanksOnly
L 46 — tidyValNoChange
L 50 — matchesTitle
L 57 — arguments.getArgs
L 199 — mergeArgs
L 299 — translatenext
L 326 — inext

Module:Arguments provides easy processing of arguments passed from #invoke. It is a meta-module, meant for use by other modules, and should not be called from #invoke directly. Its features include:

  • Easy trimming of arguments and removal of blank arguments.
  • Arguments can be passed by both the current frame and by the parent frame at the same time. (More details below.)
  • Arguments can be passed in directly from another Lua module or from the debug console.
  • Arguments are fetched as needed, which can help avoid (some) problems with Template:Tag tags.
  • Most features can be customized.