Search results

View ( | ) (20 | 50 | 100 | 250 | 500)
  • Module:Graph (category Graph, chart and plot templates)
    tonumber(xMax) if not xType then if isInteger then xType = "integer" else xType = "number" end end else if xType then error("Numbers expected...
    43 KB (5,510 words) - 16:23, May 4, 2023
  • "") if (disambiguation == "") then return "" else return disambiguation end end --[[ The main function. --]] local function _main(title) if (not...
    3 KB (412 words) - 23:52, April 16, 2023
  • renderSubheaders() if args.subheader then args.subheader1 = args.subheader end if args.subheaderrowclass then args.subheaderrowclass1...
    16 KB (1,681 words) - 19:34, August 21, 2020
  • Help:Footnotes (category Wikipedia pages with incorrect protection templates) (section Template use by reference group type)
    These predefined note and citation groups have templates that make the wikitext markup simpler. These templates also allow a standard reference to be inserted...
    30 KB (3,025 words) - 20:04, October 13, 2020
  • ipairs(shortcuts) do local templatePath, prefix if templateMode then -- Namespace detection local titleObj = mw.title.new(shortcut, 10) if titleObj.namespace...
    4 KB (559 words) - 08:57, May 2, 2021
  • strippedTemplate end else return self.title.prefixedText end end function Template:getName() if self.template then return self.template else return...
    24 KB (2,873 words) - 20:33, September 2, 2020
  • strip templates from the cs1|2 template if not ref then if template:match ('|%s*ref%s*=([^|}]+)') then -- |ref={{template}} not found; if there...
    37 KB (5,067 words) - 17:13, September 13, 2021
  • Help:CS1 errors (category Wikipedia pages with incorrect protection templates) (section Cite <template> requires |<param>=)
    article. If |access-date= has been included in the citation without |url= then this message appears. If the citation does not use a web link, then |access-date=...
    137 KB (13,198 words) - 13:25, October 24, 2022
  • removed. If this is the case add the cleanup category if not (portallen == #portals) then if #portals == 0 then if trackingEnabled then return...
    7 KB (991 words) - 00:00, September 2, 2020
  • args[ii] if val ~= nil then val = mw.text.unstripNoWiki(val) else break end if _ne(args.nowiki) then val = nw(val) end if italic then val = '<span...
    3 KB (475 words) - 10:10, August 21, 2020
  • 0 if (n > 0) then if (n >= 2) then arguments[n - 1] = v end else ...
    12 KB (1,536 words) - 17:46, September 16, 2020
  • (tscript) then -- when both are specified if title_t[std] then -- and if standard is legitimate if title_t[std][tscript] then ...
    74 KB (10,742 words) - 16:23, May 4, 2023
  • list; else a tally local msg; local category; if not tally then if args.ignore then return ''; -- if ignore is true then no message...
    23 KB (3,211 words) - 17:13, September 13, 2021
  • columnName = names[pos] if columnName == 'name' then name = val else newVal[columnName] = val end end if name then params[name] = newVal...
    6 KB (831 words) - 17:46, September 16, 2020
  • pairs(args) do if type(k) == 'number' then if k > imax then invalid = tostring(k) break end else if not good[k] then invalid...
    31 KB (4,600 words) - 10:11, August 21, 2020
  • the template config. local templateCfgPage = TEMPLATE_ROOT .. template local templateCfg = maybeLoadData(templateCfgPage) if not templateCfg then error(string...
    5 KB (677 words) - 22:14, September 11, 2021
  • quoteRight then title = mw.html.create("span"):wikitext(title) end if quoteLeft then title:css("padding-left", "0.15em") end if quoteRight then title...
    6 KB (666 words) - 14:10, October 23, 2022
  • empty string else. ]=] local function make_label (link, display, suffix) local label = ''; if is_set (link) then if is_set (display) then label =...
    9 KB (1,320 words) - 12:55, September 10, 2020
  • args[1]:match('^%s*(.-)%s*$') or '' if warning == '' then return warning_text(cfg.missing_warning) end if not cfg.preview then return '' end return warning_text(warning)...
    1 KB (212 words) - 22:14, September 11, 2021
  • references if (not onInitialPage) then args.ShortSummary = nil end else if (initiallistTitle == "") then onInitialPage = true else onInitialPage...
    31 KB (3,878 words) - 16:23, May 4, 2023
  • i ) if focus( c ) then if flat( c ) then if j then if m then ...
    23 KB (2,422 words) - 14:48, October 26, 2022
  • textPart if not dontBrace then ret = nw('{{') .. ret .. nw('}}') end if _ne(args.a) then ret = nw('*') .. '&nbsp;' .. ret end if _ne(args.kbd) then ret =...
    4 KB (586 words) - 15:48, October 23, 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
  • least one is present if options.link == '' then options.link = nil end if options.target == '' then options.target = nil end if not (options.link or...
    6 KB (768 words) - 14:10, October 23, 2022
  • code --if args.italic_title then -- return "" --end local article if args.page_test then article = mw.title.new(args.page_test) else article...
    15 KB (2,051 words) - 16:23, May 4, 2023
  • unset else date = udate; end end elseif 'webcite' == ulx.url1.service then if date then if config.verifydates then if ldf then ...
    37 KB (5,179 words) - 08:57, May 2, 2021
  • = 'File:' .. args.file -- Format if args.format then checkArg('format', args.format) if args.formatfile then checkArg('formatfile', args.formatfile)...
    2 KB (363 words) - 10:10, August 21, 2020
  • == "" then sep = ", " end local pattern = ".*" .. sep .. "(.*)" local a, b, last = s:find(pattern) if a then return last else return s end end ...
    12 KB (1,973 words) - 13:25, October 24, 2022
  • entity = mw.wikibase.getEntityObject(qid) if entity then local thisQid if qid then thisQid = qid else thisQid = entity.id end -- Named parameter...
    2 KB (328 words) - 05:37, September 3, 2020
  • end end if #pages == 0 then if options.ifexists then mw.addWarning( string.format( msg.noOutputWarning, options.template or defaults...
    5 KB (576 words) - 14:10, October 23, 2022
  • _ISOyear( input ) if not input then return '' end input = mw.text.trim( input ) -- if empty string then return it if input == "" then return input...
    8 KB (1,377 words) - 19:49, August 21, 2020
  • to zero. If so, -- returns it as a number. If not, returns a default value. val = tonumber(val) if val and val >= 0 then return val else return...
    13 KB (1,817 words) - 19:51, August 21, 2020
  • { known_templates_anchor = known_templates_anchor, known_templates_cs12 = known_templates_cs12, known_templates_harvc = known_templates_harvc, known_templates_vcite...
    12 KB (1,577 words) - 12:20, September 2, 2020
  • Holy Mother (August album) (category Pages using duplicate arguments in template calls)
    of what he ultimately seeks, especially when he has no excuses or anything else to hold onto. Like that evening of April 20, 1992, when David Bowie - at...
    6 KB (852 words) - 22:22, November 3, 2022
  • templates', ['all|template|all|templateeditor|move'] = 'Wikipedia template-protected templates', -- move-protected templates ['all|all|blp|sysop|edit']...
    45 KB (5,039 words) - 14:10, October 23, 2022
  • tidyValDefault(key, val) if type(val) == 'string' then val = val:match('^%s*(.-)%s*$') if val == '' then return nil else return val end else return val...
    10 KB (1,447 words) - 17:46, September 16, 2020
  • -- boolean: true if msg is "false" or starts with n or N if url == '' then if text == '' then if nomsg then return nil else return mw....
    4 KB (641 words) - 16:23, May 4, 2023
  • The 100 (TV series) (category Articles with invalid date parameter in template)
    food and water for three days before finally telling his father. Lincoln was then made to kill the man by his father. This experience of his childhood made...
    26 KB (3,089 words) - 17:34, September 12, 2021
  • body if we aren't substing. if not mw.isSubsting() then if body ~= nil then return body elseif frame.args[BODY_PARAM] ~= nil then return frame.args[BODY_PARAM]...
    4 KB (605 words) - 17:31, October 11, 2021
  • Fringe (TV series) (category Articles with invalid date parameter in template)
    it is unknown if any of these events will come to pass. Back in the present day, Peter creates a bridge between the universes but then he is erased from...
    44 KB (5,802 words) - 07:57, October 8, 2021
  • Hear Me Lord (category Articles with invalid date parameter in template)
    to which Chip Madinger and Mark Easter add: "If the Lord hadn't heard him by now, then there wasn't much else [Harrison] could do to get his ear." Huntley...
    32 KB (3,861 words) - 22:31, November 3, 2022
  • Module:Citation/CS1/styles.css (category Wikipedia pages with incorrect protection templates)
    could write the rule so that when this template is inside references/reflist, only then does it multiply by 0.95; else multiply by 0.85 */ .cs1-format { font-size:...
    3 KB (508 words) - 16:23, May 4, 2023
  • {}).value if propValue == value then if nocatsame == "" then return "[[Category:" .. catbase .. " same as Wikidata]]" -- yay! else return...
    2 KB (238 words) - 19:47, August 31, 2020
  • args[k] = v end end else for k, v in pairs( frame.args ) do if not specialParams[k] then if v == '__DATE__' then v = mw.getConten...
    5 KB (778 words) - 14:10, October 23, 2022
  • limit. if page then local success, pageObject = pcall(mw.title.new, page) if success then return pageObject else return nil end else return...
    6 KB (741 words) - 14:12, August 30, 2020
  • ) local success, titleObj = pcall(mw.title.new, ...) if success then return titleObj else return nil end end function p.redirect(frame) mArguments...
    4 KB (490 words) - 22:15, September 11, 2021
  • navbox_even_part if args[cfg.arg.evenodd] then if args[cfg.arg.evenodd] == cfg.keyword.evenodd_swap then first, second = second, first else first =...
    17 KB (2,482 words) - 16:23, May 4, 2023
  • the URL local url do local title if args.page then title = mw.title.new(args.page) if not title then error(string.format( "'%s' is...
    1 KB (153 words) - 10:11, August 21, 2020
  • collapsible_class = nil if is_collapsible then collapsible_class = cfg.classes.collapsible if not is_plain then is_mini = 1 end if font_color then font_style...
    5 KB (727 words) - 23:35, April 16, 2023
  • hour=0, min=0, sec=0}) if diff < 0 then returnval = 'Invalid date range' else if y1 == y2 then if dmy == false then returnval = pr1 ....
    2 KB (391 words) - 16:23, May 4, 2023
View ( | ) (20 | 50 | 100 | 250 | 500)