Module:Arguments/doc

From Isuzu Vehicross Wiki
Revision as of 18:26, 3 July 2023 by Knigh7s (talk | contribs) (Created page with "{{Documentation|scwShared=true|fromWikipedia=true}} '''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 fr...")
(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.