wpu.nu

Sökresultat

  • local p = {} function p.main(frame) local args = getArgs(frame, { trim = false, removeBlanks = false }) return p._main(args) end function p._main(args)
    3 kbyte (387 ord) - 15 augusti 2020 kl. 13.28
  • legibility The functions mapWrapper and chartWrapper are wrappers to pass all parameters of the calling template to the respective map and chart functions. Note:
    8 kbyte (1 081 ord) - 17 januari 2021 kl. 13.00
  • ion') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then title_arg = 2 end if template then title_arg
    5 kbyte (706 ord) - 8 februari 2021 kl. 12.09
  • 'Lua String-based templates', ['Module:Math'] = 'Templates based on the Math Lua module', ['Module:BaseConvert'] = 'Templates based on the BaseConvert
    4 kbyte (473 ord) - 13 augusti 2020 kl. 15.11
  • {} local origArgs = {} local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval)
    15 kbyte (1 954 ord) - 13 augusti 2020 kl. 15.11
  • local valid, title = xpcall(function() return mw.title.new(pagename, namespace) -- costly end, function(msg) -- catch undocumented exception
    11 kbyte (1 443 ord) - 6 juli 2020 kl. 10.40
  • with incorrect protection templates', ['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules', ---------
    45 kbyte (5 019 ord) - 8 februari 2021 kl. 12.09
  • end local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end function p.findNamespaceId(link
    9 kbyte (1 033 ord) - 13 augusti 2020 kl. 15.11
  • checkTypeForNamedArg, but we are rolling our -- own function to get the right error level. local function checkArg(key, val, level) if type(val) ~= 'string'
    2 kbyte (363 ord) - 13 augusti 2020 kl. 15.11
  • end --[[ This function implements that features of {{str sub old}} and is kept in order to maintain these older templates. ]] function str.sublength(
    18 kbyte (2 750 ord) - 13 augusti 2020 kl. 15.11
  • cat, sort ) end end -- Validation function for the expiry and the protection date local function validateDate(dateString, dateType) if not lang
    25 kbyte (3 000 ord) - 8 februari 2021 kl. 12.09
  • -- Get the title object, passing the function through pcall -- in case we are over the expensive function count limit. local success, title = pcall(mw
    18 kbyte (2 344 ord) - 13 augusti 2020 kl. 15.11
  • isDeprecated then ret = ret .. '[[Category:List templates with deprecated parameters]]' end return ret end function p.makeList(listType, args) if not listType
    5 kbyte (756 ord) - 13 augusti 2020 kl. 15.11
  • Is a string non-empty? local function _ne(s) return s ~= nil and s ~= "" end local nw = mw.text.nowiki local function addTemplate(s) local i, _ =
    3 kbyte (467 ord) - 8 februari 2021 kl. 12.09
  • of standard templates, all special tags or special pages, or parser function extensions do not work (Only the #expr parser function is supported
    18 kbyte (2 098 ord) - 5 mars 2021 kl. 11.52
  • return mw.text.listToText(list, separator .. s, conjunction) end --DRY function function conjList (conj, list, fmt) return stringifyList(list, {conjunction
    7 kbyte (899 ord) - 13 augusti 2020 kl. 15.11
  • {} function p.fetch(frame) local template = nil local return_value = nil -- Use demo parameter if it exists, otherswise use current template name
    1 kbyte (196 ord) - 8 februari 2021 kl. 12.09
  • "''" end local function plain(s) return s end function p._main(args, frame) -- Find how we want to format the arguments to the template. local formatFunc
    2 kbyte (208 ord) - 13 augusti 2020 kl. 15.11
  • - original version * User:Jarekt ]] -- local function to help normalize input arguments local function normalize_input_args(input_args, output_args)
    3 kbyte (298 ord) - 5 mars 2021 kl. 11.52
  • ---------- local function makeInvokeFunc(funcName) return function (frame) local args = getArgs(frame, { valueFunc = function (key, value) if
    36 kbyte (4 176 ord) - 8 februari 2021 kl. 12.09

Visa (föregående 20 | nästa 20) (20 | 50 | 100 | 250 | 500)