Search results
Jump to navigation
Jump to search
- ['Module:String'] = 'Lua String-based templates', ['Module:Math'] = 'Templates based on the Math Lua module', ['Module:BaseConvert'] = 'Templates based2 KB (298 words) - 15:11, 15 August 2014
- to replace a target string or pattern within another string. Usage: {{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}8 KB (1,111 words) - 12:55, 28 August 2014
- Module:String (category Lua metamodules)to replace a target string or pattern within another string. Usage: {{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}15 KB (2,237 words) - 15:12, 15 August 2014
- Template documentation[view] [edit] [history] [purge] A template to produce multiple non-breaking spaces (" "s). Syntax {{spaces|N}} ...... to produce122 bytes (117 words) - 15:12, 15 August 2014
- onds/60)/60) return string.format( "%." .. precision .. "f", decimal ) -- not tonumber since this whole thing is string based. end --[[ Checks input20 KB (2,746 words) - 15:50, 6 October 2014
- "/" or the end of the string. '^Wikipedia:Cascade%-protected items%f[/\0]', '^User:UBX%f[/\0]', -- The userbox "template" space. '^User talk:UBX%f[/\0]'732 bytes (92 words) - 15:11, 15 August 2014
- for Lua module pages. cfg['module-pagetype'] = 'module' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules18 KB (2,172 words) - 09:11, 6 October 2014
- original string. If <offset> is longer than <string> then this returns an empty string. If <offset> is invalid, empty or undefined, this template goes berserk341 bytes (150 words) - 11:58, 18 August 2014
- ' editing it', }, template = { description = 'For [[Wikipedia:High-risk templates|high-risk]]' .. ' templates and Lua modules.', text = 'This43 KB (4,814 words) - 09:11, 6 October 2014
- tostring(number_string) elseif type(number_string) ~= 'string' or not number_string:find('%S') then -- We were passed a non-string or a blank string, so exit12 KB (1,862 words) - 15:14, 15 August 2014
- ory2') if type(subpage) == 'string' then subpage = mw.ustring.lower(subpage) end if type(category2) == 'string' then subpage = mw.ustring.lower(category2)8 KB (836 words) - 15:11, 15 August 2014
- e.g. |category=Lua String-based templates. Some modules have a default category other than Category:Lua-based templates: Module:String has the default2 KB (212 words) - 14:26, 25 August 2014
- e.g. |category=Lua String-based templates. Some modules have a default category other than Category:Lua-based templates: Module:String has the default196 bytes (218 words) - 15:11, 15 August 2014
- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page' -- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module36 KB (4,229 words) - 09:11, 6 October 2014
- Return value as a string or a table: -- * If result is a string, there is no fraction, and the result -- is value formatted as a string of en digits.115 KB (18,074 words) - 15:14, 15 August 2014
- → 1640 {{max|100+10|300+30|200+20}} → 330 This is the TemplateData documentation for this template used by VisualEditor and other tools. Max Evaluates and89 bytes (110 words) - 15:14, 15 August 2014
- Template documentation[view] [edit] [history] [purge] Evaluates and returns the minimum of a list of numeric values. The parameters can be numeric expressions89 bytes (133 words) - 15:14, 15 August 2014
- list}} {{unbulleted list}} Module:Br separated entries, the Lua module on which this template is based.116 bytes (116 words) - 15:12, 15 August 2014
- error-message text in red (visible for the user). It is used by other templates to signal an error, for example invalid input, which can then either be102 bytes (281 words) - 11:39, 18 August 2014
- alpha-2 or ISO 3166-2 region code can often be determined automatically, based on the location_country= parameter. To override the automatic value, use14 KB (967 words) - 15:11, 15 August 2014