wpu.nu

Sökresultat

  • = 'flags', ['$B'] = 'template content' } function p.main(frame, body) -- If we are substing, this function returns a template invocation, and if --
    4 kbyte (571 ord) - 8 februari 2021 kl. 12.09
  • end end --[[ langSwitch This function is the core part of the LangSwitch template. Example Usage from a template: {{#invoke:fallback|langSwitch|en=text
    4 kbyte (443 ord) - 5 mars 2021 kl. 11.52
  • 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 (475 ord) - 13 augusti 2020 kl. 15.11
  • in other namespaces than Template and Module. TODO would probably want to remove /log and /archive as CS1 does ]] local function categorizeTemplatesWithInlineStyles(args)
    10 kbyte (1 284 ord) - 8 februari 2021 kl. 12.09
  • Mall:For loop (kategorin Wikipedia formatting and function templates)
    Template documentation[view] [edit] [history] [purge] This template implements a for loop or a foreach loop. This template calls a user-specified template
    179 byte (927 ord) - 15 augusti 2020 kl. 13.28
  • -- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default)
    745 byte (116 ord) - 13 augusti 2020 kl. 15.12
  • local p = {} local _fetch = require('Module:Transclusion_count').fetch function p.num(frame, count) if count == nil then count = _fetch(frame) end
    5 kbyte (657 ord) - 8 februari 2021 kl. 12.09
  • Mall:Namespace (kategorin Function templates)
    template Template documentation[create] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories
    325 byte (28 ord) - 5 mars 2021 kl. 11.52
  • "<COMMA>", ",") end return list end local function isTable(t) return type(t) == "table" end local function copy(x) if type(x) == "table" then local
    28 kbyte (3 677 ord) - 17 januari 2021 kl. 13.00
  • templatedata( frame ) ]] local p = {} -- Helper function, not exposed local function tobool(st) if type( st ) == 'string' then return
    22 kbyte (2 194 ord) - 5 mars 2021 kl. 11.52
  • valueFunc = function (key, value) value = value:match('^%s*(.-)%s*$') -- Trim whitespace -- Allow blank first parameters, as the wikitext template does
    4 kbyte (619 ord) - 8 februari 2021 kl. 12.09
  • '\127_ODDEVEN0_\127' local REGEX_MARKER = '\127_ODDEVEN(%d?)_\127' local function striped(wikitext) -- Return wikitext with markers replaced for odd/even
    12 kbyte (1 676 ord) - 8 februari 2021 kl. 12.09
  • 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 kbyte (1 260 ord) - 8 februari 2021 kl. 12.09
  • local function tidyValTrimOnly(key, val) if type(val) == 'string' then return val:match('^%s*(.-)%s*$') else return val end end local function ti
    10 kbyte (1 447 ord) - 13 augusti 2020 kl. 15.11
  • regardless of -- the number of unnamed template parameters, so use this function for -- frame.args. --]] function p.length(t, prefix) -- requiring module
    12 kbyte (1 602 ord) - 8 februari 2021 kl. 12.09
  • eqnull:true, laxbreak:true */ (function () { 'use strict'; window.TextCleaner = { imgNamespaceNames: null, // This function attempts to construct well-formed
    13 kbyte (1 758 ord) - 5 mars 2021 kl. 11.44
  • local hideGroupLegends local function nulOrWhitespace( s ) return not s or mw.text.trim( s ) == '' end local function createGroupList( tab, legends
    20 kbyte (2 505 ord) - 17 januari 2021 kl. 13.00

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