Risultati della ricerca

  • str ) if not is_set(str) then return str; else if str:sub(1,1) == "'" then str = "<span></span>" .. str; end if str:sub(-1,-1) == "'" then str =...
    67 KB (8 186 parole) - 13:04, 30 ott 2022
  • 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 parole) - 15:19, 26 ott 2022
  • tonumber(xMax) if not xType then if isInteger then xType = "integer" else xType = "number" end end else if xType then error("Numbers expected...
    39 KB (5 085 parole) - 21:55, 29 ago 2020
  • columnName = names[pos] if columnName == 'name' then name = val else newVal[columnName] = val end end if name then params[name] = newVal...
    6 KB (831 parole) - 21:55, 29 ago 2020
  • 'boolean', true) if removeColon ~= false then link = removeInitialColon(link) end local namespace = link:match('^(.-):') if namespace then local nsTable...
    9 KB (1 033 parole) - 03:47, 20 ago 2020
  • requestType if action == 'edit' then if level == 'autoconfirmed' then requestType = 'semi' elseif level == 'extendedconfirmed' then requestType...
    25 KB (3 007 parole) - 15:19, 26 ott 2022
  • Add template categories. if cfg.templateCategory then if cfg.templateCategoryRequireName then if self.isTemplatePage then self:addCat(10, cfg.templateCategory)...
    18 KB (2 367 parole) - 15:19, 26 ott 2022
  • = 'File:' .. args.file -- Format if args.format then checkArg('format', args.format) if args.formatfile then checkArg('formatfile', args.formatfile)...
    2 KB (363 parole) - 17:03, 19 ago 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 (756 parole) - 15:19, 26 ott 2022
  • i ) if focus( c ) then if flat( c ) then if j then if m then ...
    23 KB (2 422 parole) - 15:19, 26 ott 2022
  • str ) if not is_set(str) then return str; else if str:sub(1,1) == "'" then str = "<span></span>" .. str; end if str:sub(-1,-1) == "'" then str =...
    67 KB (8 166 parole) - 18:07, 15 set 2020
  • play') -- Create link if /doc doesn't exist. local preload = args.preload if not preload then if subjectSpace == 828 then -- Module namespace preload...
    34 KB (3 996 parole) - 15:19, 26 ott 2022
  • function (protectionObj, args) -- if protectionObj.level == 'autoconfirmed' then -- return 'foo' -- else -- return 'bar' -- end...
    45 KB (5 039 parole) - 15:19, 26 ott 2022
  • Template:Namespace detect (categoria If-then-else templates)
    image as if file. image ([[Image:...]]) is now deprecated. Note: For most cases it may be better to use the simpler namespace detection templates (see the...
    173 byte (756 parole) - 15:19, 26 ott 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 parole) - 15:19, 26 ott 2022
  • 'click', function () { var text; if ( tplRc.isSelected() ) { text = '{{Rc|' + expiry + '}} --~~~~'; } else if ( tplBlocco.isSelected() ) { text...
    14 KB (1 512 parole) - 22:40, 30 ago 2020
  • toLowerCase(); if ( nt === 'li' ) { return el; } else if ( nt === 'body' ) { return false; } else if ( el.parentNode ) { el=el.parentNode; } else { return...
    232 KB (29 025 parole) - 09:11, 14 set 2020