Search results

From The TTSCpedia
Jump to navigationJump to search
  • then templateCat = templateErrorCategory templateSort = 'C' end end self:addCat(10, templateCat, templateSort) end end function Message
    17 KB (2,337 words) - 01:32, 14 February 2019
  • ---------- local function makeInvokeFunc(funcName) return function (frame) local args = getArgs(frame, { valueFunc = function (key, value) if
    36 KB (4,242 words) - 07:06, 3 March 2019
  • local function replace(prefix, num, suffix) return '|' .. prefix .. tostring(tonumber(num) + increment) .. suffix .. '=' end function p.main(frame)
    2 KB (304 words) - 13:42, 7 June 2019
  • local p = {} function p._exportClasses() -- Used for testing purposes. return { CategoryHandler = CategoryHandler } end function p._main(args, data)
    8 KB (836 words) - 07:07, 3 March 2019
  • end function p.navbox(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end args = getArgs(frame, {wrappers = {'Template:Navbox'
    13 KB (1,686 words) - 23:31, 6 February 2019
  • isDeprecated then ret = ret .. '[[Category:List templates with deprecated parameters]]' end return ret end function p.makeList(listType, args) if not listType
    5 KB (720 words) - 01:14, 7 February 2019
  • compatibility with other modules function p.getParamMappings() return mappings end local function getNamespace(args) -- This function gets the namespace name
    6 KB (741 words) - 04:53, 7 February 2019
  • local function tidyValTrimOnly(key, val) if type(val) == 'string' then return val:match('^%s*(.-)%s*$') else return val end end local function ti
    10 KB (1,447 words) - 23:32, 6 February 2019
  • require('Module:Yesno') local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, { wrappers = 'Template:Clickable button 2' })
    3 KB (500 words) - 03:36, 24 February 2019
  • exports the function for use in other modules. -- The colour is passed as a string. function p._lum(color) return color2lum(color) end function p._greatercontrast(args)
    7 KB (1,260 words) - 07:05, 25 February 2019
  • tostring(root) end function p.renderTrackingCategories(args, numArgs, titleObj) -- Renders all tracking categories produced by the template. -- args and numArgs
    6 KB (778 words) - 07:05, 25 February 2019
  • 'Pages with incorrect protection templates', ['tracking-category-template'] = 'Template-protected pages other than templates and modules', --------------
    44 KB (4,959 words) - 19:17, 2 March 2019
  • -- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default)
    745 bytes (116 words) - 23:32, 6 February 2019
  • 'Template:Main#Errors', args.category ) end local options = { selfref = args.selfref } return p._main(pages, options) end function p._main(args
    2 KB (303 words) - 04:08, 7 February 2019
  • Template:Rounddown (category Mathematical function templates)
    This template should only be used when rounding down to some number of decimal places other than zero. Template:Floor Template:Roundup Template:Round
    411 bytes (118 words) - 14:50, 5 April 2019
  • = {} local function escape(str) return str:gsub("[|\\]", function (c) return string.format("\\%03d", c:byte()) end) end local function unescape(str)
    3 KB (403 words) - 19:48, 18 February 2019
  • within templates get translated into quoted tags that get displayed. To fix this problem the following templates have been converted so that templates contain
    8 KB (945 words) - 01:05, 7 February 2019
  • ) templatedata( frame ) ]] local p = {} -- Helper function, not exposed function tobool(st) if type( st ) == 'string' then return
    21 KB (2,112 words) - 22:14, 5 March 2019
  • Template:Clickable button 2 (category Formatting and function templates) (section Template data)
    mediawiki.ui.button module commons:Template:Clickable button, corresponding clickable button at Commons. Template:Button templates
    152 bytes (154 words) - 03:37, 24 February 2019
  • alternatively, a function taking the namespace number and returning a validity -- can be used local namespaceCategories = { all = { function() return true
    3 KB (366 words) - 01:13, 7 February 2019

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)