Search results

  • Module:Citation/CS1 (category Templates using TemplateStyles)
    et al. is removed, a flag is set to true and the function returns the modified name and the flag. This function never sets the flag to false but returns...
    209 KB (29,658 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
  • Help:Citation Style 1 (category Wikipedia how-to) (section Auto-formatting citation template dates)
    default formats for references on Wikipedia. It includes a series of templates that in turn use Module:Citation/CS1. The use of CS1 or of templates is not...
    65 KB (9,464 words) - 19:52, September 2, 2020
  • {{Coord}} and related templates. It provides several methods, including {{#invoke:Coordinates | coord }} : General function formatting and displaying...
    23 KB (3,266 words) - 11:51, August 21, 2020
  • datatype == "wikibase-item" ) and ( v.rank and args.reqranks[v.rank:sub(1, 1)] ) and ( snak.snaktype == "value" ) and ( sourced(v) or not onlysrc )...
    135 KB (17,493 words) - 19:47, August 21, 2020
  • 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
  • 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
  • Template:Navboxes (redirect from Template group) (category Wikipedia formatting and function templates) (section Coordinates template)
    together. Warning: This template effectively doubles the post-expand include size of the navbox templates, which can cause the templates not to display. For...
    514 bytes (796 words) - 11:50, August 21, 2020
  • Help:Footnotes (category Wikipedia pages with incorrect protection templates) (section Issues and limitations)
    section for Wikipedia articles. In this context, the word "Footnotes" refers to the Wikipedia-specific manner of documenting an article's sources and providing...
    30 KB (3,025 words) - 20:04, October 13, 2020
  • 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
  • adapt, arglist ) end -- TemplateData.test() -- Export local p = { } p.f = function ( frame ) -- The entry point for templates invoking the module....
    38 KB (3,826 words) - 10:39, August 21, 2020
  • Module:Graph (category Graph, chart and plot templates)
    override x and y axis label formatting local xAxisFormat = frame.args.xAxisFormat or frame.args.xaxisformat local yAxisFormat = frame.args.yAxisFormat or frame...
    43 KB (5,510 words) - 16:23, May 4, 2023
  • 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
  • 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
  • different in Wikidata and Wikipedia' end else category = 'Official website not in Wikidata' end return category and string.format('[[Category:%s]]'...
    5 KB (657 words) - 20:41, May 21, 2023
  • category = 'Wikipedia indefinitely move-protected pages' end else category = 'Wikipedia pages with incorrect protection templates' end return...
    1 KB (179 words) - 02:34, September 4, 2020
  • 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
  • Module:Documentation (category Templates using TemplateStyles)
    local function message(cfgKey, valArray, expectType) --[[ -- Gets a message from the cfg table and formats it if appropriate. -- The function raises...
    34 KB (3,996 words) - 14:10, October 23, 2022
  • Help:CS1 errors (category Wikipedia pages with incorrect protection templates) (section Error and maintenance messages)
    |authorn= and |lastn= / |firstn= (and their various aliases), |vauthors=, and |authors= and similarly, three editor-name-list styles: |editorn= and |editor-lastn=...
    137 KB (13,198 words) - 13:25, October 24, 2022
  • 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
  • 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
  • ').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map...
    20 KB (2,820 words) - 19:39, August 21, 2020
  • wikimedia.org/T121085 and Wikipedia_talk:Lua#stripmarkers_and_mw.text.unstripNoWiki.28.29 TODO: move the replacement patterns and replacement values into...
    16 KB (2,193 words) - 16:23, May 4, 2023
  • talk = { function(n) return n > 0 and n%2 == 1 end, '[[Help:Using talk pages|talk]]' }, template = { 10, '[[wp:template namespace|template]]' }, wikipedia...
    3 KB (373 words) - 23:46, December 10, 2020
  • [2] https://en.wikipedia.org/wiki/User:Frietjes [3] https://en.wikipedia.org/wiki/User:Mr._Stradivarius [4] https://en.wikipedia.org/wiki/User:Jackmcbarn...
    24 KB (2,873 words) - 20:33, September 2, 2020
  • protected page', -- The names of the templates to be used as wrappers for the "link" and "button" -- functions. These are passed as arguments to the "wrappers"...
    3 KB (371 words) - 02:17, September 4, 2020
  • return_value end -- Tabulate this data for [[Wikipedia:Database reports/Templates transcluded on the most pages]] function p.tabulate(frame) local list = {} for...
    2 KB (316 words) - 15:44, October 23, 2022
  • outside module for other template and module uses. --- --- @param text string --- @return table<string, string | nil> local function get_title_parts(text)...
    15 KB (2,051 words) - 16:23, May 4, 2023
  • "risk" or (count and count >= 100000) ) then local info = systemMessages and '.<br/>Changes to it can cause immediate changes to the Wikipedia user interface...
    7 KB (908 words) - 15:44, October 23, 2022
  • = 'Wikipedia template-protected pages other than templates and modules', ['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected...
    45 KB (5,039 words) - 14:10, October 23, 2022
  • redCatLink(catName) end function p.redCatLink( catName ) --catName == 'Blah', not 'Category:Blah', not '[[Category:Blah]]' if catName and catName ~= '' and testcases...
    44 KB (6,870 words) - 12:20, September 2, 2020
  • Call this function to 'execute' the working template ]] local function wrap (frame) local args = {}; -- table of default and live parameters...
    12 KB (1,773 words) - 13:25, October 24, 2022
  • arguments and sends them to the other functions. function p.main( frame ) -- If called via #invoke, use the args passed into the invoking -- template, or the...
    7 KB (991 words) - 00:00, September 2, 2020
  • fetch data from Wikidata with or without a link to the connected Wikipedia article and with many other features. The general structure of a call to this...
    1 KB (985 words) - 14:23, September 2, 2020
  • string. ]=] local function make_wikilink (link, display, no_link) if nil == no_link then if link and ('' ~= link) then if display and ('' ~= display)...
    37 KB (5,179 words) - 08:57, May 2, 2021
  • supported by {{lang}} and the {{lang-xx}} templates are supported by this function. Module entry point from another module ]] local function _is_ietf_tag (tag)...
    74 KB (10,742 words) - 16:23, May 4, 2023
  • |url-access1= ]] local function icon_index_get (args, k) local icon; local param_name = (1 == k and is_set (args['url-access']) and 'url-access') or table...
    9 KB (1,320 words) - 12:55, September 10, 2020
  • "") if text ~= "" and text ~= "0" and string.lower(text) ~= "false" then return true end end return false end local function splitChars(text, pattern...
    38 KB (5,044 words) - 08:57, May 2, 2021
  • parse templates that occur within other templates, * rather than just top-level templates. * @return object[] */ extraJs.parseTemplates = function(wikitext...
    29 KB (3,475 words) - 20:59, August 30, 2020
  • summary // Function to handle generation of summary prefix for custom templates var customProcess = function(template) { template = template.split('|')[0];...
    62 KB (7,256 words) - 20:27, August 30, 2020
  • getMWEditForm: function() { return $("#editform")[0]; }, /** * Runs a given function on submission of edit form * @param {Function} subFunc function to run...
    85 KB (9,467 words) - 20:38, August 30, 2020
  • tooltip: 'If applying two or more templates supported by {{multiple issues}} and this box is checked, all supported templates will be grouped inside a {{multiple...
    84 KB (9,979 words) - 20:27, August 30, 2020
  • callback function. @param {Function} f callback function, called as <code>f(this)</code> on success */ Downloader.prototype.setCallback = function (f) {...
    232 KB (29,025 words) - 20:27, August 30, 2020
  • users on Wikipedia and other MediaWikis. wikEd features syntax highlighting, reference, template, and code folding, on-page Show preview and Show changes...
    646 KB (69,593 words) - 04:09, September 3, 2020
  • discussion to today's list"); wikipedia_page.setFollowRedirect(true); wikipedia_page.setCallbackParameters(params); wikipedia_page.load(Twinkle.xfd.callbacks...
    85 KB (9,512 words) - 20:27, August 30, 2020
  • page for templates indicating prior XfD or PROD var numTemplates = $(xmlDoc).find('templates tl').length; if (numTemplates) { var template = $(xmlDoc)...
    16 KB (1,926 words) - 20:27, August 30, 2020
  • at en.wikipedia.org/wiki/Wikipedia:Prosesize * Rewrite of [[User:Dr_pda/prosesize.js]]. */ 'use strict'; ( function () { function sizeFormatter( size...
    7 KB (732 words) - 20:32, August 30, 2020
  • properties; $.each(Twinkle.welcome.templates[type], function(label, templates) { properties = templates[template]; if (properties) { return false;...
    23 KB (2,501 words) - 20:27, August 30, 2020
  • var wikipedia_page = new Morebits.wiki.page(userTalkPage, 'User talk page modification'); wikipedia_page.setCallbackParameters(params); wikipedia_page...
    61 KB (7,190 words) - 20:27, August 30, 2020
  • Template:Cite journal (category Templates using TemplateData) (section TemplateData)
    2011-01-01 can be added. Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in all date parameters...
    126 bytes (8,722 words) - 23:59, September 1, 2020
  • file format and same or lower resolution, of something else on Wikipedia. Likewise, other media that is a redundant copy, in the same format and of the...
    82 KB (10,140 words) - 20:27, August 30, 2020
  • .text('Update pages and talk pages '), 'Replace nomination templates with merge templates, '+ 'and add old xfd templates to talk pages' ) ...
    204 KB (21,994 words) - 20:59, August 30, 2020
  • setScriptName('Twinkle'); Window.addFooterLink('Protection templates', 'Template:Protection templates'); Window.addFooterLink('Protection policy', 'WP:PROT');...
    51 KB (5,707 words) - 20:27, August 30, 2020
  • Template:Rp (category Templates using TemplateData) (section Function)
    footnoting system is less tedious to use and more difficult to break with incorrect formatting than the {{ref label}} and {{note label}} system (although, in...
    2 KB (1,604 words) - 22:13, September 11, 2021
  • ); }, 'dialog' : null, 'openPanel': function(){ this.dialog.dialog('open'); }, 'openDialog' : function () { if (this.dialog === null){ this...
    31 KB (3,106 words) - 20:32, August 30, 2020
  • revertOldID * @param {Function} [onSuccess] - callback function to run on success (optional) * @param {Function} [onFailure] - callback function to run on failure...
    159 KB (19,190 words) - 20:32, August 30, 2020
  • Template:Short description (category Templates using TemplateData) (section Template information)
    Wikipedia) to a Wikipedia page. These descriptions appear in Wikipedia mobile searches and elsewhere, and help users identify the desired article. {{Short...
    1 KB (783 words) - 16:23, May 4, 2023
  • 'Custom welcome templates to display', helptip: "You can add other welcome templates, or user subpages that are welcome templates (prefixed with \"User:\")...
    62 KB (7,409 words) - 20:27, August 30, 2020
  • will pull the user accounts and IPs from the history page and will strike out the users that are currently blocked. */ function markBlocked( container ) {...
    7 KB (878 words) - 20:55, August 30, 2020
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    11 KB (27 words) - 14:14, August 30, 2020
  • }; this.onWindowResize = function () { te.tooltip.calculatePosition(); }; } function Tooltip( te ) { function openSettingsDialog() { var...
    25 KB (2,661 words) - 20:13, August 30, 2020
  • view talk edit Wikipedia offers several templates for proper display of IPA transcriptions. In general, IPA symbols on a page should be enclosed in the...
    23 KB (573 words) - 08:57, May 2, 2021
  • limits and to keep the URL length below the limit for the foreign_repo calls. function make_calls( list, execute_call, url_limit ) { function composer(...
    121 KB (14,905 words) - 10:34, August 19, 2021
  • Template:Infobox software (category Templates using TemplateData) (section Conditional formatting parameters)
    has a corresponding article in Wikipedia, please link to it. Here is an example: Code: [[wikipedia:C++|C++]] and [[wikipedia:C Sharp (programming language)|C#]]...
    7 KB (3,783 words) - 17:23, September 13, 2021
  • Template:Navbox (category Lua-based templates) (section Relationship with other Navbox templates)
    recommended for standardization of navigational templates, and for ease of use. Navboxes and other templates using the navbox or vertical-navbox attributes...
    94 bytes (4,051 words) - 22:14, September 11, 2021
  • Template:Pp (category Wikipedia pages with incorrect protection templates) (section TemplateData)
    to the second parameter of the #time parser function. This argument only has an effect for the "office" and "reset" reasons. user – The username of the...
    76 bytes (379 words) - 02:16, September 4, 2020
  • Template:Rp/doc (category Templates needing substitution checking) (section Function)
    footnoting system is less tedious to use and more difficult to break with incorrect formatting than the {{ref label}} and {{note label}} system (although, in...
    18 KB (1,565 words) - 22:15, September 11, 2021
  • Template:Short description/doc (category Template documentation pages) (section Template information)
    Template:Short description is used to add a short description (which can be edited from within Wikipedia) to a Wikipedia page. These descriptions appear...
    8 KB (743 words) - 16:50, October 3, 2021
  • Template:IPA-de/doc (category Pages with too many expensive parser function calls) (section Supported languages and templates)
    second parameter will show no leading text. view talk edit Wikipedia offers several templates for proper display of IPA transcriptions. In general, IPA...
    2 KB (679 words) - 08:56, May 2, 2021
  • Template:Redirect (category Disambiguation and redirection templates) (section TemplateData)
    end; note that this should be only used when truly necessary, and the other hatnote templates listed below don't suffice. {{Redirect|Foo}} → {{Redirect|REDIRECT||PAGE1}}...
    183 bytes (249 words) - 14:12, August 30, 2020
  • Template:Death-date (category Templates using TemplateData) (section Ambiguous times and dates)
    {{End-date}}, and {{Death-date}} are easy to read "plain text" date and time templates that emit microformat dates for events. These templates are an alternative...
    2 KB (974 words) - 08:56, May 2, 2021
  • Template:Birth-date (category Templates using TemplateData) (section Ambiguous times and dates)
    {{End-date}}, and {{Death-date}} are easy to read "plain text" date and time templates that emit microformat dates for events. These templates are an alternative...
    2 KB (974 words) - 08:56, May 2, 2021
  • Template:Cite journal/doc (category Templates generating COinS) (section TemplateData)
    2011-01-01 can be added. Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in all date parameters...
    54 KB (8,682 words) - 20:00, September 23, 2020
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    28 KB (27 words) - 14:14, August 30, 2020
  • Template:Start-date (category Templates using TemplateData) (section Ambiguous times and dates)
    text" date and time templates that emit microformat dates for events. These templates are an alternative to the {{Start date}}/{{Birth date}} and {{End date}}/{{Death...
    2 KB (961 words) - 08:56, May 2, 2021
  • Template:End-date (category Templates using TemplateData) (section Ambiguous times and dates)
    text" date and time templates that emit microformat dates for events. These templates are an alternative to the {{Start date}}/{{Birth date}} and {{End date}}/{{Death...
    2 KB (961 words) - 08:56, May 2, 2021
  • Template:Navbox/doc (category Template documentation pages) (section Relationship with other Navbox templates)
    recommended for standardization of navigational templates, and for ease of use. Navboxes and other templates using the navbox or vertical-navbox attributes...
    38 KB (4,012 words) - 11:46, August 21, 2020
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    1 KB (27 words) - 14:14, August 30, 2020
  • Template:Start-date/doc (category Template documentation pages) (section Ambiguous times and dates)
    {{End-date}}, and {{Death-date}} are easy to read "plain text" date and time templates that emit microformat dates for events. These templates are an alternative...
    12 KB (924 words) - 08:56, May 2, 2021
  • Template:Redirect/doc (category Template documentation pages) (section TemplateData)
    end; note that this should be only used when truly necessary, and the other hatnote templates listed below don't suffice. {{Redirect|Foo}} → {{Redirect|REDIRECT||PAGE1}}...
    4 KB (210 words) - 14:14, August 30, 2020
  • Template:Infobox software/doc (category Template documentation pages) (section Conditional formatting parameters)
    has a corresponding article in Wikipedia, please link to it. Here is an example: Code: [[wikipedia:C++|C++]] and [[wikipedia:C Sharp (programming language)|C#]]...
    45 KB (3,743 words) - 17:31, September 13, 2021
  • Template:Pp/doc (category Template documentation pages) (section TemplateData)
    a general template for producing protection banners and padlock icons. It can be used with any protection reason, any protection action, and any protection...
    4 KB (340 words) - 02:16, September 4, 2020
  • Template:Tmbox/doc (category Template documentation pages)
    sign = and a start and end brace { } work fine as they are. But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>. And now a pipe and end braces...
    12 KB (1,326 words) - 15:48, October 23, 2022
  • Template:Infobox comics species and title (category Infobox templates)
    Fantasy and Humor Crime-thriller — Crime and Thriller (Thrill) Comic science fiction — Humor and Science Fiction (SciFi) Dark fantasy — Fantasy and Horror...
    22 KB (2,566 words) - 15:34, September 5, 2021
  • Template:Tmbox (category Mbox and messagebox templates)
    sign = and a start and end brace { } work fine as they are. But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>. And now a pipe and end braces...
    146 bytes (1,365 words) - 15:48, October 23, 2022
  • Template:Cmbox (category Mbox and messagebox templates)
    sign = and a start and end brace { } work fine as they are. But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>. And now a pipe and end braces...
    146 bytes (860 words) - 15:48, October 23, 2022
  • Template:Cmbox/doc (category Template documentation pages)
    sign = and a start and end brace { } work fine as they are. But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>. And now a pipe and end braces...
    9 KB (821 words) - 15:48, October 23, 2022
  • Wikidata property link to a Wikipedia page {{Wikidata property}}, to add a Wikidata property {{side box}} to a Wikipedia page or template documentation {{Uses...
    87 KB (1,085 words) - 14:23, September 2, 2020