Module:Arguments/doc: Difference between revisions

From the Dyson Sphere Program Wiki
(deprecate Template:Wikipedia template, mark as SCW shared)
 
m (1 revision imported: New Files)
 

Latest revision as of 11:54, 24 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 <ref>...</ref> tags.
  • Most features can be customized.
🍪 We use cookies to keep session information to provide you a better experience.