Search results

View (previous 50 | ) (20 | 50 | 100 | 250 | 500)
  • to replace a target string or pattern within another string. Usage: {{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}...
    18 KB (2,750 words) - 10:10, August 21, 2020
  • ['Module:String'] = 'Templates based on the String Lua module', ['Module:Math'] = 'Templates based on the Math Lua module', ['Module:BaseConvert']...
    4 KB (479 words) - 14:10, October 23, 2022
  • Module:Citation/CS1 (category Templates using TemplateStyles)
    byte ASCII characters use the string library functions f.gsub = string.gsub f.match = string.match f.sub = string.sub else --...
    209 KB (29,658 words) - 16:23, May 4, 2023
  • conds/60)/60) return string.format( "%." .. precision .. "f", decimal ) -- not tonumber since this whole thing is string based. end --[[ Checks input...
    23 KB (3,266 words) - 11:51, August 21, 2020
  • for Lua module pages. cfg['module-pagetype'] = 'module' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules...
    17 KB (2,082 words) - 15:42, September 12, 2022
  • local function move_hiding_templatestyles(args) local gfind = string.gfind local gsub = string.gsub local templatestyles_markers = {} local strip_marker_pattern...
    17 KB (2,482 words) - 16:23, May 4, 2023
  • ' editing it', }, template = { description = 'For [[Wikipedia:High-risk templates|high-risk]]' .. ' templates and Lua modules', text = 'This...
    45 KB (5,039 words) - 14:10, October 23, 2022
  • of calls. For convenience, such combinations could be wrapped into new templates that serve a specific need. See also the section on common use cases below...
    1 KB (985 words) - 14:23, September 2, 2020
  • Module:Documentation (category Templates using TemplateStyles)
    'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page' -- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module...
    34 KB (3,996 words) - 14:10, October 23, 2022
  • is "/" 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]'...
    761 bytes (96 words) - 10:11, August 21, 2020
  • end -- The following function parses a format string. -- -- The example below shows how a parsed string is structured in memory. -- Variables other than...
    67 KB (8,869 words) - 15:02, October 24, 2022
  • uncategorized_subpages, templates_using_volume = templates_using_volume, templates_using_issue = templates_using_issue, templates_not_using_page = templates_not_using_page...
    95 KB (12,388 words) - 16:23, May 4, 2023
  • "yes" then discussion_text = string.format("%sat [[%s]]", discussion_text, frame.args["2"]) else discussion_text = string.format("%son the [[%s|talk page]]"...
    7 KB (908 words) - 15:44, October 23, 2022
  • -------------- -- String replacement that ignores part of the string in "..." local function strReplace(String, old, new) if String:find('"') then local...
    16 KB (2,154 words) - 19:49, August 21, 2020
  • specific uses in template subpages and unusable as languages. --]] or string.find(subpage, "^[%l][%-%d%l]*[%d%l]$") ~= nil and string.find(subpage...
    12 KB (1,536 words) - 17:46, September 16, 2020
  • these: valid date string in df format - wayback date is valid (including the text string 'index' when date is '/*/') empty string - wayback date is malformed...
    37 KB (5,179 words) - 08:57, May 2, 2021
  • 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 exit...
    14 KB (2,185 words) - 16:23, May 4, 2023
  • 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) - 10:11, August 21, 2020
  • if count > 0 then if string.find(birthsplit[count], "^%d") then birth = birthsplit[count] elseif string.find(birthsplit[count], "BCE")...
    29 KB (4,267 words) - 23:19, September 10, 2020
  • then style = string.format( '%s;border:0;background-color:%s', style, color ) else style = string.format( '%s;border-width:%spx...
    21 KB (2,515 words) - 21:54, August 29, 2020
  • 'cvt_xxx' (string used as a key to get message info) -- mcode[2] = 'parm1' (string to replace '$1' if any in message) -- mcode[3] = 'parm2' (string to...
    132 KB (20,570 words) - 19:38, August 21, 2020
  • Template:Use mdy dates (category Lua-based templates) (section Auto-formatting citation template dates)
    monthly parameter usage report for this template based on this TemplateData. TemplateData for Use mdy dates This template should be placed near the top of articles...
    406 bytes (699 words) - 16:23, May 4, 2023
  • local class = "[%a%d_',%.%-%(%)%*/–]" local regex = "^%u"..string.rep(class, 3)..string.rep(class.."?", 56).."$" if not mw.ustring.match( id2, regex...
    44 KB (6,870 words) - 12:20, September 2, 2020
  • Template:Mojo title (category Templates based on the String Lua module)
    title= Avatar }} Output: Avatar at Box Office Mojo Similar film title templates: {{IMDb title}} {{AllMovie title}} {{TCMDb title}} {{AFI film}} {{BFI}}...
    1 KB (355 words) - 07:17, October 17, 2020
  • Template:Cite encyclopedia (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    166 bytes (7,550 words) - 20:00, September 23, 2020
  • Template:Cite interview (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    161 bytes (6,709 words) - 20:00, September 23, 2020
  • Template:Metacritic film (category Lua-based templates) (section No ID in template or Wikidata)
    monthly parameter usage report for this template based on this TemplateData. TemplateData for Metacritic film This template displays an external link to a film...
    690 bytes (384 words) - 07:20, October 17, 2020
  • Template:Cite newsgroup (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    128 bytes (5,420 words) - 20:00, September 23, 2020
  • Template:Cite ssrn (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    123 bytes (6,888 words) - 20:01, September 23, 2020
  • Template:Pp (category Lua-based templates) (section TemplateData)
    see a monthly parameter usage report for this template based on this TemplateData. TemplateData for Pp Produces banners to describe why a page is protected...
    76 bytes (379 words) - 02:16, September 4, 2020
  • Template:Infobox (category Lua-based templates)
    version of this template that has been modified to work on other MediaWikis. Module:Infobox, the Lua module on which this template is based Module:Check for...
    340 bytes (2,986 words) - 19:31, August 21, 2020
  • Template:Cite sign (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    124 bytes (6,567 words) - 20:01, September 23, 2020
  • Template:Infobox person (category Lua-based templates) (section Sub-templates)
    other templates call this one and many templates redirect here. The following templates are suitable for use as a "module" in this one: Templates in Category:Biographical...
    11 KB (1,581 words) - 19:39, August 21, 2020
  • Template:Cite web (category Templates based on the Citation/CS1 Lua module) (section Choosing between Template:cite web and Template:cite news)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    122 bytes (8,313 words) - 10:11, August 21, 2020
  • Template:Rotten Tomatoes (category Lua-based templates) (section TemplateData)
    monthly parameter usage report for this template based on this TemplateData. TemplateData for Rotten Tomatoes This template generates an external link to a page...
    2 KB (547 words) - 07:25, October 17, 2020
  • Template:Cite news (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    123 bytes (7,582 words) - 23:59, September 1, 2020
  • Template:TCMDb title (category Lua-based templates) (section No ID in template or Wikidata)
    monthly parameter usage report for this template based on this TemplateData. TemplateData for TCMDb title This template displays an external link to a web page...
    765 bytes (567 words) - 07:11, October 17, 2020
  • Template:Cite AV media (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    this template based on this TemplateData. TemplateData for Cite AV media This template formats a citation to audiovisual media sources. This template produces...
    132 bytes (7,121 words) - 22:05, April 3, 2021
  • Template:AllMovie title (category Lua-based templates) (section TemplateData)
    monthly parameter usage report for this template based on this TemplateData. TemplateData for AllMovie title This template displays an external link to a page...
    1 KB (549 words) - 07:14, October 17, 2020
  • Template:Cite book (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    200 bytes (8,773 words) - 10:11, August 21, 2020
  • Template:Cite podcast (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    126 bytes (6,532 words) - 20:01, September 23, 2020
  • Template:Cite episode (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    126 bytes (6,490 words) - 20:00, September 23, 2020
  • Template:Infobox television episode (category Lua-based templates) (section TemplateData)
    creates a short description based on the data provided to the infobox. For more information on this, see the documentation at Template:Television episode short...
    5 KB (876 words) - 23:35, April 16, 2023
  • Template:Cite AV media notes (category Templates based on the Citation/CS1 Lua module)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    189 bytes (6,667 words) - 13:25, October 24, 2022
  • Template:Infobox television (category Lua-based templates) (section TemplateData)
    be reliably sourced --> | creator = | based_on = <!-- {{Based on|work|author}} --> | inspired_by = <!-- {{Based on|work|author}} --> | developer = | writer...
    7 KB (992 words) - 16:23, May 4, 2023
  • Template:Cite mailing list (category Templates based on the Citation/CS1 Lua module)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    130 bytes (5,932 words) - 20:00, September 23, 2020
  • Template:IMDb title (category Lua-based templates) (section TemplateData)
    monthly parameter usage report for this template based on this TemplateData. TemplateData for IMDb title This is a template to generate links to Internet Movie...
    2 KB (1,159 words) - 16:23, May 4, 2023
  • Template:Infobox film (category Lua-based templates) (section TemplateData)
    | director = | producer = | writer = | screenplay = | story = | based_on = <!-- {{Based on|title of the original work|creator of the original work|additional...
    5 KB (1,899 words) - 18:29, October 30, 2022
  • `skiplist` * @param {string} str * @param {string} start * @param {string} end * @param {(string[]|string)} [skiplist] * @returns {String[]} */ splitWeightedByKeys:...
    159 KB (19,190 words) - 20:32, August 30, 2020
  • Template:Cite thesis (category Templates based on the Citation/CS1 Lua module) (section TemplateData)
    (print version 25 September) Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that...
    125 bytes (6,673 words) - 20:01, September 23, 2020
View (previous 50 | ) (20 | 50 | 100 | 250 | 500)