Search Results: Module:Template invocation/doc

Sorry, the article you're looking for isn't specifically available. Here are related topics:


Module:Template wrapper
Minggu, 2022-10-23 22:19:44

local template (parent frame) parameter names and the target template names that match where in [key]=<value> pairs where: [key] is local template parameter...

Click to read more »
Module:Template invocation
Selasa, 2019-12-17 11:15:14

-- This module provides functions for making MediaWiki template invocations. local checkType = require('libraryUtil').checkType local p = {} ...

Click to read more »
Module:Template link
Senin, 2020-04-27 08:11:22

getCurrentTitle().fullText == ("Template:Wt/sco/" .. templ)) then table.insert(output, templ) else table.insert(output, ("[[Template:Wt/sco/%s|%s]]"):format(templ...

Click to read more »
Module:Asbox
Sabtu, 2021-01-30 20:55:31

version of Template:Asbox of the English Wikipedia, authored primarily by User:Rich_Farmbrough https://en.wikipedia.org/w/index.php?title=Template:Asbox&oldid=619510287...

Click to read more »
Module:Template link general
Kamis, 2022-01-20 19:24:53

-- This implements Template:Tlg local getArgs = require('Module:Arguments').getArgs local p = {} -- Is a string non-empty? local function _ne(s) return...

Click to read more »
Module:Template:R:Dokumentasjonsprosjektet
Senin, 2020-04-27 08:05:55

target_ = WTpage target = p.encode(target_) end template = "[http://www.nob-ordbok.uio.no/perl/ordbok.cgi?OPP=" .. target .. specifier...

Click to read more »
Module:Template:attention
Senin, 2020-04-27 08:05:56

local p = {} function p.main(frame) if frame.args[1] == 'html_encode' then return p.html_encode(frame.args[2]) else error('Unrecognized command')...

Click to read more »
Module:Template:also
Minggu, 2020-11-01 09:53:09

local export = {} local yesno = require('Module:yesno') -- Join with serial "and" and serial comma local function serial_comma_join(seq) if #seq ==...

Click to read more »
Module:TemplatePar
Rabu, 2023-04-19 21:20:37

local TemplatePar = { serial = "2023-03-20", suite = "TemplatePar", item = 15393417, ...

Click to read more »
Module:Uses TemplateStyles
Jumat, 2019-12-20 08:40:54

-- This module implements the {{Uses TemplateStyles}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools...

Click to read more »
Module:DemoTemplate
Minggu, 2022-10-23 22:23:48

print('}}') local buffer = getBuffer() -- rather than calling expandTemplate with the title and args we have, call preprocess, so that our code example...

Click to read more »
Module:TemplateStyles
Senin, 2020-04-27 08:05:56

return function (CSS_page) return mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = CSS_page } } end...

Click to read more »
Module:Authority control
Minggu, 2022-10-23 22:18:48

category or param local args = { id = 'f', pid } local wpl = frame:expandTemplate{ title = 'Wikidata property link', args = args } --cats local articleCat...

Click to read more »
Module:Documentation
Kamis, 2022-12-29 06:19:20

'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page' -- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module...

Click to read more »
Module:Citation/CS1
Minggu, 2022-10-23 22:19:13

local whitelist = {}; -- table of tables listing valid template parameter names; defined in Module:Citation/CS1/Whitelist ...

Click to read more »
Module:Lang/sandbox
Minggu, 2022-10-23 22:19:28

local template = ''; if args.template and '' ~= args.template then template = table.concat ({'{{', args['template'], '}}: '}); -- make template name...

Click to read more »
Module:R:Perseus
Senin, 2020-04-27 08:05:53

Template:tracking/R:Perseus/wrong-script]] - [[Special:WhatLinksHere/Template:tracking/R:Perseus/param/1]] - [[Special:WhatLinksHere/Template...

Click to read more »
Module:Es-conj/table
Senin, 2020-04-27 08:06:14

local template_name = paradigms[ending][pattern] if (mw.ustring.sub(template_name, 1, 3) == ending) then template_name = mw.ustring.sub(template_name...

Click to read more »
Module:Location map/data/Scotland Edinburgh/doc
Minggu, 2021-01-31 07:02:34

map/data/Scotland Edinburgh Central Template:Location map, to display one mark and label using latitude and longitude Template:Location map many, to display...

Click to read more »
Module:Lang
Minggu, 2022-10-23 22:19:23

local template = ''; if args.template and '' ~= args.template then template = table.concat ({'{{', args['template'], '}}: '}); -- make template name...

Click to read more »
Module:Asbox stubtree/doc
Jumat, 2019-12-20 10:28:04

module is used by Module:Asbox to create stub hierarchy boxes for stub template documentations. It also implements {{asbox/stubtree}} and served the same...

Click to read more »
Module:Documentation/doc
Jumat, 2019-12-20 09:21:03

other pages. The {{documentation}} template invokes it. Faer muist uises, you should uise the {{documentation}} template; please see that template's page...

Click to read more »
Module:Relatit/sandbox
Sabtu, 2020-10-03 05:33:12

produces a link to a relatit article or articles. It implements the -- template {{relatit}}. -- -- If the module is used in category or category talk...

Click to read more »
Module:Location map/data/Scotland East Dunbartonshire/doc
Rabu, 2021-12-22 20:24:29

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Glasgow/doc
Rabu, 2021-12-22 20:13:03

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland South Ayrshire/doc
Kamis, 2022-01-20 19:24:52

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Clackmannanshire/doc
Kamis, 2022-01-20 20:06:13

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland West Lothian/doc
Kamis, 2021-12-16 05:14:31

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland West Dunbartonshire/doc
Rabu, 2021-12-22 18:01:55

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Midlothian/doc
Rabu, 2021-12-22 20:27:40

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Dundee/doc
Rabu, 2021-12-22 20:16:12

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland East Ayrshire/doc
Kamis, 2022-01-20 20:06:27

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland North Ayrshire/doc
Selasa, 2021-12-21 19:29:26

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/United Kingdom Edinburgh/doc
Selasa, 2021-12-21 19:01:53

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Europe/doc
Minggu, 2021-02-07 07:20:53

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Angus/doc
Selasa, 2021-12-21 19:07:09

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Orkney/doc
Kamis, 2022-01-20 20:03:46

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/United Kingdom Kent/doc
Rabu, 2021-12-22 23:37:45

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland East Renfrewshire/doc
Rabu, 2021-12-22 20:04:11

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Scottish Borders/doc
Kamis, 2022-01-20 20:07:30

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Shetland/doc
Kamis, 2022-01-20 20:04:02

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Inverclyde/doc
Rabu, 2021-12-22 20:19:00

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Highland/doc
Jumat, 2020-12-25 04:08:38

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Edinburgh/doc
Jumat, 2021-12-17 05:35:29

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Fife/doc
Selasa, 2021-12-21 19:12:12

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Sutherland/doc
Jumat, 2020-12-25 04:15:49

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Falkirk/doc
Rabu, 2021-12-22 20:21:20

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland South Lanarkshire/doc
Rabu, 2021-12-22 20:07:03

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Stirling/doc
Kamis, 2022-01-20 20:05:59

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Outer Hebrides/doc
Kamis, 2021-12-16 04:53:53

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Dumfries and Galloway/doc
Jumat, 2020-12-25 04:26:17

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Perth and Kinross/doc
Sabtu, 2021-03-13 06:26:44

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Ross an Cromarty/doc
Selasa, 2021-12-21 19:19:35

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Scotland Argyll and Bute/doc
Sabtu, 2021-03-13 06:12:14

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Location map/data/Chile/doc
Minggu, 2020-12-27 05:42:15

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Etymology
Senin, 2020-04-27 08:06:17

Template:Wt/sco/tracking/derived/no-term]] [[Special:WhatLinksHere/Template:Wt/sco/tracking/borrowed/no-term]] [[Special:WhatLinksHere/Template...

Click to read more »
Module:IPA/templates
Senin, 2020-04-27 08:05:49

track("IPA/" .. category) end end end end end -- Used for [[Template:IPA]]. function export.IPA(frame) local params = { [1] = {list = true...

Click to read more »
Module:R:The Bokmål and Nynorsk dictionaries
Senin, 2020-04-27 08:05:54

= args[1] or PAGENAME target_ = target:gsub(' ', '+') template = "[http://ordbok.uib.no/perl/ordbok.cgi?OPP=" .. target_ .. specifier...

Click to read more »
Module:Compound/templates
Senin, 2023-03-27 01:26:54

and args["lang"] then error('The |lang= parameter is not used by this template. Place the language code in parameter 1 instead.') end local lang =...

Click to read more »
Module:Category relatit/doc
Jumat, 2020-10-23 03:27:57

{{Category relatit}}. It produces see an aw airts tae categories that look something like this: Faer full documentation, see Template:Category relatit....

Click to read more »
Module:Protected edit request
Rabu, 2014-02-19 07:07:51

protectionLevel == 'accountcreator' then -- Lump titleblacklisted pages in with template-protected pages, since templateeditors can do both. obj.protectionLevel...

Click to read more »
Module:Form of/templates
Senin, 2020-04-27 08:06:32

called from TEMPLATE. The tracking -- category linked to is [[Template:Wt/sco/tracking/form-of/TEMPLATE/PAGE]]. local function track(template, page) ...

Click to read more »
Module:Script utilities
Senin, 2020-04-27 08:11:15

(sc:getCode():find("Latn")) or sc:getCode() == "Latinx" end -- Used by [[Template:lang]] function export.lang_t(frame) params = { [1] = {}, [2] = {...

Click to read more »
Module:Yesno
Jumat, 2021-04-09 09:44:13

treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii...

Click to read more »
Module:Number list/data/und
Senin, 2020-04-27 08:08:30

local export = {numbers = {}} -- These are used only on the template preview page; -- you should never use "und" as the language otherwise! export.numbers[1]...

Click to read more »
Module:Alternative forms
Senin, 2020-04-27 08:05:57

-- [[Special:WhatLinksHere/Template:Wt/sco/tracking/alter/alt]] track(args, "id", i) -- [[Special:WhatLinksHere/Template:Wt/sco/tracking/alter/id]]...

Click to read more »
Module:SDcat/doc
Kamis, 2022-12-29 06:19:21

visible. From within a template {{SDcat |sd={{{shortdescription|}}} }} or {{#invoke:SDcat |setCat |sd={{{shortdescription|}}} }} Template:SDcat is a wrapper...

Click to read more »
Module:Homophones
Senin, 2020-04-27 08:06:44

at all, return default text if namespace is Template if mw.title.getCurrentTitle().nsText == "Template" then return "Homophone: [[term#Scots|term]]"...

Click to read more »
Module:Compound
Senin, 2020-04-27 08:06:04

match -- ABOUT TEMPLATE AND DISPLAY HYPHENS: -- -- The "template hyphen" is the per-script hyphen character that is used in -- template calls to indicate...

Click to read more »
Module:Parameter names example
Rabu, 2018-02-14 05:59:59

targs[k] = v end end -- Find the template name. local template if args._template then template = args._template else local currentTitle = mw.title...

Click to read more »
Module:Transclusion count
Kamis, 2022-12-29 06:19:21

fetch(frame) local template = nil local return_value = nil -- Use demo parameter if it exists, otherswise use current template name local namespace...

Click to read more »
Module:Object usage
Senin, 2020-04-27 08:08:31

local means = pargs["means"] if mw.title.getCurrentTitle().nsText == "Template" then lang = "und" means = "meaning" end lang = lang and...

Click to read more »
Module:NUMBEROF/doc
Sabtu, 2020-06-13 03:44:50

Module:NUMBEROF/data, Module:NUMBEROF/rank and Module:NUMBEROF/other once per page [not per template invocation]. The module was originally developed on Enwiki....

Click to read more »
Module:Relatit
Sabtu, 2020-10-03 05:34:35

produces a link to a relatit article or articles. It implements the -- template {{relatit}}. -- -- If the module is used in category or category talk...

Click to read more »
Module:Biota infobox
Minggu, 2022-10-23 22:23:26

local templateArgs = {} -- contains preprocessed arguments from calling template --TODO use info.args instead of templateArgs...

Click to read more »
Module:Languages
Senin, 2023-03-06 07:19:41

if not template_tag then template_tag = "" else if type(template_tag) ~= "string" then template_tag = template_tag() end template_tag = "...

Click to read more »
Module:Etymology/templates
Sabtu, 2020-09-19 07:19:07

those used by " .. "{{[[Template:der|der]]}}, {{[[Template:inh|inh]]}}, " .. "{{[[Template:bor|bor]]}}. See [[Template:calque/documentation]] for...

Click to read more »
Module:Zh-hanzi-box
Senin, 2020-04-27 08:11:35

-- This module is currently used by Template:zh-hanzi-box, which is meant to be a replacement for both zh-hanzi and Hani-forms -- CSS is in MediaWiki:Common...

Click to read more »
Module:Labels/templates
Sabtu, 2020-09-19 03:06:19

[[Module:parameters]] [[Module:utilities]] [[Module:languages]] [[Module:template_link]] ]=] function export.show(frame) local parent_args = frame:getParent()...

Click to read more »
Module:Documentation/config
Jumat, 2022-01-28 01:50:00

-------------------------------------------------------- -- Protection template configuration --------------------------------------------------------...

Click to read more »
Module:ForLoop
Selasa, 2018-05-29 14:18:29

calltemplates then result = result .. p.callTemplate(template, targs) else result = result .. makeTemplate(template, targs) end end end return result...

Click to read more »
Module:Pt-conj
Senin, 2020-04-27 08:11:05

(required): Ending of the verb. The last characters chosen specifically by the template. -- compound (required if applicable): Compound words. Text to be added...

Click to read more »
Module:Rhymes
Senin, 2023-03-27 01:39:17

(not args[1] or args[1] == "") and mw.title.getCurrentTitle().nsText == "Template" then return '[[Rhymes:Scots/aɪmz|<span class="IPA">-aɪmz</span>]]' ...

Click to read more »
Module:Senseid
Senin, 2020-04-27 08:11:17

Wikidata ids if Wikidata_id(id) then --[=[ [[Special:WhatLinksHere/Template:Wt/sco/tracking/senseid/Wikidata]] ]=] require("Module:debug")...

Click to read more »
Module:Category relatit
Jumat, 2020-10-23 03:30:06

makeWikitextError(msg) return string.format( '<strong class="error">Error: %s ([[Template:Category relatit]])</strong>', msg ) end -- Gets the length of the...

Click to read more »
Module:UserLinks
Sabtu, 2018-02-17 15:15:53

of links about a given user. It can be used on -- -- its own or from a template. See the /doc page for more documentation. --...

Click to read more »
Module:Location map/data/Scotland Renfrewshire/doc
Sabtu, 2020-12-26 05:08:17

the following: Template:Location map#Relief parameter Template:Location map+/relief Template:Location map#AlternativeMap parameter Template:Location map+/AlternativeMap...

Click to read more »
Module:Navbar
Jumat, 2022-01-28 01:50:11

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...

Click to read more »
Module:Nn-verb-irreg
Senin, 2020-04-27 08:08:29

(NAMESPACE == "Template" and "word") or error("Unhelpful error")) past_tense = p.link(PAGENAME, args[2] or (NAMESPACE == "Template" and "word") or...

Click to read more »
Module:Labelled list hatnote
Selasa, 2019-12-17 11:25:05

argument labelForm = '%s: %s', prefixes = {'label', 'label ', 'l'}, template = 'Module:Labelled list hatnote' } -- Helper function that pre-combines...

Click to read more »
Module:Debug
Senin, 2020-04-27 08:06:08

function export.track_unrecognized_args(args, template_name) local function track(code) export.track(template_name .. "/" .. code) end track("unrecognized...

Click to read more »
Module:Columns
Senin, 2020-04-27 08:06:03

iparams = { ["class"] = {}, -- Default for auto-collapse. Overridable by template |collapse= param. ["collapse"] = {type = "boolean"}, -- If specified...

Click to read more »
Module:Xpsoc
Rabu, 2017-04-19 08:45:54

-- This module implements {{xpsoc}}. local mTemplateInvocation = require('Module:Template invocation') local p = {} function p._main(args, frame) ...

Click to read more »
Module:Biota infobox/core
Minggu, 2022-10-23 22:23:15

require('strict') local p = {} local templateArgs = {} local info = {} local paramData = require( 'Module:Biota infobox/data' ) -- contains the taxon...

Click to read more »
Module:La-noun/table
Senin, 2020-04-27 08:06:57

forms) return wikitable end local stylesheet = require("Module:TemplateStyles")("Template:Wt/sco/la-decl-1st/style.css") function export.make_table_sg(data)...

Click to read more »
Module:Asbox stubtree
Jumat, 2014-01-10 07:47:15

{} function i.exists(pagename) local t = mw.title.new(pagename, "Template") return t.exists end function i.pcase(word) return mw.ustring...

Click to read more »
Module:Lua banner
Kamis, 2020-10-15 01:53:50

-- This module implements the {{lua}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools =...

Click to read more »
Module:Autotaxobox
Minggu, 2022-10-23 22:21:34

taxonomy templates (templates with names of the form "Template:Taxonomy/TAXON_NAME") without causing template expansion depth errors. **********************...

Click to read more »
Module:Unsubst
Senin, 2018-06-04 23:35:27

if -- not, it returns the template body. The template body can be specified in -- the body parameter, or in the template parameter defined in the --...

Click to read more »
Module:WikidataCheck
Senin, 2015-03-02 22:04:48

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...

Click to read more »
Module:Accent qualifier
Senin, 2020-04-27 08:05:57

(not args[1] or args[1] == "") and mw.title.getCurrentTitle().nsText == "Template" then return m_qualifier.format_qualifier{ '{{{1}}}' } end local...

Click to read more »
Module:Random portal component
Senin, 2018-06-04 01:29:53

-- This module implements [[Template:Random portal component]] local p = {} local mRandom = require('Module:Random') local currentTitle = mw.title.getCurrentTitle()...

Click to read more »
Module:CountryData
Kamis, 2017-04-20 12:28:47

local function getcontents(frame,country,params) return frame:expandTemplate({title="Kintra data "..country;args=params}) end function p.gettable(frame...

Click to read more »
Module:Video gemme reviews/data
Jumat, 2018-08-10 12:28:35

gemme reviews template in multiple platform mode]]', singleplatformCategory = '[[Category:Airticles uisin Video gemme reviews template in single platform...

Click to read more »
Module:If empty
Kamis, 2020-10-15 01:12:59

local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) -- For backwards compatibility reasons...

Click to read more »
Module:Tlg
Senin, 2020-09-28 22:46:47

-- This implements Template:Tlg local getArgs = require('Module:Arguments').getArgs local p = {} -- Is a string non-empty? local function _ne(s) return...

Click to read more »
Module:Gutenberg
Senin, 2019-12-23 07:57:06

"Gutenberg author" -- name of calling template. Change if template is renamed. local id = nil ...

Click to read more »
Module:Citation
Jumat, 2014-04-18 20:48:59

local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself local LB = config.BracketLeft or "" local...

Click to read more »
Module:NUMBEROF
Kamis, 2023-09-07 04:56:00

== '' then if i then error('Parameter ' .. i .. ' is missing. See template documentation') end return nil end return mw.ustring.lower(arg) end...

Click to read more »
Module:Etymtree
Senin, 2020-04-27 08:06:23

branch_lang root_term = root_term or branch_term local tree_page = "Template:etymtree/" .. root_lang:getCode() .. "/" .. root_term local tree = mw...

Click to read more »
Module:Biota infobox/param
Minggu, 2022-10-23 22:23:18

require('strict') local p = {} local templateArgs = {} local info = {} local paramData = require( 'Module:Biota infobox/data' ) -- contains the taxon...

Click to read more »
Module:Convert
Rabu, 2020-09-02 02:10:55

-- Example: {{convert|123|lb|kg}} --> 123 pounds (56 kg) -- See [[:en:Template:Convert/Transwiki guide]] if copying to another wiki. local MINUS = '−'...

Click to read more »
Module:Message box
Selasa, 2025-07-15 09:49:30

name templateName = 'Template:' .. templateName self.templateTitle = getTitleObject(templateName) end self.isTemplatePage = self.templateTitle...

Click to read more »
Module:Convert/text
Senin, 2018-04-16 06:39:44

separate module to simplify translation for use on another wiki. -- See [[:en:Template:Convert/Transwiki guide]] if copying to another wiki. -- Some units accept...

Click to read more »
Module:London ward populations
Selasa, 2017-06-20 06:22:04

-- This module implements [[Template:London ward populations]]. local p = {} function p._main(args, frame) if not args[1] then return nil elseif...

Click to read more »
Module:Sports table
Minggu, 2022-10-23 22:19:49

text) local template_name = Args['template_name'] or '' local VTE_text = '' if template_name~='' then VTE_text = frame:expandTemplate{ title = 'navbar'...

Click to read more »
Module:Reply to
Sabtu, 2018-02-17 15:12:36

new(v) if not title then return '<strong class="error">Error in [[Template:Reply to]]: Input contains forbidden characters.</strong>' end args[k]...

Click to read more »
Module:SportsRankings
Minggu, 2022-10-23 22:22:43

class=\"error\"><code style=\"color:inherit; border:inherit; padding:inherit;\">&#124;_template=</code> missing or empty</span>'; -- data for various rankings held in...

Click to read more »
Module:Category handler/blacklist
Jumat, 2022-01-28 01:49:58

'^Wikipedia:Cascade%-protected items%f[/\0]', '^User:UBX%f[/\0]', -- The userbox "template" space. '^User talk:UBX%f[/\0]', -- Don't categorise subpages of these...

Click to read more »
Module:TNT
Minggu, 2025-12-28 01:06:08

INTRO: (!!! DO NOT RENAME THIS PAGE !!!) -- This module allows any template or module to be copy/pasted between -- wikis without any translation...

Click to read more »
Module:Form of
Minggu, 2020-11-01 12:28:51

[[Template:tracking/inflection of/tag/1s]] -- [[Template:tracking/inflection of/tag/1]] -- [[Template:tracking/inflection of/tag/s]] -- [[Template:tracking/inflection...

Click to read more »
Module:Translations
Senin, 2023-03-06 07:15:40

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local params = { [1] = {required = true...

Click to read more »
Module:Iucn
Minggu, 2022-10-23 22:24:46

identifiers in |doi=, |id=, and |page= are different from each other then the template is attempting to cite multiple sources. This function evaluates the identifier...

Click to read more »
Module:Usex/templates
Minggu, 2020-11-01 13:04:57

or "") ~= "" local compat = (frame.args["compat"] or "") ~= "" local template_inline = (frame.args["inline"] or "") ~= "" if compat then params["lang"]...

Click to read more »
Module:WikitextParser
Rabu, 2026-02-11 21:55:10

getContentLanguage() for _, template in pairs( templates ) do local templateName = parser.getTemplateName( template ) if lang:ucfirst( templateName ) == lang:ucfirst(...

Click to read more »
Module:Infobox road/length
Rabu, 2018-03-07 15:11:00

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...

Click to read more »
Module:Shortcut
Jumat, 2022-01-28 01:50:37

cfg = cfg or mw.loadData(CONFIG_MODULE) local templateMode = options.template and yesno(options.template) local redirectMode = options.redirect and yesno(options...

Click to read more »
Module:Infobox
Kamis, 2020-10-15 03:06:03

lists for the PHP parser -- https://en.wikipedia.org/w/index.php?title=Template_talk:Infobox_musical_artist&oldid=849054481 -- remove when [[:phab:T191516]]...

Click to read more »
Module:Ru-adjective
Senin, 2020-04-27 08:11:09

({short_class_title})]=] local template = nil local template_no_neuter = nil local proper_name_template = nil local template_mp = nil local template_mp_no_neuter = nil...

Click to read more »
Module:URL
Kamis, 2020-10-15 01:13:07

nomsg then return nil else return mw.getCurrentFrame():expandTemplate{ title = 'tlx', args = { 'URL', "''example.com''", "''optional display...

Click to read more »
Module:Utilities
Senin, 2020-04-27 08:11:31

if NAMESPACE == "Template" then return "" end error("Language code has not been specified. Please pass parameter 1 to the template.") end local...

Click to read more »
Module:Further
Kamis, 2016-11-10 02:49:41

"Further information: a, b and c" link. It implements -- the {{further}} template. --]] local mHatnote = require('Module:Hatnote') local mHatlist =...

Click to read more »
Module:Protection banner/config
Kamis, 2022-12-29 06:19:20

true}, ['Template:Pp-sock'] = {'sock'}, ['Template:Pp-template'] = {'template', small = true}, ['Template:Pp-upload']...

Click to read more »
Module:Details
Selasa, 2018-05-15 08:14:20

"For mair details on this topic" link. It implements -- the {{details}} template. --]] local mHatnote = require('Module:Hatnote') local mArguments -- lazily...

Click to read more »
Module:Geor-translit
Sabtu, 2017-03-11 01:21:55

font-size: 85%;">Please place Georgian text in the first parameter of {{[[Template:grc-transl|ka-transl]]}}.</span>' else return (mw.ustring.gsub(text...

Click to read more »
Module:Collation
Senin, 2020-04-27 08:06:02

non_BMP) or nil) end function export.sort_template(frame) if not mw.isSubsting() then error("This template must be substed.") end local args if...

Click to read more »
Module:Term cleanup
Senin, 2020-04-27 08:11:23

== "" then if title.nsText == "Template" then return "[[Category:Wt/sco/term cleanup/template namespace]]" elseif sc then ...

Click to read more »
Module:Pt-headword
Senin, 2020-04-27 08:11:06

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local args = frame:getParent().args PAGENAME...

Click to read more »
Module:Coordinates/styles.css
Sabtu, 2021-03-13 06:11:55

/* {{pp-template}} */ /* Geographical coordinates defaults. The classes "geo", "longitude", and "latitude" are used by the [[Geo microformat]]. */ .geo-default...

Click to read more »
Module:IsValidPageName
Rabu, 2017-04-19 07:19:39

-- This module implements [[Template:isValidPageName]]. local export = {} function export.isValidPageName(frame) local success, res = pcall(mw.title...

Click to read more »
Module:Myv-translit
Senin, 2020-04-27 08:08:26

export.tr(word) if type(word) == 'table' then -- called directly from a template word = word.args[1] end -- Ё needs converting if is...

Click to read more »
Module:Bua-translit
Senin, 2020-04-27 08:06:00

export.tr(word) if type(word) == 'table' then -- called directly from a template word = word.args[1] end -- Ё needs converting if is decomposed...

Click to read more »
Module:Webarchive/data
Kamis, 2020-07-09 07:30:58

allowed. tname = 'Webarchive', -- name of calling template. Change if template rename. verifydates = true, -- See documentation...

Click to read more »
Module:Hu-nominals
Senin, 2020-04-27 08:06:44

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local infl_type = frame.args[1] or error("Inflection...

Click to read more »
Module:Lang/utilities
Minggu, 2022-10-23 22:22:07

local template = (args['template'] and table.concat ({'{{', args['template'], '}}: '})) or ''; -- make template name (if provided by the template) return...

Click to read more »
Module:Error
Selasa, 2015-08-11 08:39:09

through to the module -- from the template page, so use the args that were passed into the template. args = frame.args else ...

Click to read more »
Module:Chm-translit
Senin, 2020-04-27 08:06:02

export.tr(word) if type(word) == 'table' then -- called directly from a template word = word.args[1] end -- Ё needs converting if is decomposed...

Click to read more »
Module:Ba-translit
Senin, 2020-04-27 08:05:59

export.tr(word) if type(word) == 'table' then -- called directly from a template word = word.args[1] end word = mw.ustring.gsub(word...

Click to read more »
Module:Pagetype/config
Senin, 2018-04-23 02:44:14

= 'file', ['mediawiki'] = 'interface page', ['template'] = 'template', ['help'] = 'help page', ['category'] ...

Click to read more »
Module:Ns has subpages
Jumat, 2017-03-10 05:05:59

-- This module implements [[Template:Ns has subpages]]. -- While the template is fairly simple, this information is made available to -- Lua directly...

Click to read more »
Module:Links/templates
Senin, 2020-04-27 08:08:24

[[Module:scripts]] [[Module:parameters]] [[Module:debug]] ]=] -- Used in [[Template:l]] and [[Template:m]]. function export.l_term_t(frame) local face = frame.args["face"]...

Click to read more »
Module:Pl-adj
Senin, 2020-04-27 08:11:04

then return comparator(pargs, stem, substem, suf) end end end -- template functions local function make_table(items, title, curtitle, width) local...

Click to read more »
Module:Scots byleid note
Rabu, 2020-10-21 00:07:41

mw.title.equals(title, mw.title.makeTitle('Template', title.rootText)) then --if it is on the main template page, load doc n = mArguments.getArgs(frame...

Click to read more »
Module:Roa-jer-headword
Senin, 2020-04-27 08:11:09

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local args = frame:getParent().args ...

Click to read more »
Module:Sah-translit
Senin, 2020-04-27 08:11:13

export.tr(word) if type(word) == 'table' then -- called directly from a template word = word.args[1] end word = mw.ustring.gsub(word,...

Click to read more »
Module:In5
Jumat, 2022-01-28 01:50:09

and convert to number. Default to 5 if not present, -- as per the template title. indent = tonumber( mw.text.trim(indent) ) or 5 -- Round...

Click to read more »
Module:Pages with authority control identifiers
Minggu, 2022-10-23 22:21:23

-- return frame:expandTemplate{ title = 'Large category TOC' } --elseif pageCount > 100 then -- return frame:expandTemplate{ title = 'Category TOC'...

Click to read more »
Module:Et-nominals
Senin, 2020-04-27 08:06:16

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local infl_type = frame.args[1] or error("Inflection...

Click to read more »
Module:Message box/configuration
Kamis, 2022-12-29 06:19:19

= true, templateCategory = 'Article message templates', templateCategoryRequireName = true, templateErrorCategory ...

Click to read more »
Module:Singles
Selasa, 2017-08-01 01:14:37

['$B'] = 'template content' } p[''] = function ( frame ) if not frame.args['$B'] then error( '{{#invoke:Singles|}} requires parameter $B (template content)'...

Click to read more »
Module:Sl-noun
Senin, 2020-04-27 08:11:20

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local infl_type = frame.args[1] or error("Inflection...

Click to read more »
Module:Headword
Sabtu, 2023-04-08 08:22:19

preprocess(data) --[=[ [[Special:WhatLinksHere/Template:tracking/headword/heads-not-table]] [[Special:WhatLinksHere/Template:tracking/headword/translits-not-table]]...

Click to read more »
Module:IPA/data
Senin, 2020-04-27 08:05:48

codes for new pronunciation keys to the list below. This will allow [[Template:Wt/sco/IPA]] and the functions in [[Module:IPA]] to automatically link...

Click to read more »
Module:ParseVauthors
Sabtu, 2017-10-21 11:33:23

args = frame:getParent().args -- This gets the arguments passed to the template that called #invoke, so we don't need to pass them all through to the module...

Click to read more »
Module:Redirect-distinguish
Selasa, 2017-04-11 07:57:03

then return mHatnote.makeWikitextError( 'no redirect supplied', 'Template:Redirect-distinguish', args.category ) end local redirectTitle =...

Click to read more »
Module:Parameters
Senin, 2020-04-27 08:11:01

trigger an error, unless we're in the template namespace. if mw.title.getCurrentTitle().nsText ~= "Template" then local list = {} for name, param...

Click to read more »
Module:Football manager history
Senin, 2017-10-09 10:21:55

-- Implement [[Template:Football manager history]] to avoid articles being -- added to [[:Category:Pages where template include size is exceeded]] -- when...

Click to read more »
Module:Automated taxobox
Minggu, 2022-10-23 22:23:22

implements Template:Automatic taxobox; see the documentation -- of that template for details. -- The following parameters present in the old template code version...

Click to read more »
Module:Location map/data/doc
Sabtu, 2021-03-13 06:12:16

Module documentation This page is a template which generates documentation for location map data modules having names starting with "Module:Location map/data/"...

Click to read more »
Module:Lang/data
Kamis, 2020-10-15 02:38:04

(Romance leid)"}, -- see Template_talk:Lang#Ligurian_dab ['mnh'] = {"Mono leid (Congo)"}, -- see Template_talk:Lang#Mono_languages ['mnr']...

Click to read more »
Module:Br separated entries
Jumat, 2014-01-10 04:25:23

If the invoking template passed any arguments, -- use them. Otherwise, use the arguments that were passed into the template. origArgs...

Click to read more »
Module:Preview warning
Senin, 2018-06-04 02:53:33

-)%s*$') or '' if preview == '' then preview = 'Something is wrang wi this template' end if frame:preprocess( "{{REVISIONID}}" ) == "" then return '<div class="hatnote"...

Click to read more »
Module:Dsb-headword
Senin, 2020-04-27 08:06:09

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local args = frame:getParent().args PAGENAME...

Click to read more »
Module:Sports table/sub
Senin, 2018-06-25 09:04:19

hth_id_list[team_code_ii] = hth_id -- Call refn template hth_string = hth_string .. frame:expandTemplate{ title = 'efn', args = { group='Table_notes'...

Click to read more »
Module:Citation/CS1/styles.css
Kamis, 2020-10-15 01:12:55

right corner it must remain within this comment {{sandbox other||{{pp-template}}}} */ /* Overrides Some wikis do not override user agent default styles...

Click to read more »
Module:Ru-common
Senin, 2020-04-27 08:11:10

other modules, not #invoke, although some functions can be invoked from a template (export.iotation(), export.reduce_stem(), export.dereduce_stem() -- this...

Click to read more »
Module:Autovirusbox
Minggu, 2022-10-23 22:24:37

========================== -- main implements Template:Virusbox; see the documentation of that template -- for details. -- ==========================...

Click to read more »
Module:High-use
Kamis, 2022-12-29 06:25:46

and count > 2000) and ("''', and " .. templateCount) or ("'''")) else used_on_text = used_on_text .. templateCount .. "'''" end local sandbox_text...

Click to read more »
Module:Indtr
Senin, 2020-04-27 08:06:46

getCurrentTitle().text if (args[1] == nil and mw.title.getCurrentTitle().nsText == "Template") then args[1] = "und" end local lang = require("Module:languages")...

Click to read more »
Module:Settlement short description
Selasa, 2019-12-17 09:29:15

{{short description}} function p.shortdesc(text, frame) return frame:expandTemplate{title = 'Short description', args = {text, 'noreplace'}} end function...

Click to read more »
Module:Labels
Senin, 2020-04-27 08:06:59

term_mode) if #labels < 1 then if mw.title.getCurrentTitle().nsText == "Template" then labels = {"example"} else error("You must specify at least...

Click to read more »
Module:Nl-adjectives
Senin, 2020-04-27 08:08:27

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local infl_type = frame.args[1] or "adjective"...

Click to read more »
Module:WDL
Minggu, 2022-10-23 22:23:58

and not drawn and not lost then return '' end return frame:expandTemplate{title = 'Number table sorting', args = { (won or 0) + (drawn or 0) + (lost...

Click to read more »
Module:Wikidata/debug
Jumat, 2021-02-12 18:40:54

functions for debugging Wikidata data, do not use them on any article or template local p = {} -- Dump data tree structure -- From pl:Module:Wikidane, by...

Click to read more »
Module:Citation/CS1/Whitelist
Kamis, 2020-10-15 01:12:54

preprint_arguments = preprint_arguments, preprint_template_list = template_list_get (preprint_arguments), -- make a template list from preprint_arguments{} table...

Click to read more »
Module:Currency
Minggu, 2022-10-23 22:24:55

style="font-size:inherit" class="error">{{currency}} – definition missing position ([[Template:Currency/doc#Error_messages|help]])</span>'; -- position not defined end...

Click to read more »
Module:Flagg
Selasa, 2019-12-17 11:28:00

elseif mn=="d" then --data template --check if redirect if require('Module:Redirect').luaIsRedirect("Template:Country data "..country) then...

Click to read more »
Module:Fi-nominals
Senin, 2020-04-27 08:06:26

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local infl_type = frame.args[1] or error("Inflection...

Click to read more »
Module:Icon
Selasa, 2018-01-30 07:46:33

-- This module implements [[Template:Icon]]. local data = mw.loadData('Module:Icon/data') local p = {} function p._main(args) local code = args.class...

Click to read more »
Module:Navbar/configuration
Jumat, 2022-01-28 01:50:14

-- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Invalid title...

Click to read more »
Module:Check isxn
Sabtu, 2017-03-04 05:19:47

-- This template is a copy of the ISXN validation code from [[Module:Citation/CS1]] -- which allows for validating ISBN, ISMN, and ISSN without invoking...

Click to read more »
Module:Geobox coor
Jumat, 2015-08-07 05:45:38

-- this module implements [[template:geobox coor]] local geobox_coor = {} local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$' ) ~= ''...

Click to read more »
Module:ISOdate
Senin, 2023-02-13 21:54:31

the function mimicking template:ISOdate * User:Jarekt - original version of the functions mimicking template:Date and template:ISOyear ]] local p...

Click to read more »
Module:Hatnote inline
Rabu, 2017-05-03 12:07:22

Module:Hatnote. It -- -- implements the {{hatnote-inline}} meta-template. -- ----------------------------------------...

Click to read more »
Module:Usex
Minggu, 2020-11-01 13:08:03

then --[=[ [[Special:WhatLinksHere/Template:tracking/quote/substs]] [[Special:WhatLinksHere/Template:tracking/usex/substs]] ]=] ...

Click to read more »
Module:Language/data/wp languages
Selasa, 2018-04-10 12:10:10

grc = Ancient Greek (to 1453); gre not an IANA-registered code; used by Template:lang-grc-gre ["map-bms"] = {"Banyumasan"}, -- dialect of Javanese;...

Click to read more »
Module:WikidataCoord
Minggu, 2022-10-23 22:21:50

>---------------------------------------------------------------------- Template entry point. This function takes up to two unnamed positional parameters:...

Click to read more »
Module:Coxeter–Dynkin diagram
Selasa, 2019-12-17 11:29:38

parameter list into a list of [[Coxeter–Dynkin diagram]] images. -- See the template documentation or any example for how it is used and works. local p = {}...

Click to read more »
Module:Succession table monarch/messages
Jumat, 2018-08-03 12:31:50

reignStart = 'Ring stairt', reignEnd = 'Ring end', notes = 'Notes', family = 'Faimily', image = 'Eemage', plainlistTemplateName = 'Plainleet' }...

Click to read more »
Module:User
Senin, 2018-04-23 03:00:52

--[=[ -- This module implements {{user}}. {{user}} is a high-use template, sometimes -- with thousands of transclusions on a page. This module optimises...

Click to read more »
Module:Calendar date
Minggu, 2022-10-23 22:24:41

date/Events "localfile" = local data file (eg. https://en.wikipedia.org/wiki/Template:Calendar_date/localfiles/Hanukkah) "calculator" = user-supplied date...

Click to read more »
Module:Infobox multi-lingual name
Minggu, 2022-10-23 22:22:35

This function handles the |showflag= parameter from the template {{Infobox Chinese}}. That template passes the value to {{Infobox Chinese/Chinese}} which...

Click to read more »
Module:Number list
Senin, 2020-04-27 08:08:29

getCurrentTitle().nsText == "Template" and "und") or error("Language code has not been specified. Please pass parameter 1 to the template.") local sc = args["sc"];...

Click to read more »
Module:Convert/data
Selasa, 2018-01-30 07:37:14

access to this module so that it is loaded only once per page. -- See [[:en:Template:Convert/Transwiki guide]] if copying to another wiki. -- -- These data...

Click to read more »
Module:Geobox map
Rabu, 2017-04-26 02:13:40

-- this module implements [[template:geobox2 map]] local getArgs = require('Module:Arguments').getArgs local data_module = "Module:Geobox map/data" local...

Click to read more »
Module:Redirect hatnote
Sabtu, 2017-10-28 02:50:21

redirects here. For other uses, see Y.' -- It implements the {{redirect}} template. --]] local mHatnote = require('Module:Hatnote') local mHatList =...

Click to read more »
Module:Pl-noun
Senin, 2020-04-27 08:11:04

export.template_decl_noun(frame) local pargs = frame:getParent().args return make_table_from_pargs(pargs, noun_cols, nil) end function export.template_decl_pronoun(frame)...

Click to read more »
Module:Unsubst-infobox
Senin, 2017-07-03 04:42:02

'parameter aliases', ['$indent'] = 'indent', ['$flags'] = 'flags', ['$B'] = 'template content' } p[''] = function ( frame ) if not frame:getParent() then ...

Click to read more »
Module:Main
Selasa, 2018-05-15 01:35:10

module produces a link to a main article or articles. It implements the -- template {{main}}. -- -- If the module is used in category or category talk space...

Click to read more »
Module:IPA
Senin, 2020-04-27 08:05:48

Format if #items == 0 then if mw.title.getCurrentTitle().nsText == "Template" then table.insert(items, {pron = "/aɪ piː ˈeɪ/"}) else table.insert(categories...

Click to read more »
Module:Category described in year
Minggu, 2022-10-23 22:23:29

namespace; required for testing/doc/etc. purposes local header = ' ' --header template(s), nav bar, and category description text; whitespace-initialized for...

Click to read more »
Module:Coordinates
Minggu, 2022-10-23 22:18:54

local args = require('Module:Arguments').getArgs(frame, { wrappers = 'Template:Coord' }) return coordinates[funcName](args, frame) end end --[[...

Click to read more »
Module:Fr-headword
Senin, 2020-04-27 08:06:33

== "?" and mw.title.getCurrentTitle().nsText == "Template" then -- allow unknown gender in template example elseif g and g ~= "" and not allowed_genders[g]...

Click to read more »
Module:IrelandBiCoontyCatNav
Sabtu, 2018-05-12 23:09:26

'Template:AwIrelandBiCoontyCatNav', 'Template:RepublicOIrelandAnerlyBiCoontyCatNav', 'Template:NorthrenIrelandAnernlyBiCoontyCatNav', 'Template...

Click to read more »
Module:Links
Senin, 2023-03-06 07:20:09

unsupported_titles[target] end -- If the link contains unexpanded template parameters, then don't create a link. if target:find("{{{") then return...

Click to read more »
Module:Es-headword
Senin, 2020-04-27 08:06:15

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) PAGENAME = mw.title.getCurrentTitle().text...

Click to read more »
Module:Gender and number
Senin, 2020-04-27 08:06:37

aspect">pf</abbr>' -- Version of format_list that can be invoked from a template. function export.show_list(frame) local args = frame.args local lang...

Click to read more »
Module:Purge
Selasa, 2016-07-26 16:06:46

-- This module implements [[Template:Purge]]. local p = {} local function makeUrlLink(url, display) return string.format('[%s %s]', url, display) end...

Click to read more »
Module:Requested move
Kamis, 2023-11-23 17:20:00

nowiki('}}') local msg = '<strong class="error">' .. 'This template must be [[Wikipedia:Template substitution|substituted]];' .. ' replace %srequested...

Click to read more »
Module:Flaglist
Kamis, 2020-01-02 12:41:03

-- Calculates the width of the span box for [[Template:Flaglist]] -- based on the specified image size local p = {} function p.luawidth(size) --For...

Click to read more »
Module:Age
Kamis, 2018-05-31 13:57:06

overridden. local name = frame.args.template if not name then return message('The template invoking this must have "|template=x" where x is the wanted operation')...

Click to read more »
Module:Infobox road
Sabtu, 2023-07-29 07:07:52

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...

Click to read more »
Module:Vep-nominals
Senin, 2020-04-27 08:11:32

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local infl_type = frame.args[1] or error("Inflection...

Click to read more »
Module:File link
Kamis, 2022-01-20 20:04:00

getArgs(frame, { wrappers = 'Template:File link' }) if not origArgs.file then error("'file' parameter missing from [[Template:File link]]", 0) end --...

Click to read more »
Module:R:M&A
Senin, 2020-04-27 08:05:51

(not args[1] or args[1] == "") and mw.title.getCurrentTitle().nsText == "Template" then return "" else return print_html(w) end end return export...

Click to read more »
Module:IPAc-en
Selasa, 2017-03-28 03:06:56

-- This module implements [[Template:IPAc-en]]. local data = mw.loadData('Module:IPAc-en/data') local p = {} -- Global container for tracking categories...

Click to read more »
Module:IPAc-ro
Minggu, 2018-01-21 03:18:31

-- This module implements [[Template:IPAc-ro]]. local data = mw.loadData('Module:IPAc-ro/data') local p = {} -- Global container for tracking categories...

Click to read more »
Module:Episode table
Jumat, 2018-08-03 12:27:26

black_cr > white_cr and 'black' or 'white') :wikitext("'''" .. frame:expandTemplate({title='Visible anchor',args={displaytext}}) .. "'''" .. (args.r and "&#8202;"...

Click to read more »
Module:Hidden ping
Minggu, 2020-02-09 04:04:42

"{{REVISIONID}}" ) ~= "") then return '' end msg ='<strong>Error in [[Template:Hidden ping]]:</strong> ' .. msg return mw.text.tag('div', {['class']='error'}...

Click to read more »
Module:Babel
Sabtu, 2019-12-21 01:47:32

require('Module:Arguments').getArgs end local args = getArgs(frame, {wrappers = 'Template:Babel'}) local ret = mw.html.create('table') :addClass('userboxes')...

Click to read more »
Module:Category handler/config
Jumat, 2022-01-28 01:49:58

Wrappers -- -- This is a wrapper template or a list of wrapper templates to be passed to -- -- [[Module:Arguments]]...

Click to read more »
Module:Protection banner
Rabu, 2026-02-18 15:57:12

text ) end if self:isTemplateProtectedNonTemplate() then ret[#ret + 1] = makeCategoryLink( msg['tracking-category-template'], self.title.text...

Click to read more »
Module:Infobox road/locations
Rabu, 2018-03-07 15:11:22

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...

Click to read more »
Module:For nowiki
Jumat, 2019-06-14 06:39:55

return doLoop(frame, args, code, sep, offset, argstosub) end function p.template(frame) local sep = frame.args[1] local code = frame.args[2] or frame...

Click to read more »
Module:Solar eclipse
Selasa, 2019-12-17 11:02:27

]*([EW])%s*$') if( lat and NS and lon and EW ) then return frame:expandTemplate{ title = 'coord', args = {lat, NS, lon, EW, 'type:landmark'} } else ...

Click to read more »
Module:Portal bar
Minggu, 2022-10-23 22:19:57

) -- If called via #invoke, use the args passed into the invoking -- template, or the args passed to #invoke if any exist. Otherwise -- assume args...

Click to read more »
Module:Excerpt
Minggu, 2026-05-10 22:46:34

-- Module:Excerpt implements the Excerpt template -- Documentation and master version: https://en.wikipedia.org/wiki/Module:Excerpt -- Authors: User:Sophivorus...

Click to read more »
Module:Gaps
Sabtu, 2017-09-02 03:19:20

require('Module:Arguments').getArgs end local args = getArgs(frame, {wrappers = 'Template:Gaps'}) local ret = mw.html.create('span') :css({['white-space'] =...

Click to read more »
Module:Letters
Senin, 2020-04-27 08:08:20

-- k = key, it is the key to "v" -- v = value, each argument given in Template:letters for k, v in pairs(args) do -- It does not contain "sc=", which...

Click to read more »
Module:Wd/i18n
Rabu, 2020-07-08 09:42:08

=> right side: corresponding parameter names in (equivalent of) [[:en:Template:Cite web]] (if non-existent, keep empty i.e. "") [aliasesP.statedIn]...

Click to read more »
Module:Sv-nouns
Senin, 2020-04-27 08:11:21

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local infl_type = frame.args[1] or error("Inflection...

Click to read more »
Module:Vi
Senin, 2020-04-27 08:11:33

compWord(word1, word2) end end end return text1 < text2 end ---[[Template:vi-readings]] function p.readings(hanviet, nom, rs, phienthiet) if type(hanviet)...

Click to read more »
Module:Infobox multi-lingual name/data
Sabtu, 2020-02-08 11:25:50

|showflag= are in dispute see: Template_talk:Infobox_Chinese#Rfc_on_fixing_the_template_showflag linked conversation is at: Template_talk:Infobox_Chinese/Archive_4#Showflag...

Click to read more »
Module:IPA symbol
Selasa, 2017-03-28 03:27:37

return mw.ustring.format( '<strong class="error">Error using {{[[Template:IPA symbol|IPA symbol]]}}: %s%s</strong>' ,message ,mw.title...

Click to read more »
Module:TaxonList
Senin, 2018-06-04 02:24:20

output "(incomplete)" at the end of the list }} The template that transcludes the invoking template must supply an indefinite even number of arguments...

Click to read more »
Module:Episode list
Minggu, 2015-11-08 07:52:44

= false, wrappers = 'Template:Episode list/sublist'}) else args = getArgs(frame, {removeBlanks = false, wrappers = 'Template:Episode list'}) end ...

Click to read more »
Module:UserLinks/config
Sabtu, 2018-02-17 15:19:56

section. cfg['error-config-message-help'] = '[[Template:User-multi|User-multi]] error:' .. ' $1 ([[Template:User-multi#$2|help]]).' -- The error message...

Click to read more »
Module:Mapframe
Rabu, 2020-07-08 09:38:43

template) end elseif mw.ustring.find(template, L10n.template.Coord) then local subOutput = util.extractCoordTemplates(mw.ustring.sub(template, 2))...

Click to read more »
Module:Ru-headword
Senin, 2020-04-27 08:11:11

call is the part of speech. Other parameters are taken from the parent template call. The implementations for different types of headwords (different...

Click to read more »
Module:Osx-decl-adj
Senin, 2020-04-27 08:10:59

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local parent_args = frame:getParent().args...

Click to read more »
Module:Video gemme wikidata
Jumat, 2017-08-11 00:06:43

end; if(scoreBy == reviewer) then -- If template specified a system, we need to check for the specific system and only output...

Click to read more »
Module:Hms
Senin, 2017-07-03 04:45:15

= require('Module:Arguments').getArgs(frame, {wrappers = {'Template:Duration', 'Template:Duration/sandbox'}}) local tmp = args.duration or args[1] or...

Click to read more »
Module:Pt-adjectives
Senin, 2020-04-27 08:11:05

template. function export.show(frame) local args = frame:getParent().args local base = args[1] or (mw.title.getCurrentTitle().nsText == "Template"...

Click to read more »
Module:Pl-IPA
Senin, 2020-04-27 08:11:03

concat(word) end end return table.concat(words) end function export.template_IPA(frame) local args = frame.args local pargs = frame:getParent().args...

Click to read more »
Module:Es-conj/data/entry data
Senin, 2020-04-27 08:06:13

number = 'p', region = 'Spain'}}, [73] = {} } function export.make_template(form_param_table, ending, infinitive) local result = {'{{es-verb form...

Click to read more »
Module:Nl-adjective
Senin, 2020-04-27 08:08:26

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) PAGENAME = mw.title.getCurrentTitle().text...

Click to read more »
Module:Ru-noun
Senin, 2020-04-27 08:11:12

</div></div> ]===] internal_notes_template = rsub(notes_template, "notes", "internal_notes") local function template_prelude(min_width) min_width = min_width...

Click to read more »
Module:Gallery
Selasa, 2019-12-17 11:36:57

This module implements {{gallery}} local p = {} local templatestyles = 'Template:Gallery/styles.css' local function trim(s) return mw.ustring.gsub(mw...

Click to read more »
Module:Pagelist
Sabtu, 2014-01-18 06:14:45

If the invoking template passed any arguments, -- use them. Otherwise, use the arguments that were passed into the template. origArgs...

Click to read more »
Module:Rail-interchange multi
Senin, 2019-09-23 08:25:32

if args[1] or args[2] then result = result .. sep .. frame:expandTemplate{ title = 'Rail-interchange', args = args } end end end if div ==...

Click to read more »
Module:Hatnote
Sabtu, 2020-10-03 05:17:02

rather than the standard MediaWiki "#". Used in -- the {{format link}} template. --------------------------------------------------------------------------------...

Click to read more »
Module:Series overview
Minggu, 2022-10-23 22:22:39

frame:expandTemplate{title='N/A',args={string.sub(text,findpipe+3)}} ) else cell = SeriesOverview.series_attributes( frame:expandTemplate{title='N/A'}...

Click to read more »
Module:Based on
Jumat, 2019-04-26 03:15:14

not working for some reason h:wikitext('bi ') h:wikitext(frame:expandTemplate{ title = 'Unbulleted list', args = args }) return h elseif frame...

Click to read more »
Module:Ru-translit
Senin, 2020-04-27 08:11:13

sub, forceadj) if type(text) == 'table' then -- called directly from a template include_monosyllabic_jo_accent = ine(text.args.include_monosyllabic_jo_accent)...

Click to read more »
Module:Ja-headword
Senin, 2020-04-27 08:06:48

kana detected in the unnamed parameters, |hira= and |kata= parameter. See template documentation for details.") end -- go through args and build inflections...

Click to read more »
Module:Fr-pron
Senin, 2020-04-27 08:06:33

original by Kc kennylau Generates French IPA from spelling. Implements template {{fr-IPA}}; also used in [[Module:fr-verb]] (particularly [[Module:fr-verb/pron]]...

Click to read more »
Module:Es-conj
Senin, 2020-04-27 08:06:11

pairs(entry_data.data[i]) do table.insert(result[form_s_t], entry_data.make_template(def, ending, infinitive)) end end end end end return...

Click to read more »
Module:Lb-headword
Senin, 2020-04-27 08:08:20

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local args = frame:getParent().args PAGENAME...

Click to read more »
Module:Uk-headword
Senin, 2020-04-27 08:11:26

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local args = frame:getParent().args PAGENAME...

Click to read more »
Module:RoundN
Rabu, 2018-06-27 12:32:48

_scoreWidth) end if p.template or p.article_include then p.template = mw.title.new(args.name) p.templateFixedName = (p.template.namespace == 0 and not...

Click to read more »
Module:TreeChart
Minggu, 2022-10-23 22:24:11

local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Chart', trim = false, removeBlanks = false}) local cell_args = { colspan...

Click to read more »
Module:Roman
Sabtu, 2019-07-13 05:38:20

{{Roman}}. local p = {} -- This function implements the {{overline}} template. local function overline(s) return mw.ustring.format( '<span...

Click to read more »
Module:Eo-headword
Senin, 2020-04-27 08:06:11

getPOS(PAGENAME) if not poscat then if mw.title.getCurrentTitle().nsText == "Template" then poscat = "nouns" else error("Part of speech of \"" .. PAGENAME...

Click to read more »
Module:La-headword
Senin, 2020-04-27 08:06:54

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local NAMESPACE = mw.title.getCurrentTitle()...

Click to read more »
Module:Hu-pron
Sabtu, 2023-04-01 22:57:56

mw.ustring.sub(result[1], 2, mw.ustring.len(result[1]) - 1) else return frame:expandTemplate{ title = "IPA", args = result} end end return export...

Click to read more »
Module:La-noun
Senin, 2020-04-27 08:06:55

local export = {} local lang = require("Module:languages").getByCode("la") local m_links = require("Module:links") local m_utilities = require("Module:utilities")...

Click to read more »
Module:La-nominal
Senin, 2020-04-27 08:06:55

local export = {} --[=[ Authorship: Ben Wing <benwing2>, with many ideas and a little code coming from the old [[Module:la-decl-multi]] by KC Kenny...

Click to read more »
Module:Icon/data
Selasa, 2018-01-30 07:49:32

tooltip = "Redirect", }, template = { aliases = {"temp", "templ"}, image = "Symbol template class.svg", tooltip = "Template", }, essay = { image...

Click to read more »
Module:Section link
Minggu, 2022-10-23 22:23:54

local args = require('Module:Arguments').getArgs(frame, { wrappers = 'Template:Section link', valueFunc = function (key, value) value = value:match('^%s*(...

Click to read more »
Module:TimeAgo
Selasa, 2016-06-21 23:49:55

-- Replacement for [[Template:Time ago]] local numberSpell = require('Module:NumberSpell')._main local yesno = require('Module:Yesno') local p = {} --...

Click to read more »
Module:If preview
Kamis, 2018-02-22 08:08:13

first argument or second argument passed to this module's parent (i.e. template using this module), depending on whether it is being previewed. Usage:...

Click to read more »
Module:Userbox
Sabtu, 2017-03-11 05:25:02

user -- Template namespace. local basepage = title.baseText local template = '' for i, cat in ipairs(cats) do template = template .. makeCat(cat...

Click to read more »
Module:Internet Archive
Sabtu, 2017-03-11 01:36:36

existing uses of the template and off-line tools which are optimized for these search recipes. ]] local p = {} --[[ For Template:Internet Archive...

Click to read more »
Module:Transcluder
Jumat, 2026-02-06 21:33:43

insert(templates, template) else text = removeString(text, template) end end end end return templates, text end -- Get the requested template parameters...

Click to read more »
Module:SportsRankings/data/World Football Elo Ratings
Jumat, 2023-07-28 01:14:52

templates used by module data.templates = { flagged_team_link = "fb" } -- template for flag icon and team link -- general information about ranking and website...

Click to read more »
Module:Ofs-decl-noun
Senin, 2020-04-27 08:08:32

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local parent_args = frame:getParent().args...

Click to read more »
Module:Sl-headword
Senin, 2020-04-27 08:11:20

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local args = frame:getParent().args PAGENAME...

Click to read more »
Module:Ca-headword
Senin, 2020-04-27 08:06:01

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) PAGENAME = mw.title.getCurrentTitle().text...

Click to read more »
Module:Nl-headword
Senin, 2020-04-27 08:08:28

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) PAGENAME = mw.title.getCurrentTitle().text...

Click to read more »
Module:Clade
Minggu, 2022-10-23 22:21:39

table structure of the clade tree: The main function is called by the template using the {{invoke}} instruction; the three main functions are: ...

Click to read more »
Module:Portal
Jumat, 2019-12-20 08:40:54

--[==[ This module is a Lua implementation of the old {{Portal}} template. As of February 2019 it is used on nearly 7,900,000 articles. -- Please take...

Click to read more »
Module:Labels/data/regional
Sabtu, 2020-09-19 03:51:15

{"American English forms"}, language = "en", } -- kludge, needed here for [[Template:standard spelling of]] et al labels["American form"] = { display = "US"...

Click to read more »
Module:Ro-headword
Senin, 2020-04-27 08:11:08

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local args = frame:getParent().args NAMESPACE...

Click to read more »
Module:Archive list
Sabtu, 2018-02-17 15:13:38

-- template, but we will ignore those for simplicity. elseif type(linksToNum) == 'number' and linksToNum >= 0 then -- The old template rounded...

Click to read more »
Module:Ancient Egypt kings
Rabu, 2017-04-26 05:40:24

function is only used if you want to -- run this individual module from a template. local args = require( 'Module:Arguments' ).getArgs( frame, { parentOnly...

Click to read more »
Module:Ancient Egypt era
Rabu, 2017-04-26 05:38:25

function is only used if you want to -- run this individual module from a template. local args = require( 'Module:Arguments' ).getArgs( frame, { parentOnly...

Click to read more »
Module:Ja
Senin, 2020-04-27 08:06:48

text_old = gsub(text_old, '%(ba%)', ' (ba)') -- avoid flooding the tracking template with na-adjectives. ← this really should be looked at though text_old...

Click to read more »
Module:WPSHIPS utilities
Minggu, 2022-10-23 22:24:15

-- if showerrs set in template, override showerrs in #invoke: fmt_params.showerrs = pframe.args.showerrs; -- template value else fmt_params...

Click to read more »
Module:Form of/cats
Senin, 2020-04-27 08:06:29

passed a single argument, a table containing the parameters given to the template call, and which should return a specification (a string naming a category...

Click to read more »
Module:EditAtWikidata
Sabtu, 2017-03-11 01:25:25

displayed if a local_parameter is not supplied -- i.e. when called from a template, it can be coded not to display the message -- when a local parameter...

Click to read more »
Module:Gazette util
Minggu, 2022-10-23 22:23:08

style="color:inherit; border:inherit; padding:inherit;">'; local help_link = ' ([[Template:London Gazette#Error messages|help]])'; local supp_error = mw.ustring...

Click to read more »
Module:La-pronunc
Senin, 2020-04-27 08:06:57

local params = { [1] = {default = mw.title.getCurrentTitle().nsText == 'Template' and 'prōnuntiātiō' or mw.title.getCurrentTitle().text}, eccl = {type...

Click to read more »
Module:Ar-translit
Senin, 2020-04-27 08:05:58

gray_i3raab, force_translate) -- make it possible to call this function from a template if type(text) == "table" then local function f(x) return (x ~= "") and...

Click to read more »
Module:Check bibcode
Minggu, 2022-10-23 22:24:01

class="error citation-comment">Check bibcode: ' .. err_type .. ' ([[Template:Bibcode#Error_messages|help]])</span>'; end return ''; end return p;...

Click to read more »
Module:Ro-adjective
Senin, 2020-04-27 08:11:08

valid then error("The parameter \"" .. arg .. "\" is not used by this template.") end end end local function make_table(data) data.info = table.concat(data...

Click to read more »
Module:Infobox road/color
Rabu, 2018-03-07 15:09:53

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...

Click to read more »
Module:Offeecial wabsteid
Selasa, 2020-01-28 07:13:40

options.format == 'flash' then ret[#ret + 1] = mw.getCurrentFrame():expandTemplate{ title = 'Link note', args = {note = 'Requires [[Adobe Flash Player]]'}...

Click to read more »
Module:Ru-pron
Senin, 2020-04-27 08:11:12

--[[ This module implements the template {{ru-IPA}}. Author: Originally Wyang; rewritten by Benwing; additional contributions from Atitarev and...

Click to read more »
Module:Flags/MasterData
Minggu, 2013-08-18 02:55:32

org/wiki/Template:Country_data_Argentina subdivisions pending, filenames are in Spanish -- AUSTRALIA - http://en.wikipedia.org/wiki/Template:Country_data_Australia...

Click to read more »
Module:Table
Sabtu, 2020-09-19 04:00:25

defaults to "and". - italicizeConj Italicize conjunction: for [[Module:Template:also]] - dontTag Don't tag the serial comma and serial "and". For...

Click to read more »
Module:ParameterCount
Sabtu, 2017-03-11 00:57:17

specified parameters are counted, even those not supported by the -- template. all = function (frame) return main(frame, function () return true end)...

Click to read more »
Module:Navbox/configuration
Jumat, 2022-01-28 01:50:26

pattern = { listnum = '^list(%d+)$', sandbox = '/sandbox$', navbox = 'Template:Navbox', nowrap = '^<span class="nowrap">', style = 'style$', navbox_title...

Click to read more »
Module:En-headword
Sabtu, 2020-09-19 13:00:28

main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) local poscat = frame.args[1] or error("Part...

Click to read more »
Module:Location map
Rabu, 2023-03-01 08:34:39

mw.title.new('Template:Location map ' .. map).exists then local cache = {} if type(frame) ~= 'table' or type(frame.expandTemplate) ~= 'function'...

Click to read more »
Module:ConvertNumeric
Selasa, 2020-01-28 08:18:30

Remove commas num = num:gsub("^<span[^<>]*></span>", "") -- Generated by Template:age if num ~= '' then -- a fraction may have an empty whole number ...

Click to read more »
Module:Succession table monarch
Jumat, 2018-08-03 12:31:07

then namePlainList = mw.getCurrentFrame():expandTemplate{ title = messages.plainlistTemplateName or 'Plainlist', args = {'\n' .. table...

Click to read more »
Module:Team appearances list
Sabtu, 2017-04-29 09:25:54

-- This module implements [[Template:Team appearances list]]. local p = {} local data_competitions local function load_data(frame) -- Load data module...

Click to read more »
Module:DateI18n
Senin, 2023-02-13 21:58:15

version of the function mimicking template:ISOdate * User:Jarekt - original version of the functions mimicking template:Date ]] require('strict') --...

Click to read more »
Module:Image array
Jumat, 2018-05-18 13:44:48

-- implements [[template:image array]] local p = {} local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$' ) ~= '' end local function renderArrayCell(...

Click to read more »
Module:IPAc-ro/phonemes
Kamis, 2020-12-17 19:42:47

word separators. In addition to -- not having any tooltip text in the template output, they are not -- underlined. { code = ",_", label = ", ",...

Click to read more »
Module:Labels/data/topical
Minggu, 2020-11-01 13:17:21

set-type categories -- TODO: These are probably misuses of the label template, and should be deprecated labels["amino acid"] = { display = "[[biochemistry]]"...

Click to read more »
Module:Val
Minggu, 2018-02-18 08:42:20

-- For Template:Val, output a number and optional unit. -- Format options include scientific and uncertainty notations. local data_module -- name of...

Click to read more »
Module:Category handler
Jumat, 2022-01-28 01:49:57

-- -- This module implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespaces and all...

Click to read more »
Module:Ja/data
Senin, 2020-04-27 08:06:50

}; -- **OLD VERSION** -- **do not remove until [[Special:WhatLinksHere/Template:tracking/ja/k2r_diff]] is OK** -- equivalent katakana = romaji pairs, k=r...

Click to read more »
Module:Track gauge
Minggu, 2017-03-05 00:37:59

-- This module implements the {{Track gauge}} template. -- Data is in Module:Track gauge/data local p = {} local gaugeDataAll = nil local dataPageName...

Click to read more »
Module:La-verb
Senin, 2020-04-27 08:06:58

-- Prepare stems if not typeinfo.pres_stem then if NAMESPACE == "Template" then typeinfo.pres_stem = "-" else error("Present stem has not...

Click to read more »
Module:Italic title
Minggu, 2022-10-23 22:20:41

italicTitle:render(args[1]) end function p.main(frame) return p._main(getArgs(frame, 'Template:Italic title')) end function p._dabonly(args) return ItalicTitle.new()...

Click to read more »
Module:Sidebar
Minggu, 2022-10-23 22:19:53

and (args.name or frame:getParent():getTitle():gsub('/sandbox$', '') ~= 'Template:Sidebar') then root :tag('tr') :tag('td') :css('text-align'...

Click to read more »
Module:Pop density
Selasa, 2019-12-17 10:57:56

dens2sort, prec2 local str1, str2 = '', '' local uniterror = '<sup>[[Template:Pop density|?Unknown unit?]]</sup>[[Category:Pop density using unsupported...

Click to read more »
Module:Location map/info
Sabtu, 2021-03-13 06:12:27

180 then center = center - 360 end retval = retval .. frame:expandTemplate{title = 'coord', args = { (map.top + map.bottom)/2, center }} retval...

Click to read more »
Module:Clickable button 2
Selasa, 2017-01-31 05:51:01

local args = require('Module:Arguments').getArgs(frame, { wrappers = 'Template:Clickable button 2' }) return p.luaMain(args) end function p.luaMain(args)...

Click to read more »
Module:Photo montage
Kamis, 2015-03-12 22:13:11

-- implements [[template:photomontage]] local p = {} local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$' ) ~= '' end local function photomontage(...

Click to read more »
Module:Gapnum
Rabu, 2016-04-13 03:24:20

require('Module:Arguments').getArgs end local args = getArgs(frame, {wrappers = 'Template:Gapnum'}) local n = args[1] if not n then error('Parameter 1 is required')...

Click to read more »
Module:Location map/multi
Minggu, 2022-10-23 22:20:53

caption_list = {} if not args then args = getArgs(frame, {wrappers = 'Template:Location map+', valueFunc = locmap.valueFunc}) end if not map then ...

Click to read more »
Module:Routemap
Senin, 2018-05-07 01:03:44

= '[[Template:Railway line legend', track = '[[Template:Railway track legend', bus = '[[Template:Bus route legend', canal = '[[Template:Waterways...

Click to read more »
Module:Webarchive
Minggu, 2022-10-23 22:20:36

---------------------------------- Lua module implementing the {{webarchive}} template. A merger of the functionality of three templates: {{wayback}}, {{webcite}}...

Click to read more »
Module:Links2
Sabtu, 2020-09-19 04:13:17

unsupported_titles[target] end -- If the link contains unexpanded template parameters, then don't create a link. if target:find("{{{") then return...

Click to read more »
Module:Subject bar
Selasa, 2019-12-17 11:18:44

(thisPage.namespace == 7) -- File talk or (thisPage.namespace == 11) -- Template talk or (thisPage.namespace == 15) -- Category talk or (thisPage.namespace...

Click to read more »
Module:Japanese calendar
Rabu, 2017-04-26 05:45:37

If called via #invoke, use the args passed into the invoking -- template, or the args passed to #invoke if any exist. Otherwise -- assume...

Click to read more »
Module:Catalog lookup link
Minggu, 2022-10-23 22:22:13

present, this is used only to cope with format oddities of the {{MR}} template.) new parameters that support access icons: |allowed_icons= – comma-separated...

Click to read more »
Module:Type in location
Senin, 2018-06-04 03:11:13

or '' typ = p.validateTyp (typ, args) if typ then return frame:expandTemplate {title = 'Short description', args = {typ..loc, 'noreplace'}} end end ...

Click to read more »
Module:Databox
Minggu, 2022-07-03 15:20:00

'P1151', -- topic's main Wikimedia portal 'P1424', -- topic's main template 'P910', -- topic's main category 'P1200', -- bodies of water basin...

Click to read more »
Module:Wikidata
Senin, 2020-09-28 23:19:08

general template for citing web references local template = mw.wikibase.getSitelink(refaliases.citeWeb) or "" template = mw.text.split(template, ":")[2]...

Click to read more »
Module:FindYDCportal
Kamis, 2020-01-02 12:30:41

arg1 was neither a year nor a decade -- This is going to be a helper template, and diagnostics woud be intrusive -- So just return an empty string ...

Click to read more »
Module:Key
Kamis, 2018-05-10 08:58:27

function keypress(frame) -- Called by "{{key press|...}}". -- Using the template doubles the post‐expand include size. return keyPress(frame:getParent()...

Click to read more »
Module:Greek
Kamis, 2018-02-22 07:38:55

ὠμέγα / omega ["ϡ"] = 900, -- σαμπί / sampi } -- used for math graph template local numeral_latin_transliteration = { ["α"] = 'alpha', ["β"] = 'beta'...

Click to read more »
Module:Currency/Presentation
Rabu, 2016-09-28 01:46:07

this table is created from Template:Currency/Page, Template:Currency/Position, and Template:Currency/Symbol. The individual currency codes...

Click to read more »
Module:Namespace detect
Senin, 2017-01-30 09:29:14

-- -- This module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace...

Click to read more »
Module:Portal/images/t
Rabu, 2023-04-12 12:47:02

svg", ["transportation"] = "Nuvola apps ksysv.png", ["trees"] = "Tree template.svg", ["trichy"] = "Tiruchiramalai1.jpg", ["trinidad an tobago"] = "Flag...

Click to read more »
Module:Navbox Canada
Minggu, 2018-02-18 04:52:30

with collapsible groups if collapsiblegroups then return frame:expandTemplate{ title = 'Navbox with collapsible groups', args = targs } else return...

Click to read more »
Module:Citation/CS1/Utilities
Kamis, 2020-10-15 01:12:54

<str> the markup frame can be empty like (()) to distinguish an empty template parameter from the specific condition "has no applicable value" in citation-context...

Click to read more »
Module:Wd
Rabu, 2020-07-08 09:39:07

frame) local title if frame then -- current module invoked by page/template, get its title from frame title = frame:getTitle() else -- current...

Click to read more »
Module:Delink
Minggu, 2022-10-23 22:20:13

getArgs then getArgs = require('Module:Arguments').getArgs end return p._delink(getArgs(frame, {wrappers = 'Template:Delink'})) end return p...

Click to read more »
Module:Dts
Jumat, 2017-05-26 04:37:27

ret else ret = string.format( '<strong class="error">Error in [[Template:Dts]]: %s</strong>', ret ) if mw.title.getCurrentTitle().namespace...

Click to read more »
Module:Track listing
Jumat, 2018-02-23 01:30:22

-- This module implements [[Template:Track listing]] local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType local SHOW_WARNINGS...

Click to read more »
Module:Jct
Selasa, 2019-12-17 10:58:55

transcluding page's title return mw.ustring.format("[[Category:Jct template errors|1 %s]]", page) end end local rendered = render(shield, firstSize)...

Click to read more »
Module:Sidebar games events
Minggu, 2022-10-23 22:20:57

and (args.name or frame:getParent():getTitle():gsub('/sandbox$', '') ~= 'Template:Sidebar games events') then root :tag('tr') :tag('td') :css('text-align'...

Click to read more »
Module:Infobox military conflict
Minggu, 2022-10-23 22:22:29

then args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Infobox militar conflict'}) end local obj = { frame = frame, args...

Click to read more »
Module:Infobox3cols
Selasa, 2016-08-23 00:02:58

italicTitle == 'yes' then root:wikitext(mw.getCurrentFrame():expandTemplate({title = 'italic title'})) end end local function renderTrackingCategories()...

Click to read more »
Module:Weather box
Selasa, 2019-07-09 07:56:13

-- Implement [[Template:Weather box]]. local precision = require('Module:Math')._precision local function stripToNil(text) -- If text is a non-empty...

Click to read more »
Module:Navbox
Jumat, 2022-01-28 01:50:22

make sense. -- Add newlines to compensate for trim of x in |parm=x in a template. return '\n' .. item ..'\n' end if nowrapitems == cfg.keyword.nowrapitems_yes...

Click to read more »
Module:IPAc-en/phonemes
Rabu, 2017-02-01 11:48:57

word separators. In addition to -- not having any tooltip text in the template output, they are not -- underlined. { code = ",_", label = ", ",...

Click to read more »
Module:Multiple image
Sabtu, 2020-07-04 10:33:34

-- implements [[template:multiple image]] local p = {} local autoscaledimages local nonautoscaledimages local function isnotempty(s) return s and s:match(...

Click to read more »
Module:Color contrast
Jumat, 2022-01-28 01:49:59

contrast|somecolor}} directly or {{#invoke:Color contrast}} from a wrapper template. Parameters: -- |1= — required; A color to check. --]] function p.lum(frame)...

Click to read more »
Module:Ahnentafel
Selasa, 2018-05-15 02:47:36

-- -- implements [[Template:ahnentafel]] -- local p = {} -- table of row pointers local rows = {} -- first and last indices in rows table local rowbegin...

Click to read more »
Module:Citation/CS1/Configuration
Kamis, 2020-10-15 03:34:35

uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Wikipedia_talk', 'File_talk', 'Template_talk', 'Help_talk', 'Category_talk', 'Portal_talk', 'Book_talk', 'Define_talk'...

Click to read more »
Module:Arguments
Sabtu, 2021-03-13 06:11:50

means that users can use either the #invoke syntax -- or a wrapper template without the loss of performance associated -- with looking arguments...

Click to read more »
Module:WikidataIB
Senin, 2023-02-13 20:06:53

getCurrentFrame():expandTemplate{title = "cvt", args = {amount, unit}} else val = mw.getCurrentFrame():expandTemplate{title = "cvt", args = {lowb...

Click to read more »
Module:Infobox gene
Minggu, 2018-06-03 13:56:15

TemplateData|QID=Q14865053}} --in debug window --frame = mw.getCurrentFrame() --frame.args = {QID="Q14865053"} Q18031325 --print(p.getTemplateData(frame))...

Click to read more »
Module:I18n/complex date
Senin, 2023-02-13 21:51:39

of(date1, 'fr') .. " à $date2" end end, gl='de $date1 a $date2', --Template:From until used 'desde $date1 ata $date2' he='מ- $date1 עד $date2', ...

Click to read more »
Module:TableTools
Kamis, 2020-10-15 01:13:05

frame object always be set to 0, regardless of -- the number of unnamed template parameters, so use this function for -- frame.args. --]] function p.length(t...

Click to read more »
Module:Portal/images/a
Jumat, 2019-12-20 08:40:54

["astronomy"] = "Crab Nebula.jpg|link=|alt=", ["atheism"] = "Atheism template.svg|alt=icon", ["athletics"] = "Athletics pictogram.svg|link=|alt=", ...

Click to read more »
Module:Bibleverse
Selasa, 2020-01-07 05:39:48

-- This module implements Template:Bibleverse. local p = {} --codes from bvf that may be in use local version_num_cds = { [9] = 'kjv', [31] = 'niv',...

Click to read more »
Module:Calendar date/Events
Sabtu, 2019-06-08 08:15:34

Default date format (mdy,dmy,iso) - can be overridden by "|df=" in the template datatype = '' - Where the date is obtained, "calculator" or "localfile"...

Click to read more »
Module:Random
Kamis, 2014-06-05 20:18:52

(frame) -- If called via #invoke, use the args passed into the invoking template, or the args passed to #invoke if any exist. -- Otherwise assume args...

Click to read more »
Module:Year in various calendars
Senin, 2018-05-07 13:11:31

groups are used to group different calendars together. -- Previously, the template did this by including a table row with -- no year value. By using objects...

Click to read more »
Module:Citation/CS1/COinS
Kamis, 2020-10-15 01:12:53

'citeseerx', 'ssrn'}) then -- set genre according to the type of citation template we are rendering OCinSoutput["rft.genre"] = "preprint"; -- cite...

Click to read more »
Module:Math
Sabtu, 2021-03-13 06:12:28

specified precision and formats according to rules originally used for {{template:Rnd}}. Output is a string. Usage: {{#invoke: Math | precision_format...

Click to read more »
Module:Navseasoncats
Jumat, 2020-01-03 10:35:20

~= 'Navseasoncats/sandbox' and --avoid self (currtitle.nsText ~= 'Template' or testcases)) --avoid nested transclusion errors (i.e. {{Infilmdecade}})...

Click to read more »
Module:Category described in year/conf
Sabtu, 2020-07-04 14:31:53

here in conf{} will follow the 'Default' tree for that group when the template is used on that cateogry. The default-style category tree is: year...

Click to read more »
Module:Historical populations
Rabu, 2026-02-18 20:23:09

-- -- This template implements {{Historical populations}} -- local p = {} local lang = mw.getContentLanguage() local Date -- lazy initialization local...

Click to read more »
Module:Complex date
Senin, 2023-02-13 21:49:35

p.Error~=nil then dateStr = p.Error .. '[[Category:Pages using Complex date template with incorrect parameter]]' end return dateStr end return p...

Click to read more »
Module:Taxonbar
Minggu, 2022-10-23 22:23:12

if currentTitle.namespace == 10 then --i.e. Module:Taxonbar/sandbox, Template:Taxonbar/doc, etc. if resolveEntity._id(parentArgs['from']) then currentItem...

Click to read more »
Module:Portal/images
Jumat, 2024-02-23 21:02:31

jpg", ["astronomy"] = "Crab Nebula.jpg", ["atheism"] = "Atheism template.svg", ["athletics"] = "Athletics pictogram.svg", ["atlanta"] =...

Click to read more »
Module:Citation/CS1/Identifiers
Kamis, 2020-10-15 01:12:54

definitions. But is expensive and could be risky if WD gets vandalized. See Template_talk:Authority_control/Archive_8#Use_Wikidata_as_the_source_for_the_external_link...

Click to read more »
Module:Date
Rabu, 2026-02-18 11:57:04

-- Ignore empty arguments after stripping so modules can directly pass template parameters. elseif calendars[vlower] then newdate.calendar = calendars[vlower]...

Click to read more »
Module:Citation/CS1/Date validation
Kamis, 2020-10-15 01:12:54

parameters and converts any hyphen to an ndash. Not called if the cs1|2 template has any date errors. Modifies the date_parameters_list and returns true...

Click to read more »