Search results

View (previous 20 | ) (20 | 50 | 100 | 250 | 500)
  • function renderTrackingCategories() if args.decat == 'yes' then return end if args.child == 'yes' then if args.title then root:wikitext( '[[Category:Pages...
    20 KB (2,611 words) - 23:35, April 16, 2023
  • Module:Citation/CS1 (category Templates using TemplateStyles)
    title_type) if utilities.is_set (title_type) then if 'none' == cfg.keywords_xlate[title_type] then title_type = ''; -- if |type=none then type...
    209 KB (29,658 words) - 16:23, May 4, 2023
  • end end if result == nil then if nomatch == nil then return str._error( 'Match not found' ) else return nomatch end else return result...
    18 KB (2,750 words) - 10:10, August 21, 2020
  • Module:Message box (category Templates using TemplateStyles)
    cfg -- Add template categories. if cfg.templateCategory then if cfg.templateCategoryRequireName then if self.isTemplatePage then self:addCat(10...
    18 KB (2,367 words) - 14:10, October 23, 2022
  • '] else -- Deal with regular protection types. local images = obj._cfg.images if images[action] then if images[action][level] then ...
    25 KB (3,007 words) - 14:10, October 23, 2022
  • 0; if strong then if lat_d < 0 then table.insert(errors, {source, "latitude degrees < 0 with hemisphere flag"}) end if long_d < 0 then table...
    23 KB (3,266 words) - 11:51, August 21, 2020
  • shortname = false end else label, islabel = labelOrId(id) end if mw.site.siteName ~= "Wikimedia Commons" then if sitelink then if not (dtxt or shortname)...
    135 KB (17,493 words) - 19:47, August 21, 2020
  • == 'include')) then -- just return if redlinks is not "yes" or similar if trackingEnabled then if portals[2] or portals[3] then root = root...
    6 KB (891 words) - 19:51, August 21, 2020
  • true end if aY > bY then return false end if aM < bM then return true end if aM > bM then return false end if aD < bD then return true...
    67 KB (8,869 words) - 15:02, October 24, 2022
  • valid; nil else if template_t[2] then -- if template is a preprint or uses unique parameters if whitelist.preprint_arguments[template_t[2]]...
    58 KB (8,323 words) - 13:25, October 24, 2022
  • dates if (2 == month) then -- if February month_length = 28; -- then 28 days unless if 1582 > tonumber(year) then ...
    62 KB (9,817 words) - 16:23, May 4, 2023
  • Module:Documentation (category Templates using TemplateStyles)
    local templateTitle = env.templateTitle if not subjectSpace or not templateTitle then return nil end local pagetype if subjectSpace == 10 then pagetype...
    34 KB (3,996 words) - 14:10, October 23, 2022
  • pagetype = "" if redirect then pagetype = redirect else pagetype = getNsDetectValue(args) end if yesno(args.plural, false) then if cfg.irregularPlurals[pagetype]...
    7 KB (835 words) - 14:12, August 30, 2020
  • namespace local category if level == 'sysop' or level == 'templateeditor' then if namespace == 2 or namespace == 3 then category = 'Wikipedia move-protected...
    1 KB (179 words) - 02:34, September 4, 2020
  • if type( v ) ~= "nil" then if not tag then if access then if not...
    38 KB (3,826 words) - 10:39, August 21, 2020
  • the template name. local template if args._template then template = args._template else local currentTitle = mw.title.getCurrentTitle() if currentTitle...
    2 KB (208 words) - 19:32, August 21, 2020
  • removed. If this is the case add the cleanup category if not (portallen == #portals) then if (trackingEnabled) then if #portals == 0 then return...
    13 KB (1,951 words) - 19:51, August 21, 2020
  • titleObj) if yesno(args.nocat) then return '' end local cats = {} -- Error category if #modules < 1 then cats[#cats + 1] = 'Lua templates with errors'...
    4 KB (479 words) - 14:10, October 23, 2022
  • Help:Citation Style 1 (category Citation Style 1 templates) (section Templates)
    number of templates that use one of the general use templates as a meta-template to cite a specific source. To be compliant with CS1, a template must: Use...
    65 KB (9,464 words) - 19:52, September 2, 2020
  • value) if not value or not mw.ustring.find(value, '%S') then return nil end if mw.ustring.find(value, '^%s*[%*#;:]') then return value else ...
    5 KB (761 words) - 23:35, April 16, 2023
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)