Search results
Jump to navigation
Jump to search
Page title matches
- This module provides easy processing of arguments passed from #invoke. It is a meta-module, meant for use by other modules, a * Easy trimming of arguments and removal of blank arguments.15 KB (2,375 words) - 11:35, 13 August 2017
Page text matches
- <code>_forSee</code> takes three arguments: a table of trimmed arguments with blanks removed, a "from" number with the index to start at, and an opt ..., using <code>getArgs()</code> from [[Module:Arguments]] to preprocess the arguments.1 KB (222 words) - 11:35, 13 August 2017
- -- Find how we want to format the arguments to the template. -- Build the table of template arguments.1 KB (217 words) - 11:35, 13 August 2017
- local getArgs = require('Module:Arguments').getArgs -- Get the positional arguments from #invoke, remove any nil values,632 bytes (92 words) - 11:35, 13 August 2017
- local mArguments -- Lazily initialise [[Module:Arguments]] mArguments = require('Module:Arguments')1 KB (179 words) - 11:35, 13 August 2017
- -- Helper function that pre-combines display parameters into page arguments. -- The main frame (template definition) takes 1 or 2 arguments, for a singular3 KB (377 words) - 11:35, 13 August 2017
- local origArgs = require('Module:Arguments').getArgs(frame, { -- Copy the arguments that were passed to a new table to avoid looking up2 KB (386 words) - 11:35, 13 August 2017
- This module provides easy processing of arguments passed from #invoke. It is a meta-module, meant for use by other modules, a * Easy trimming of arguments and removal of blank arguments.15 KB (2,375 words) - 11:35, 13 August 2017
- The content shown here was initially generated by [[Module:Citation/CS1/Arguments]] but is now maintained by hand to allow parameters to be assigned one of s536 bytes (82 words) - 11:35, 13 August 2017
- local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke -- Returns an unpacked list of arguments specified with numerical keys.13 KB (1,915 words) - 11:35, 13 August 2017
- ...For example, {{tlx|see also|1|<nowiki>l1=One</nowiki>}} initially has the arguments table <code><nowiki>{'1', ['l1'] = 'One'}</nowiki></code>; this table would3 KB (512 words) - 11:35, 13 August 2017
- mArguments = require('Module:Arguments')735 bytes (89 words) - 11:35, 13 August 2017
- -- functions. These are passed as arguments to the "wrappers" option of -- [[Module:Arguments]].3 KB (364 words) - 11:35, 13 August 2017
- -- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is2 KB (394 words) - 11:35, 13 August 2017
- The <var>args</var> variable is a table of arguments. This corresponds to the parameters accepted by [[Template:Icon]] - please977 bytes (142 words) - 11:35, 13 August 2017
- args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Redirect template/core', valueFunc = local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Redirect template', valueFunc = valu3 KB (467 words) - 11:35, 13 August 2017
- local args = require('Module:Arguments').getArgs(frame, {frameOnly = true}) local args = require('Module:Arguments').getArgs(frame, {frameOnly = true})4 KB (579 words) - 11:35, 13 August 2017
- Populates numbered arguments in a message string using an argument table. local function set_error( error_id, arguments, raw, prefix, suffix )11 KB (1,612 words) - 11:35, 13 August 2017
- ...called using the syntax <code><nowiki>{{#invoke:File link|main|</nowiki>''arguments''<nowiki>}}</nowiki></code>. <var>args</var> is a table of arguments that can have the following keys:4 KB (606 words) - 11:35, 13 August 2017
- local mArguments -- lazily initialise [[Module:Arguments]] -- Fetches the arguments from the parent frame. Whitespace is trimmed and7 KB (844 words) - 11:35, 13 August 2017