Module:Arguments/doc: Difference between revisions

From RTGame Wiki
RTGame>Alistair3149
m (1 revision imported)
 
m (1 revision imported)
 

Latest revision as of 16:52, 2 May 2021

Module:Arguments requires Module:LibraryUtil.
Module:Arguments is required by Module:About.
Module:Arguments is required by Module:For.
Module:Arguments is required by Module:Gallery.
Module:Arguments is required by Module:Hatnote.
Module:Arguments is required by Module:Hatnote list.
Module:Arguments is required by Module:Labelled list hatnote.
Module:Arguments is required by Module:List.
Module:Arguments is required by Module:Main.
Module:Arguments is required by Module:Namespace detect.
Module:Arguments is required by Module:NumberSpell.
Module:Arguments is required by Module:Pagetype.
Module:Arguments is required by Module:Parameter names example.
Module:Arguments is required by Module:Redirect.
Module:Arguments is required by Module:Redirect hatnote.
Module:Arguments is required by Module:Shortcut.
Module:Arguments is required by Module:Time ago.

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.