Module:Arguments/doc: Difference between revisions

From AEGIS
(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...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:23, 28 March 2024

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.