This is the documentation page for Module:Arguments
This is a documentation subpage for 'Module:Arguments'.
It contains usage information, categories, and other content that is not part of the original module page.
Module:Arguments is required by 37 modules.
Module:About, Module:Cards, Module:Cite RSI, Module:Faction, Module:Format link, Module:Gallery, Module:Hatnote list, Module:Hatnote, Module:Helper module, Module:If empty, Module:InfoboxNeue, Module:Issue council, Module:ItemPorts/Vehicle, Module:ItemPorts, Module:ItemVariants, Module:Item, Module:Labelled list hatnote, Module:List, Module:Main, Module:Manufacturer, Module:Mbox, Module:Namespace detect, Module:Navpills, Module:Navplate/Manufacturers, Module:NumberSpell, Module:Pagetype, Module:Parameter names example, Module:Prevnext, Module:Redirect hatnote, Module:Redirect, Module:Shortcut, Module:Template link general, Module:Time ago, Module:Vehicle/sandbox, Module:VehicleHardpoint, Module:VehicleVariants, and Module:Vehicle
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.