Formats multiple numbered arguments and outputs them in order, etc.
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
| This module depends on the following other modules: |
| Description | Formats multiple numbered arguments and outputs them in order, etc. |
|---|---|
| Status | Alpha |
| Updated | June 5, 2026 (2 months ago) |
| Dependencies |
Formats multiple numbered arguments and outputs them in order, etc.
This module allows for formatting of multiple numbered arguments together in an output string.
Syntax:
\n) will insert the relevant character into the output.| Sequence | Result |
|---|---|
\{
|
{
|
\}
|
}
|
\[
|
[
|
\]
|
]
|
\p
|
|
|
\e
|
=
|
\_
|
|
multiformat._all( pargs, cargs ) (function)pargs The arguments from the template call (table)cargs The arguments from the module call (table)
cargs.startAll the beginning formatting string sequence (string)cargs.endAll the ending formatting string sequence (string)cargs.format the format string (string)cargs.nowiki Whether the arguments are encased in nowiki tags (boolean)cargs.empty The message to give if no arguments are specified (string)multiformat.all( frame ) (function)frame calling frame (Frame){{#invoke:Multiformat|all|startAll=start|endAll=end|format=String with %ARG% to replace with current arguments and %ARGNAME% to replace with name of argument}}multiformat._named( pargs, cargs ) (function)pargs The arguments from the template call (table)cargs The arguments from the module call (table)
cargs.startAll the beginning formatting string sequence (string)cargs.endAll the ending formatting string sequence (string)cargs.format the format string (string)cargs.nowiki Whether the arguments are encased in nowiki tags (boolean)cargs.empty The message to give if no arguments are specified (string)multiformat.named( frame ) (function)frame calling frame (Frame){{#invoke:Multiformat|named|startAll=start|endAll=end|format=String with %ARG% to replace with current arguments and %ARGNAME% to replace with name of argument}}multiformat._main( pargs, cargs ) (function)pargs The arguments from the template call (table)cargs The arguments from the module call (table)
cargs.startAll the beginning formatting string sequence (string)cargs.endAll the ending formatting string sequence (string)cargs.format the format string (string)cargs.firstArg the first numbered argument to begin formatting (number)cargs.prefix the argument prefix (string)cargs.suffix the argument suffix (string)cargs.nowiki Whether the arguments are encased in nowiki tags (boolean)cargs.empty The message to give if no arguments are specified (string)multiformat.main( frame ) (function)frame calling frame (Frame){{#invoke:Multiformat|main|startAll=start|endAll=end|format=String with %ARG% to replace with current arguments|firstArg=number of first arg}}multiformat._nArgs( pargs, cargs ) (function)multiformat.nArgs( frame ) (function)frame calling frame (Frame){{#invoke:Multiformat|nArgs}}Documentation above is auto generated
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.