Search results

  • The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Template documentation' -- cfg['module-namespace-heading'] -- The heading...
    17 KB (2,082 words) - 15:42, September 12, 2022
  • -- If in template or module namespace, look up count in /data if template ~= nil then namespace = mw.title.new(template, "Template").namespace if namespace...
    2 KB (316 words) - 15:44, October 23, 2022
  • '[[Help:Using talk pages|talk]]' }, template = { 10, '[[wp:template namespace|template]]' }, wikipedia = { 4, '[[wp:project namespace|Wikipedia project]]' }, category...
    3 KB (373 words) - 23:46, December 10, 2020
  • When you use any template, please consider reviewing its documentation. You can find it at the template's page in the template namespace by searching for...
    4 KB (535 words) - 17:26, October 23, 2022
  • (thisPage.namespace == 1) -- Talk or (thisPage.namespace == 2) -- User or (thisPage.namespace == 3) -- User talk or (thisPage.namespace == 5) -- Wikipedia...
    6 KB (891 words) - 19:51, August 21, 2020
  • Module:Message box (category Templates using TemplateStyles)
    main namespace elseif ns == 6 then obj.cfg = cfg.imbox -- file namespace elseif ns == 14 then obj.cfg = cfg.cmbox -- category namespace else...
    18 KB (2,367 words) - 14:10, October 23, 2022
  • Module:Documentation (category Templates using TemplateStyles)
    '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- 'template-namespace-heading' --> 'Template documentation' -- 'module-namespace-heading'...
    34 KB (3,996 words) - 14:10, October 23, 2022
  • Get the namespace key fragment. local namespaceFragment = cfg.categoryNamespaceKeys[title.namespace] if not namespaceFragment and title.namespace % 2 ==...
    25 KB (3,007 words) - 14:10, October 23, 2022
  • embedded infobox templates with the title parameter]]' ) end elseif #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then ...
    20 KB (2,611 words) - 23:35, April 16, 2023
  • (thisPage.namespace == 1) -- Talk or (thisPage.namespace == 2) -- User or (thisPage.namespace == 3) -- User talk or (thisPage.namespace == 5) -- Wikipedia...
    13 KB (1,951 words) - 19:51, August 21, 2020
  • Module:Citation/CS1 (category Templates using TemplateStyles)
    local template_link = '[[Template:' .. template_name .. '|' .. template_name .. ']]'; local msg_prefix = '<code class="cs1-code">{{' .. template_link ...
    209 KB (29,658 words) - 16:23, May 4, 2023
  • 'Lua-based templates' end cats[#cats + 1] = category protCatName = "Templates using under-protected Lua modules" elseif titleObj.namespace == 828...
    4 KB (479 words) - 14:10, October 23, 2022
  • m_lister|<template>}} ]] local function canonical_param_lister (frame) local template = frame.args[1]; if '' == template then template = nil; end...
    58 KB (8,323 words) - 13:25, October 24, 2022
  • type of page in the Wikimedia system. Use with P31 'instance of' for template pages
    0 statements, 19 sitelinks - 21:57, August 31, 2020
  • arguments passed BY the template, in the wikitext of the template itself local args = pframe.args -- the arguments passed TO the template, in the wikitext that...
    2 KB (238 words) - 19:47, August 31, 2020
  • Help:CS1 errors (category Wikipedia pages with incorrect protection templates) (section Cite <template> requires |<param>=)
    provided by templates may also be available through CS1 parameters. To resolve errors in identifier-based citation templates, the template must be edited...
    137 KB (13,198 words) - 13:25, October 24, 2022
  • article namespace the template {{Graph:Map}} should be used instead. See its page for use cases. Maps can be found at Special:Prefixindex/Template:Graph:Map/Inner/...
    11 KB (1,356 words) - 21:54, August 29, 2020
  • in the Template namespace, assume the main namespace (for backward compatibility) namespace = '' title = this.title(namespace, pagename)...
    12 KB (1,536 words) - 17:46, September 16, 2020
  • implements {{pp-move-indef}}. It is a protection template, but has no visible output, unlike other protection templates which output banners or padlock icons. The...
    2 KB (203 words) - 02:34, September 4, 2020
  • module/template call. A category name without namespace, or nil -- to disable categorization. cfg['default_category'] = 'Templates using TemplateStyles'...
    2 KB (343 words) - 15:44, October 23, 2022
  • removed. ['namespace-error'] = 'Error: Please do not use this template in articles.', ['namespace-error-category'] = 'Pages with templates in the wrong...
    611 bytes (91 words) - 22:14, September 11, 2021
  • = 'file', ['mediawiki'] = 'interface page', ['template'] = 'template', ['help'] = 'help page', ['category'] ...
    4 KB (387 words) - 17:13, September 13, 2021
  • "invalid template name '%s'; no template config found at [[%s]]", template, templateCfgPage )) end -- Namespace check. if not templateCfg.isUsedInMainspace...
    5 KB (677 words) - 22:14, September 11, 2021
  • == '' then if mw.title.getCurrentTitle().namespace == 0 then track_cats = '[[Category:Navboxes template with no content]]' end end return navboxes(args...
    1 KB (194 words) - 11:51, August 21, 2020
  • local namespace = title and title.namespace local category if level == 'sysop' or level == 'templateeditor' then if namespace == 2 or namespace == 3...
    1 KB (179 words) - 02:34, September 4, 2020
  • (thisPage.namespace == 1) -- Talk or (thisPage.namespace == 2) -- User or (thisPage.namespace == 3) -- User talk or (thisPage.namespace == 5) -- Wikipedia...
    7 KB (991 words) - 00:00, September 2, 2020
  • getCurrentTitle(); if title_object.namespace == 10 then -- not in template space so that unused templates appear in unused-template-reports; return nil;...
    95 KB (12,388 words) - 16:23, May 4, 2023
  • Infobox template based on Template:Creator in "Creator" namespace on Wikimedia Commons
    0 statements, 1 sitelink - 23:25, August 31, 2020
  • module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace aliases are supported, ...
    6 KB (741 words) - 14:12, August 30, 2020
  • ifexists), namespace = frame.args.namespace or args.namespace, selfref = yesno(frame.args.selfref or args.selfref), template = template } return...
    5 KB (576 words) - 14:10, October 23, 2022
  • Infobox template based on Template:Institution in "Institution" namespace on Wikimedia Commons
    0 statements, 1 sitelink - 23:51, August 31, 2020
  • removeInitialColon(link) end local namespace = link:match('^(.-):') if namespace then local nsTable = mw.site.namespaces[namespace] if nsTable then return...
    6 KB (666 words) - 14:10, October 23, 2022
  • v:find('^REDIRECT%d*$') and v ~= 'TERM' -- and currentTitle.namespace == 0 or currentTitle.namespace == 14 then redirTitle = redirectTitle or getTitle(v)...
    4 KB (490 words) - 22:15, September 11, 2021
  • frame.args['$template-name'] and '' ~= frame.args['$template-name'] then title = frame.args['$template-name'] -- override whatever the template name is with...
    5 KB (778 words) - 14:10, October 23, 2022
  • categorisation in the main namespace. templateCategory – the name of a category to be placed on the template page. templateCategoryRequireName – whether...
    5 KB (608 words) - 15:44, October 23, 2022
  • = 'Wikipedia template-protected pages other than templates and modules', ['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates'...
    45 KB (5,039 words) - 14:10, October 23, 2022
  • get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then title_arg = 2 end if template then title_arg = 'template' end return title_arg...
    5 KB (727 words) - 23:35, April 16, 2023
  • list of templates associated with this anchor ID if template_list[t] then -- if associated template is found in the list of templates in the...
    23 KB (3,211 words) - 17:13, September 13, 2021
  • for _, namespace in ipairs(defaultnsArray) do ndArgs[namespace] = cfg.pagetypes[namespace] end end --[[ -- Add custom values passed in from the arguments...
    7 KB (835 words) - 14:12, August 30, 2020
  • Template:Template sandbox notice (category Template namespace templates) (section Protection template example)
    this: {{template sandbox notice|category=}} If you want to demonstrate the template on say Wikipedia:Template messages/Template namespace then you need to...
    1 KB (877 words) - 11:39, August 21, 2020
  • generalOptions.template end -- Add default template options if templateOptions[1].template and not templateOptions[2].template then templateOptions[2]...
    24 KB (2,873 words) - 20:33, September 2, 2020
  • module is intended to replace the functionality of {{Coord}} and related templates. It provides several methods, including {{#invoke:Coordinates | coord...
    23 KB (3,266 words) - 11:51, August 21, 2020
  • -- -- This is a wrapper template or a list of wrapper templates to be passed to -- -- [[Module:Arguments]]. ...
    6 KB (422 words) - 10:11, August 21, 2020
  • local template = ''; if args.template and '' ~= args.template then template = table.concat ({'{{', args['template'], '}}: '}); -- make template name...
    74 KB (10,742 words) - 16:23, May 4, 2023
  • Module:Graph (category Graph, chart and plot templates)
    yType == "date" then template = template .. "|time:" .. showValues.format .. "'" end properties.text = { template = "{{" .. template .. "}}" } else...
    43 KB (5,510 words) - 16:23, May 4, 2023
  • on the namespace that a given page is in. It is a Lua implementation of the {{namespace detect}} template, with a few improvements: all namespaces and all...
    3 KB (412 words) - 14:43, October 26, 2022
  • renderTrackingCategory(url, wikidataurl) if mw.title.getCurrentTitle().namespace ~= 0 then return '' end local category if not url and not wikidataurl...
    5 KB (657 words) - 20:41, May 21, 2023
  • user -- Template namespace. local basepage = title.baseText local template = '' for i, cat in ipairs(cats) do template = template .. makeCat(cat...
    13 KB (1,817 words) - 19:51, August 21, 2020
  • '' ) if args.caption and args.caption ~= '' then if (currentTitle.namespace == 0) and mw.ustring.find(args.caption, '##') then retval = retval ...
    20 KB (2,820 words) - 19:39, August 21, 2020
  • 'cfg-error-msg-empty') -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. i18n['template-namespace-heading'] = format('I18n/Documentation'...
    2 KB (221 words) - 17:46, September 16, 2020
  • have to update the -- template as new namespaces are added. local p = {} function p._main(ns, frame) -- Get the current namespace if we were not passed...
    2 KB (249 words) - 10:10, August 21, 2020
  • general template for citing web references citeWeb = split(mw.wikibase.getSitelink(aliasesQ.citeWeb) or "", ":")[2] -- split off namespace from front...
    67 KB (8,869 words) - 15:02, October 24, 2022
  • and mw.title.getCurrentTitle().namespace == 0 then root:wikitext('[[Category:Articles which use infobox templates with no data rows]]') ...
    16 KB (1,681 words) - 19:34, August 21, 2020
  • end -- TemplateStyles category titleObj = titleObj or mw.title.getCurrentTitle() if (titleObj.namespace == 10 or titleObj.namespace == 828) and...
    4 KB (478 words) - 15:44, October 23, 2022
  • local templatePath, prefix if templateMode then -- Namespace detection local titleObj = mw.title.new(shortcut, 10) if titleObj.namespace == 10...
    4 KB (559 words) - 08:57, May 2, 2021
  • been passed in, and uses that to find a -- template name as it is used in template invocations. -- Parameters: title - full page name or...
    4 KB (587 words) - 20:33, September 2, 2020
  • or mw.site.namespaces[ns] then return s else return 'Template:' .. s end end local function trimTemplate(s) local needle = 'template:' if s:sub(1...
    4 KB (586 words) - 15:48, October 23, 2022
  • mw.title.getCurrentTitle().namespace == 0 then return mHatnote.makeWikitextError( 'no page names specified', 'Template:Main#Errors', args.category...
    2 KB (305 words) - 19:36, October 16, 2020
  • or mw.site.namespaces[ns] then return s else return 'Template:' .. s end end local function trimTemplate(s) local needle = 'template:' if s:sub(1...
    3 KB (475 words) - 10:10, August 21, 2020
  • getCurrentTitle().namespace == 828 and "module" or "template"), title.fullText, title.fullText, mw.title.getCurrentTitle().namespace == 828 and "Module:Sandbox|module...
    7 KB (908 words) - 15:44, October 23, 2022
  • 'Category:Webarchive template archiveis links', error = 'Category:Webarchive template errors', other = 'Category:Webarchive template other archives', unknown...
    11 KB (1,329 words) - 08:57, May 2, 2021
  • -- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Invalid title...
    915 bytes (112 words) - 23:35, April 16, 2023
  • )) local title if titleobj.namespace == 10 then -- NS_TEMPLATE title = titleobj.text elseif titleobj.namespace == 0 then -- NS_MAIN title =...
    4 KB (519 words) - 12:30, October 18, 2020
  • isTalkPage or title.namespace == 2 --don't categorise talk pages and userspace local oddCat = skipCat and '' or '[[Category:Hatnote templates using unusual...
    1 KB (179 words) - 23:18, September 11, 2021
  • local title = mw.title.getCurrentTitle() if title.namespace ~= 10 then return end -- not in template space local subpage = title.subpageText if subpage...
    17 KB (2,482 words) - 16:23, May 4, 2023
  • handler}} template in Lua, -- -- with a few improvements: all namespaces and all namespace aliases -- -- are supported, and namespace names...
    8 KB (836 words) - 10:11, August 21, 2020
  • name of Commons Infobox template residing in "Creator" namespace on Wikimedia Commons
    0 statements, 0 sitelinks - 20:56, August 31, 2020
  • -- Namespace local namespace = mw.site.namespaces[title.namespace].name if namespace and #namespace >= 1 then self.namespace = namespace end...
    9 KB (1,018 words) - 16:23, May 4, 2023
  • match(args[1], 'REDIRECT%d+') or args[1] == 'TERM' or currentTitle.namespace ~= 0 then --do nothing elseif not redirectTitle or not redirectTitle...
    2 KB (202 words) - 22:15, September 11, 2021
  • getCurrentTitle():inNamespaces(0, 10) then -- Category only in namespaces: 0=article, 10=template. category = '[[Category:Football template errors]]' else...
    7 KB (1,023 words) - 11:51, August 21, 2020
  • implements [[Template:National squad]] and -- [[Template:National squad no numbers]] to avoid articles being added to -- [[:Category:Pages where template include...
    4 KB (564 words) - 11:51, August 21, 2020
  • Template:Infobox person module documentation (category Template namespace templates)
    genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic...
    1 KB (86 words) - 19:47, August 21, 2020
  • prefix = sitelink:sub(1,pos-1) if mw.site.namespaces[prefix] then -- that prefix is a valid namespace, so remove it slink = sitelink:sub(pos+1)...
    135 KB (17,493 words) - 19:47, August 21, 2020
  • getCurrentTitle() local namespace = articleTitle.nsText -- Check if the invoking page is from the allowed namespace. if (not (namespace == "" or namespace == "Draft"...
    21 KB (2,630 words) - 23:42, April 16, 2023
  • mainspace and only if they are on the page where the template is used if (onInitialPage and title.namespace == 0) then addLineColorTrackingCategories(args)...
    31 KB (3,878 words) - 16:23, May 4, 2023
  • ["NZ_electorate_link"] = 2200, ["Na"] = 2100, ["Nac"] = 2400, ["Namespace_detect"] = 544000, ["Namespace_detect_showall"] = 5800, ["Nastaliq"] = 9800, ["Nat_fs_end"]...
    8 KB (970 words) - 14:43, October 26, 2022
  • -- This module implements Template:Bibleverse. local p = {} --codes from bvf that may be in use local version_num_codes = { [9] = 'kjv', [31] = 'niv'...
    13 KB (1,761 words) - 17:31, October 11, 2021
  • cats[#cats + 1] = 'Articles with empty listen template' end end if isPlain then cats[#cats + 1] = 'Listen template using plain parameter' end for i, cat...
    5 KB (684 words) - 12:20, September 2, 2020
  • ["R_to_plural"] = 2000, ["R_to_project"] = 2100, ["R_to_project_namespace"] = 11000, ["R_to_redirect_template"] = 3000, ["R_to_related_topic"] = 45000, ["R_to_scientific_name"]...
    9 KB (1,207 words) - 22:15, September 11, 2021
  • white_cr = contrast_ratio{'white', background, ['error'] = 0} if title.namespace == 0 and (args.background and args.background ~= '' and args.background...
    8 KB (983 words) - 16:23, May 4, 2023
  • month, day', ['mt-template-bad-name'] = 'The specified template name is not valid', ['mt-template-x'] = 'The template invoking this must...
    31 KB (4,600 words) - 10:11, August 21, 2020
  • in specified namespace function p._getCommons(namespace,default,search,fallback,formatting,qid) local nsColon if not namespace or namespace == "" then...
    21 KB (2,691 words) - 22:13, September 11, 2021
  • Lua module implementing the {{webarchive}} template. A merger of the functionality of three templates: {{wayback}}, {{webcite}} and {{cite archives}}...
    37 KB (5,179 words) - 08:57, May 2, 2021
  • true end end -- Tracking category if mw.title.getCurrentTitle().namespace == 0 and yesno(args.noprose) then root:wikitext('[[Category:Articles...
    6 KB (759 words) - 12:30, October 18, 2020
  • mainspace if title.namespace == 0 and #SeasonEntries == 1 then categories = categories .. '[[Category:Articles using Template:Series overview with...
    21 KB (2,542 words) - 16:23, May 4, 2023
  • XfD talk page templates 'Template:Oldpuffull|' + // Legacy prior XfD template 'Template:Olddelrev|' + // Prior DRV template 'Template:Old prod'; var...
    16 KB (1,926 words) - 20:27, August 30, 2020
  • text before the first colon. local ns = mw.site.namespaces[colon_prefix] -- see if this is a known namespace if mw.language.isKnownLanguageTag(colon_prefix)...
    7 KB (1,000 words) - 14:10, October 23, 2022
  • 'text/css' ); } else { mw.notify( 'Only pages from the MediaWiki namespace are allowed.', { title: 'Invalid withCSS value' } ); } } if ( extraJS...
    12 KB (1,320 words) - 21:14, October 5, 2020
  • with named parameter templates editOrRemoveTemplates( templatesInWikitext.filter(function(template) { var name = template.name.toLowerCase().replace(/_/g...
    29 KB (3,475 words) - 20:59, August 30, 2020
  • selected: namespace === 14 || (namespace === 10 && /-stub$/.test(Morebits.pageNameNorm)), // Category namespace and stub templates value: 'cfd', disabled:...
    85 KB (9,512 words) - 20:27, August 30, 2020
  • prefix for custom templates var customProcess = function(template) { template = template.split('|')[0]; var prefix; switch (template.substr(-1)) {...
    62 KB (7,256 words) - 20:27, August 30, 2020
  • local p = {} local title = mw.title.getCurrentTitle() local namespace = title.namespace local testcases = (string.sub(title.subpageText,1,9) == 'testcases')...
    44 KB (6,870 words) - 12:20, September 2, 2020
  • ategories() if not self.showCategories or mw.title.getCurrentTitle().namespace ~= 0 then return '' end local ret = '' local function addCategory(cat)...
    15 KB (1,830 words) - 12:50, October 18, 2020
  • name in namespaceIds) { if (namespaceIds[name] == 6) // Image namespace TextCleaner.imgNamespaceNames[TextCleaner.imgNamespaceNames...
    16 KB (1,782 words) - 19:43, September 2, 2020
  • { tag: 'R from template shortcut', description: 'redirect from a shortcut page name in any namespace to a page in template namespace' } ], 'Disambiguation':...
    84 KB (9,979 words) - 20:27, August 30, 2020
  • (Twinkle.block.prev_template_expiry === null) { Twinkle.block.prev_template_expiry = form.template_expiry.value || ''; } form.template_expiry.parentNode...
    61 KB (7,190 words) - 20:27, August 30, 2020
  • break; case 10: // template case 11: // template talk work_area.append({ type: 'header', label: 'Templates' }); work_area.append({...
    82 KB (10,140 words) - 20:27, August 30, 2020
  • if ( mw.config.get( 'wgNamespaceNumber' ) === 0 && mw.config.get( 'wgAction' ) === 'view' ) { mw.loader.using( 'mediawiki.api' ).then( function () { ...
    2 KB (158 words) - 21:03, August 30, 2020
  • help namespace'), newRcatOption('R to main namespace'), newRcatOption('R to portal namespace'), newRcatOption('R to project namespace'), ...
    204 KB (21,994 words) - 20:59, August 30, 2020
  • // Automatic edit summary (optional) 'proveit-templates': [ // Citation templates (without namespace) 'Citation', 'Cite arXiv', 'Cite AV media'...
    2 KB (203 words) - 20:38, August 30, 2020
  • local nsdefault = '0' -- default namespace: '0' = article; '0,10' = article and template local namespace = title.namespace for _, v in ipairs(split(config...
    132 KB (20,570 words) - 19:38, August 21, 2020
  • // allowed namespaces var nsWhitelist = [ 0, // <main> 10, // Template 14, // Category ]; var ns = config.get( 'wgNamespaceNumber' ); var...
    1 KB (138 words) - 15:46, September 1, 2020
  • Template:Pagetype (category Namespace manipulation templates) (section Default namespace sets)
    you use the code |template=no, then the template will display "page" when used on a template page, rather than the default "template". {{pagetype | main...
    179 bytes (957 words) - 14:12, August 30, 2020
  • Template:Pagetype/doc (category Template documentation pages) (section Default namespace sets)
    you use the code |template=no, then the template will display "page" when used on a template page, rather than the default "template". {{pagetype | main...
    30 KB (917 words) - 14:13, August 30, 2020
  • '}}\n\n'; var summaryText = 'Added {{[[Template:' + params.template + '|' + params.template + ']]}} template.'; pageobj.setPageText(text + pageText);...
    6 KB (757 words) - 20:27, August 30, 2020
  • move: 'autoconfirmed', reason: '[[WP:High-risk templates|Highly visible template]]', template: 'pp-template' }, 'pp-semi-sock': { edit: 'autoconfirmed'...
    51 KB (5,707 words) - 20:27, August 30, 2020
  • Template:User sandbox (category Templates using TemplateData) (section Template data)
    name of a Wikipedia namespace, the template acts as if it was transcluded in that namespace no matter what the actual current namespace is. This is useful...
    3 KB (390 words) - 11:39, August 21, 2020
  • '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
  • name: 'template', list: $.map(templates, function(properties, template) { return { value: template, label: '{{' + template + '}}: '...
    23 KB (2,501 words) - 20:27, August 30, 2020
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    5 KB (27 words) - 14:14, August 30, 2020
  • Template:Under construction (category Templates used by Twinkle) (section Blank template)
    Template documentation[view] [edit] [history] [purge] Example template: This template is for articles actively undergoing construction. If the article...
    3 KB (606 words) - 17:55, September 16, 2020
  • Template:Pp-move-indef (category Templates used by Twinkle)
    Template documentation[view] [edit] [history] [purge] Use {{pp-move-indef}} The template will add a category only and has no visible effect. It should...
    174 bytes (166 words) - 02:28, September 4, 2020
  • short description failed.', 'sdh-edit-failed-no-template': 'Edit failed, as no short description template was found in the page wikitext. This is probably...
    33 KB (3,691 words) - 20:38, August 30, 2020
  • 'allpages'; query.gapnamespace = mw.util.getParamValue('namespace') || $('select[name=namespace]').val(); query.gapprefix = mw.util.getParamValue('prefix')...
    13 KB (1,437 words) - 20:27, August 30, 2020
  • if not in template namespace * * @returns {Morebits.wikitext.page} */ removeTemplate: function(template) { var first_char = template.substr(0,...
    159 KB (19,190 words) - 20:32, August 30, 2020
  • Template:Short description (category Templates using TemplateData) (section Template information)
    this template, in which case the short description will be unique to the article transcluded in another template, such as a disambiguation template, where...
    1 KB (783 words) - 16:23, May 4, 2023
  • var namespaceId = this.namespaceId(); if (namespaceId >= 0 && namespaceId % 2 == 1) //non-special and talk namespace { var localizedNamespace = mw...
    232 KB (29,025 words) - 20:27, August 30, 2020
  • 'Headings in templates are ignored', 'wikEdErrorTemplParam': 'Template/parameter tags do not match', 'wikEdErrorTemplParamAmbig': 'Template/parameter...
    646 KB (69,593 words) - 04:09, September 3, 2020
  • var ns in mw.config.get( 'wgNamespaceIds' ) ) { if ( mw.config.get( 'wgNamespaceIds' )[ns] == 2 || mw.config.get( 'wgNamespaceIds' )[ns] == 3 ) { userNS...
    7 KB (878 words) - 20:55, August 30, 2020
  • Template:Redirect (category Templates using TemplateData) (section TemplateData)
    monthly parameter usage report for this template based on this TemplateData. TemplateData for Redirect This template produces a hatnote similar to: "Foo"...
    183 bytes (249 words) - 14:12, August 30, 2020
  • Hidden root element holding templates */ createTemplateElement: function() { var $root = $('<div>', { id: 'proveit-templates' }); // Dummy cite...
    85 KB (9,467 words) - 20:38, August 30, 2020
  • insertSignature: true, // sign welcome templates, where appropriate quickWelcomeMode: 'norm', quickWelcomeTemplate: 'welcome', customWelcomeList: [], ...
    17 KB (1,979 words) - 20:27, August 30, 2020
  • Template:Shortcut (category Templates using TemplateStyles)
    sister templates. Template {{shortcut}} renders a box, informing editors, which shortcuts are available for linking to a page or a section of a page. The...
    169 bytes (782 words) - 17:13, September 13, 2021
  • Template:-1 (category Talk namespace templates)
    Template documentation[view] [edit] [history] [purge] {{-1}} produces . Template:++ Template:-n Template:Dislike The above documentation is transcluded...
    71 bytes (46 words) - 12:59, September 1, 2020
  • Template:+1 (category Talk namespace templates)
    {{+1|color=green}} produces +1 Template:++ Template:-n Template:Like The above documentation is transcluded from Template:+1/doc. (edit | history) Editors...
    385 bytes (87 words) - 12:59, September 1, 2020
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    3 KB (27 words) - 14:48, October 26, 2022
  • info_callbacks[].callback'; if ( template.startsWith( '//' ) ) { template = document.location.protocol + template; } // Avoid protocol-relative URIs...
    121 KB (14,905 words) - 10:34, August 19, 2021
  • formsConfig['toolkit-name']; var toolkitContent = '{{' + formsConfig['toolkit-template'] + '}}'; var createToolkit = true; if (toolkit && toolkitContent){...
    31 KB (3,106 words) - 20:32, August 30, 2020
  • Template:Disclaimer header (category Wikipedia namespace templates)
    Template documentation[view] [edit] [history] [purge] See what links here for where this template is used. Please add categories and interwiki links to...
    476 bytes (60 words) - 02:16, September 4, 2020
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    8 KB (27 words) - 14:14, August 30, 2020
  • Template:Namespace detect/doc (category Template documentation pages)
    let your template understand the demospace and/or page parameter and send it on to the {{Namespace detect}} template. Like this: {{Namespace detect | main...
    6 KB (716 words) - 14:48, October 26, 2022
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    6 KB (27 words) - 14:13, August 30, 2020
  • res = re.exec(content); if (res) { var parsed = Morebits.wikitext.template.parse(content, res.index); concerns[title] = parsed.parameters.concern...
    6 KB (679 words) - 20:27, August 30, 2020
  • Template:User sandbox/doc (category Wikipedia pages with incorrect protection templates) (section Template data)
    name of a Wikipedia namespace, the template acts as if it was transcluded in that namespace no matter what the actual current namespace is. This is useful...
    4 KB (350 words) - 11:40, August 21, 2020
  • Template:Cmbox (category Category namespace templates)
    given, the template defaults to type notice. That means it gets a blue background. image No parameter = If no image parameter is given, the template uses a...
    146 bytes (860 words) - 15:48, October 23, 2022
  • Template:Shortcut/doc (category Template documentation pages)
    {{Shorthand}} This is the documentation for {{shortcut}} and its sister templates. Template {{shortcut}} renders a box, informing editors, which shortcuts are...
    6 KB (743 words) - 02:28, September 4, 2020
  • Template:Tmbox (category Talk namespace templates)
    Template documentation[view] [edit] [history] [purge] This is the {{Tmbox}} ([T]alk page [m]essage [box]) metatemplate. This template is called by other...
    146 bytes (1,365 words) - 15:48, October 23, 2022
  • Template:Infobox Wikipedia user (category User namespace templates) (section Sub-templates)
    usage report for this template based on this TemplateData. TemplateData for Infobox Wikipedia user Infobox about yourself. This template should only be used...
    15 KB (704 words) - 19:46, August 21, 2020
  • Template:Curlie (category Templates using TemplateData)
    March 14, 2017. This template maps to Curlie.org, a directory based on DMOZ, and maintained by the same editor community.) This template has two distinct formats...
    322 bytes (306 words) - 17:30, October 11, 2021
  • Template:Infobox software (category Templates using TemplateData) (section TemplateData)
    Template documentation[view] [edit] [history] [purge] This template uses the Wikidata properties: official website (P7736) (see uses) source code repository...
    7 KB (3,783 words) - 17:23, September 13, 2021
  • Template:Pp-move-indef/doc (category Template documentation pages)
    that only administrators can protect pages. This template will categorize articles, portals and templates into Category:Wikipedia indefinitely move-protected...
    1 KB (125 words) - 02:28, September 4, 2020
  • Template:Template sandbox notice/doc (category Template documentation pages) (section Protection template example)
    this: {{template sandbox notice|category=}} If you want to demonstrate the template on say Wikipedia:Template messages/Template namespace then you need to...
    7 KB (836 words) - 11:39, August 21, 2020
  • Template:Short description/doc (category Template documentation pages) (section Template information)
    this template, in which case the short description will be unique to the article transcluded in another template, such as a disambiguation template, where...
    8 KB (743 words) - 16:50, October 3, 2021
  • frame important messages or notices. Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases...
    925 bytes (126 words) - 15:48, October 23, 2022
  • Template:NotRef (category Wikipedia namespace templates)
    Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template....
    623 bytes (79 words) - 22:05, April 3, 2021
  • Template:PAGENAMETDOC (category Wikipedia magic word templates)
    Template:PAGENAMETDOC Template documentation This template returns the current {{FULLBASEPAGENAME}}, unless the title ends in /sandbox plus any number...
    777 bytes (83 words) - 14:33, October 9, 2021
  • Template:WikidataCheck (category Lua-based templates)
    before applying this template. Optional |namespaces= is a comma separated list of the numerical namespaces to apply the template in. The default is 0,...
    232 bytes (325 words) - 19:47, August 31, 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
  • Template:Under construction/sandbox (category Template sandboxes) (section Blank template)
    Template documentation[view] [edit] [history] [purge] Example template: This template is for articles actively undergoing construction. If the article...
    3 KB (606 words) - 17:55, September 16, 2020
  • Template:Under construction/doc (category Template documentation pages) (section Blank template)
    person who placed the template. If a page using this template has not been edited in 8 days, a bot will automatically remove the template. If used on a non-article...
    7 KB (566 words) - 17:55, September 16, 2020
  • Template:Redirect/doc (category Template documentation pages) (section TemplateData)
    monthly parameter usage report for this template based on this TemplateData. TemplateData for Redirect This template produces a hatnote similar to: "Foo"...
    4 KB (210 words) - 14:14, August 30, 2020
  • Template:Portal (category Templates using TemplateData) (section TemplateData)
    values: no, n, false the template is used on a page in any of these namespaces: Talk, User, User talk, Wikipedia talk, File talk, Template talk, Category talk...
    168 bytes (821 words) - 10:21, September 12, 2021
  • 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:WikidataCheck/doc (category Template documentation pages)
    before applying this template. Optional |namespaces= is a comma separated list of the numerical namespaces to apply the template in. The default is 0,...
    3 KB (286 words) - 19:47, August 31, 2020
  • Template:Curlie/doc (category Template documentation pages)
    March 14, 2017. This template maps to Curlie.org, a directory based on DMOZ, and maintained by the same editor community.) This template has two distinct formats...
    3 KB (264 words) - 17:31, October 11, 2021
  • Template:Tmbox/doc (category Template documentation pages)
    {{Tmbox}} ([T]alk page [m]essage [box]) metatemplate. This template is called by other templates to give a consistent structure and appearance to boilerplate...
    12 KB (1,326 words) - 15:48, October 23, 2022
  • Template:Portal/doc (category Template documentation pages) (section TemplateData)
    values: no, n, false the template is used on a page in any of these namespaces: Talk, User, User talk, Wikipedia talk, File talk, Template talk, Category talk...
    11 KB (782 words) - 10:21, September 12, 2021
  • 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:Cmbox/doc (category Template documentation pages)
    given, the template defaults to type notice. That means it gets a blue background. image No parameter = If no image parameter is given, the template uses a...
    9 KB (821 words) - 15:48, October 23, 2022
  • Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Add categories...
    173 bytes (27 words) - 21:09, October 12, 2021
  • Template:R from template shortcut (category Redirects from template shortcuts)
    do not need to be "fixed". Note: Template talk pages are in a talk namespace; they are not in the template namespace. All shortcuts to talk pages should...
    977 bytes (124 words) - 12:49, October 18, 2020
  • Template:Infobox software/doc (category Template documentation pages) (section TemplateData)
    This template uses the Wikidata properties: official website (P7736) (see uses) source code repository (P309) (see uses) software engine (P3012) (see uses)...
    45 KB (3,743 words) - 17:31, September 13, 2021