Search results

View (previous 50 | ) (20 | 50 | 100 | 250 | 500)
  • Module:Citation/CS1 (category Templates using TemplateStyles)
    then name_list[#name_list-2] = cfg.presentation.sep_nl_and; -- replace last separator with 'and' text else name_list[#name_list-2] = cfg.presentation...
    209 KB (29,658 words) - 16:23, May 4, 2023
  • Help:Citation Style 1 (category Citation Style 1 templates) (section Auto-formatting citation template dates)
    of CS1 and are not compliant with the CS1 style. There are also a number of templates that use one of the general use templates as a meta-template to cite...
    65 KB (9,464 words) - 19:52, September 2, 2020
  • parameter, e.g. from the list of frame arguments, -- and makes "false", "no", and "0" into the (boolean) false -- it makes the empty string and nil into the (boolean)...
    135 KB (17,493 words) - 19:47, August 21, 2020
  • result = result and is_valid_date (year, month, day2); elseif 0 ~= year and 0 ~= month and 0 ~= day and 0 == year2 and 0 ~= month2 and 0 ~= day2 then...
    62 KB (9,817 words) - 16:23, May 4, 2023
  • uncategorized_subpages, templates_using_volume = templates_using_volume, templates_using_issue = templates_using_issue, templates_not_using_page = templates_not_using_page...
    95 KB (12,388 words) - 16:23, May 4, 2023
  • xAxisTitle and yAxisTitle: captions of the x and y axes xAxisMin, xAxisMax, yAxisMin, and yAxisMax: minimum and maximum values of the x and y axes (not...
    11 KB (1,356 words) - 21:54, August 29, 2020
  • local list_and_num = format(cfg.arg.list_and_num, listnum) local listText = args[list_and_num] local oddEven = cfg.marker.oddeven if listText:sub(1...
    17 KB (2,482 words) - 16:23, May 4, 2023
  • Module:Message box (category Templates using TemplateStyles)
    'string' and mainCat allCat = type(allCat) == 'string' and allCat if mainCat and date and date ~= '' then local catTitle = string.format('%s %s %s'...
    18 KB (2,367 words) - 14:10, October 23, 2022
  • Module:Graph (category Graph, chart and plot templates)
    true) for i = 1, #list do list[i] = mw.ustring.gsub(mw.text.trim(list[i]), "<COMMA>", ",") end return list end local function isTable(t) return type(t)...
    43 KB (5,510 words) - 16:23, May 4, 2023
  • Help:Footnotes (category Wikipedia pages with incorrect protection templates) (section List-defined references)
    reference list, add {{reflist}} wherever the list is desired. Once the page is published and viewed, the footnotes will be automatically generated and numbered...
    30 KB (3,025 words) - 20:04, October 13, 2020
  • Return the formatted string return mw.text.listToText(list, separator .. s, conjunction) end --DRY function function p.conjList (conj, list, fmt) return...
    7 KB (914 words) - 14:10, October 23, 2022
  • add_to_list (ietf_list, name_list, override, code, name); -- add to main ietf list for |list=ietf add_to_list (ietf_list2, name_list, override...
    58 KB (8,323 words) - 13:25, October 24, 2022
  • namedArgs end local function makeWrapper(funcName) -- Processes external arguments and sends them to the other functions. return function (frame) -- If...
    6 KB (891 words) - 19:51, August 21, 2020
  • >-------------------------------------------- gets a list of the templates from table t ]] local function template_list_get (t) local out = {}; --...
    14 KB (1,682 words) - 16:23, May 4, 2023
  • generalCommands, generalCommand) -- main function that is supposed to be used by wrapper templates function p.main(frame) if not mw.wikibase then return...
    67 KB (8,869 words) - 15:02, October 24, 2022
  • override', } function p.main(frame, body) -- If we are substing, this function returns a template invocation, and if -- not, it returns the template body. The...
    4 KB (605 words) - 17:31, October 11, 2021
  • currentTitle.namespace == 0 and not mhOptions.selfref and redirTitle and redirTitle.namespace ~= 0 then -- We are on a mainspace page, and the hatnote starts...
    4 KB (490 words) - 22:15, September 11, 2021
  • property is qualified as being in English. local function isEnglish(prop) local ret = quickPcall(function () for i, lang in ipairs(prop.qualifiers.P3001)...
    5 KB (657 words) - 20:41, May 21, 2023
  • return images end function p._displayAll(portals, args) -- This function displays all portals that have portal images. This function is for maintenance...
    13 KB (1,951 words) - 19:51, August 21, 2020
  • '[[Category:List templates with deprecated parameters]]' end return ret end function p.makeList(listType, args) if not listType or not listTypes[listType]...
    5 KB (761 words) - 23:35, April 16, 2023
  • trackingCategories list. --- @param sortKey string The key by which to sort the page in the category. local function getTrackingCategoryFromList(typeName, useTrackingList...
    21 KB (2,630 words) - 23:42, April 16, 2023
  • modules[1] and categories[modules[1]] category = category or 'Lua-based templates' end cats[#cats + 1] = category protCatName = "Templates using...
    4 KB (479 words) - 14:10, October 23, 2022
  • if args['caption'] == "" then while #caption_list < #map do caption_list[#caption_list + 1] = args['caption'] end else for caption...
    20 KB (2,820 words) - 19:39, August 21, 2020
  • Help:CS1 errors (category Wikipedia pages with incorrect protection templates) (section Error and maintenance messages)
    The |format= and |...-format= value is always displayed. The list of |...-format= parameters is: |archive-format=, |article-format=, |chapter-format=, |conference-format=...
    137 KB (13,198 words) - 13:25, October 24, 2022
  • This module and associated sub-modules support the Citation Style 1 and Template:Cs2 citation templates. In general, it is not intended to be called directly...
    7 KB (136 words) - 02:14, September 13, 2021
  • ['$flags'] = 'flags', ['$B'] = 'template content', ['$template-name'] = 'template invocation name override' } p[''] = function ( frame ) if not frame:getParent()...
    5 KB (778 words) - 14:10, October 23, 2022
  • of the metadata parameter values if 'ID_list' ~= k and 'Authors' ~= k then -- except the ID_list and Author tables (author nowiki stripmarker done...
    16 KB (2,193 words) - 16:23, May 4, 2023
  • Template:Ordered list (category List formatting and function templates) (section Acceptable list style type values and supported web browsers)
    Changing the symbol style {{Ordered list |list_style_type=type |entry1 |entry2 |... }} With CSS style {{Ordered list |item_style=CSS-all |entry1 |entry2...
    178 bytes (202 words) - 02:20, September 9, 2020
  • require('Module:TNT') local p = {} local function format(msg, ...) return TNT.format('I18n/Uses TemplateStyles', msg, ...) end local function getConfig() return mw....
    4 KB (478 words) - 15:44, October 23, 2022
  • list[i] = ('|-\n| %d || [[%s]] || %s\n'):format(i, list[i][1]:gsub('_', ' '), lang:formatNum(list[i][2])) end return table.concat(list) end return...
    2 KB (316 words) - 15:44, October 23, 2022
  • target and yesno(options.target) then listItems[i] = templateMode and string.format("&#123;&#123;%s[[%s|%s]]&#125;&#125;", prefix, templatePath, shortcut)...
    4 KB (559 words) - 08:57, May 2, 2021
  • composed of a list -- -- prefixed by a colon-terminated label, i.e. "LABEL: [andList of pages]", -- -- for {{see also}} and similar templates. ...
    5 KB (576 words) - 14:10, October 23, 2022
  • parameter #1 of function 'name'", 2) end elseif type(title) ~= 'table' or type(title.getContent) ~= 'function' then error("parameter #1 of function 'name'...
    4 KB (587 words) - 20:33, September 2, 2020
  • insert(result,fmt and mw.ustring.format(fmt, v) or v) end end return result end Text.concatParams = function ( args, apply, adapt ) -- Concat list items into...
    23 KB (2,422 words) - 14:48, October 26, 2022
  • mainForm = isPlural and 'Main %ss: %s' or 'Main %s: %s' end local text = string.format(mainForm, pageType, list) -- Process the options and pass the text...
    2 KB (305 words) - 19:36, October 16, 2020
  • local function add_parameter (k, v, args, list) if list then table.insert( args, table.concat ({k, '=', v})); -- write parameter names and values...
    12 KB (1,773 words) - 13:25, October 24, 2022
  • return self end function Track:getLyricsCredit() return self.lyrics end function Track:getMusicCredit() return self.music end function Track:getWriterCredit()...
    15 KB (1,830 words) - 12:50, October 18, 2020
  • checking this list, so all input forms on this list should be written in lowercase. These files comprise the module support for CS1|2 citation templates:...
    683 bytes (108 words) - 02:14, September 13, 2021
  • . ')</span>' return result end local function make_list(text, note, dissolved) -- Return a list of formatted items. -- Input is a string of multiple...
    7 KB (1,023 words) - 11:51, August 21, 2020
  • end -- Assemble the list of links into a string with mw.text.listToText. -- We use the default separator for mw.text.listToText, but a custom --...
    4 KB (618 words) - 13:25, October 24, 2022
  • nav :node( list ) return tostring( nav ) end -- Processes external arguments and sends them to the other functions. function p.main( frame ) ...
    7 KB (991 words) - 00:00, September 2, 2020
  • local function returnError(s) return string.format( '<span class="error">Error using {{[[Template:IPA symbol|IPA symbol]]}}: "%s" not found in list</span>%s'...
    3 KB (443 words) - 17:13, September 13, 2021
  • k:match('^p%d+$') and n >= 1 and n <= 40 then elseif nonumbers and (k:match('^pos%d+$') and n >= 1 and n <= 40) then if v and v ~= '' then haspos...
    4 KB (564 words) - 11:51, August 21, 2020
  • require('Module:Hatnote list') local mArguments --initialize lazily local mTableTools = require('Module:TableTools') local p = {} function p.redirectDistinguish...
    2 KB (202 words) - 22:15, September 11, 2021
  • -------- makes a list of templates use in the article. ]] local function template_list_add (template) local template = template:match ('{{%s*(.-)[|}]');...
    37 KB (5,067 words) - 17:13, September 13, 2021
  • local scaleWidth function validate() function asGroups( name, tab, toDuplicate, emptyOK ) if #tab == 0 and not emptyOK then ...
    21 KB (2,515 words) - 21:54, August 29, 2020
  • end end -- Local function which is used to create a single row of cells. -- This is the standard function called. local function createSingleRowCells(args...
    31 KB (3,878 words) - 16:23, May 4, 2023
  • return ret end local function fold(func, ...) -- Use a function on all supplied arguments, and return the result. The function must accept two numbers...
    14 KB (2,185 words) - 16:23, May 4, 2023
  • result list end if is_set (args['list-leadout']) then out_text = table.concat ({label, mw.text.listToText (result, list_separator, list_leadout)});...
    9 KB (1,320 words) - 12:55, September 10, 2020
  • by creating wrapper templates that use the main command provided by this module (just like {{WikidataOI}} does). Below follows a list of common use cases...
    1 KB (985 words) - 14:23, September 2, 2020
View (previous 50 | ) (20 | 50 | 100 | 250 | 500)