Search results
Jump to navigation
Jump to search
Create the page "Arguments" on this wiki! See also the search results found.
Page title matches
- -- This module provides easy processing of arguments passed to Scribunto from local arguments = {}10 KB (1,546 words) - 17:34, 30 December 2016
Page text matches
- -- Find how we want to format the arguments to the template. -- Build the table of template arguments.1 KB (217 words) - 17:34, 30 December 2016
- -- This module provides easy processing of arguments passed to Scribunto from local arguments = {}10 KB (1,546 words) - 17:34, 30 December 2016
- local origArgs = require('Module:Arguments').getArgs(frame, { -- Copy the arguments that were passed to a new table to avoid looking up2 KB (386 words) - 17:34, 30 December 2016
- mArguments = require('Module:Arguments')735 bytes (89 words) - 17:34, 30 December 2016
- -- 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) - 17:41, 30 December 2016
- local args = require('Module:Arguments').getArgs(frame)1 KB (152 words) - 17:41, 30 December 2016
- local mArguments -- lazily initialise [[Module:Arguments]] -- Fetches the arguments from the parent frame. Whitespace is trimmed and7 KB (843 words) - 17:34, 30 December 2016
- -- Check whether the category suppression arguments indicate we -- Find if categories are suppressed by either the arguments or by8 KB (937 words) - 17:34, 30 December 2016
- ...<code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded.<br/>2 KB (234 words) - 15:29, 15 January 2017
- -- Structures arguments into a table for stringification, & options -- Produces a "For X, see [[Y]]" string from arguments. Expects index gaps7 KB (880 words) - 17:34, 30 December 2016
- -- Transclude {{page |....}} with template arguments the same as the ones passed to {{autotranslate}} template. -- list all input arguments of the template that calls "{{#invoke:Fallback|showTemplateArguments}}"5 KB (819 words) - 15:29, 15 January 2017
- -- Returns a table containing the numbers of the arguments that exist -- Blank arguments are treated as nil to match the behaviour of ParserFunctions.13 KB (1,438 words) - 17:34, 30 December 2016
- local mArguments = require('Module:Arguments') -- Copy all the arguments to a new table, for faster indexing.5 KB (751 words) - 17:34, 30 December 2016
- getArgs = require('Module:Arguments').getArgs2 KB (348 words) - 17:34, 30 December 2016
- local getArgs = require('Module:Arguments').getArgs -- @args - table of arguments passed by the user36 KB (4,454 words) - 17:34, 30 December 2016
- -- [[Module:Arguments]]. --6 KB (537 words) - 17:34, 30 December 2016
- ...autotranslate}} just allowing an unlimited number of arguments, even named arguments. It's doing Magic! No arguments should be passed to {{#invoke:}}17 KB (2,189 words) - 15:29, 15 January 2017
- -- All kind of strange stuff with the arguments is done, so play safe and make a copy -- Arguments that are localized (i.e. the user passed 1desc-en=English description of p21 KB (2,262 words) - 15:29, 15 January 2017
- -- Set the arguments, and remove all blank arguments except for the ones getArgs = require('Module:Arguments').getArgs16 KB (2,356 words) - 17:34, 30 December 2016
- -- possible just by using parameters. Functions take two arguments, the -- protection object and the template arguments, and they must output a string.46 KB (5,536 words) - 17:34, 30 December 2016