Search Results: Module:Wikitext Parsing/doc
Sorry, the article you're looking for isn't specifically available. Here are related topics:
Module:WikitextParser
Rabu, 2026-02-11 21:49:11getLead( wikitext ) wikitext = '\n' .. wikitext wikitext = string.gsub( wikitext, '\n==.*', '' ) wikitext = mw.text.trim( wikitext ) return wikitext end...
Click to read more »Module:Election results
Rabu, 2026-01-07 09:57:09:tag('td') :wikitext() :tag('td') :wikitext() end if has_seats and not headings['sw'] then row :tag('td') :wikitext() end if has_seats...
Click to read more »Module:Jcttop/core
Sabtu, 2019-06-15 04:31:05= args.sub1disp if sub1disp then tag:wikitext(sub1disp) else tag:wikitext(args.sub1name):wikitext(args.sub1_ref) end end if not(args.sub2...
Click to read more »Module:Medals table
Rabu, 2026-01-07 09:54:19'left') :wikitext(nation) :tag('td') :wikitext(gold) :tag('td') :wikitext(silver) :tag('td') :wikitext(bronze) :tag('td')...
Click to read more »Module:Infobox
Minggu, 2025-03-23 19:19:15:cssText(rowArgs.rowcellstyle) :wikitext(fixChildBoxes(rowArgs.header, 'th')) if rowArgs.data then root:wikitext( '[[Category:Pages using infobox...
Click to read more »Module:Sports color/contrast
Kamis, 2019-05-16 12:19:43'transparent') :wikitext(c[i] and '' or 'X') end res:tag('td'):wikitext(color_contrast_ratio(c[1],c[2])) res:tag('td'):wikitext(color_contrast_ratio(c[4]...
Click to read more »Module:Biota infobox/core
Jumat, 2026-04-17 12:36:00TemplateStyles file wikitextTable = wikitextTable .. '\n|}' local output = wikitextTable -- output the wikitext table --local output...
Click to read more »Module:Excerpt
Minggu, 2026-05-10 22:46:56User:Aidan9382 & others -- License: CC-BY-SA-3.0 local parser = require( 'Module:WikitextParser' ) local yesno = require( 'Module:Yesno' ) local ok, config = pcall(...
Click to read more »Module:Template test case
Kamis, 2019-05-16 01:28:09:newline() :wikitext(self.options.before) :wikitext(self:getTemplateOutput(obj)) :wikitext(self.options.after) :wikitext('<pre style="white-space:...
Click to read more »Module:Infobox military conflict
Selasa, 2023-06-27 15:11:47:attr('colspan', self.combatants) :cssText(infoboxStyle.header_raw) :wikitext(headerText) end -- The only time colspans[1] wouldn't be set is if no...
Click to read more »Module:Based on
Sabtu, 2019-05-18 11:13:29html.create('div') h:wikitext(s) h:tag('br') -- h:newline() is not working for some reason h:wikitext('nina ') h:wikitext(frame:expandTemplate{...
Click to read more »Module:Airport destination list
Senin, 2021-11-15 22:08:49cell= row:tag('th') cell:wikitext('Mga kompanyang panghimpapawid') cell= row:tag('th') cell:addClass('unsortable') cell:wikitext('Mga destinasyon') if...
Click to read more »Module:Jctbtm
Jumat, 2018-06-01 07:24:02type.color):css('color', type.color):wikitext(" "):done():wikitext(" "):wikitext(type.jctbtm) end end end function p...
Click to read more »Module:Infobox road
Sabtu, 2017-08-12 08:50:12local primary = boxModule._browse(args) box:wikitext(primary) end if extended then box:wikitext(extended) end return tostring(box) else ...
Click to read more »Module:Sidebar
Sabtu, 2026-04-04 04:16:09pretitlestyle) :wikitext(args.pretitle) end end if args.title then if child then root :wikitext(args.title) :wikitext('</th></tr>') --...
Click to read more »Module:Video game reviews
Rabu, 2024-01-24 12:37:24:attr('rowspan', '2') :wikitext(headingText) :done() :tag('th') :attr('scope', 'colgroup') :attr('colspan', #activeSystems) :wikitext(data.i18n.display...
Click to read more »Module:Navbar
Selasa, 2023-12-12 21:12:28']]'} end ul:tag('li') :addClass('nv-' .. link_description.full) :wikitext(l[1] .. link_description.link .. l[2]) :tag(is_mini and 'abbr' or 'span')...
Click to read more »Module:Navbar/sandbox
Minggu, 2021-02-28 12:48:04']]'} end ul:tag('li') :addClass('nv-' .. link_description.full) :wikitext(l[1] .. link_description.link .. l[2]) :tag(is_mini and 'abbr' or 'span')...
Click to read more »Module:Transcluder
Kamis, 2025-05-08 10:35:13-- Get the lead section from the given wikitext. -- @param text Required. Wikitext to parse. -- @return Wikitext of the lead section. local function getLead(text)...
Click to read more »Module:Jctint/core
Sabtu, 2019-06-15 04:21:083) -- spanning three possible columns :css('text-align', align) :wikitext(unitary) -- Store the contents of unitary in the cell. return end ...
Click to read more »Module:Side box
Senin, 2022-08-08 07:28:55textstyle) end text:wikitext(data.text) if data.imageright then body:newline():tag('div') :addClass('side-box-imageright') :wikitext(data.imageright)...
Click to read more »Module:Tree chart
Rabu, 2026-01-07 09:58:09ipairs(cell_args) do if type(v) == 'string' then top:wikitext(cells[v].t) bottom:wikitext(cells[v].b) else top:tag('td') :attr{ colspan...
Click to read more »Module:Listen
Sabtu, 2023-11-25 18:03:01:wikitext(t.hours) :done() :wikitext(':') m = string.format('%02d', m) end span :tag('span') :addClass('min') :wikitext(m) ...
Click to read more »Module:Chessboard
Selasa, 2021-03-23 09:43:23.. 'px') :wikitext(idx) end end end if ( letters_bt ) then b:tag('tr') :css('vertical-align', 'middle') :wikitext(letters_row( rev...
Click to read more »Module:Overlay
Rabu, 2020-04-15 18:20:26create('span') :css('font-weight', 'bold') :css('color', c) :wikitext(n) ) elseif form == 'color' or form == 'colour' then return tostring(...
Click to read more »Module:Yesno
Kamis, 2018-08-09 15:55:58-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default)...
Click to read more »Module:Attached KML
Rabu, 2019-08-21 18:55:07inlineWikitext = makeInlineWikitext(Args[L10n.para.header] or L10n.str.default_header, wikiUrl, kmlError) wikitext = wikitext .. inlineWikitext end...
Click to read more »Module:Purge
Jumat, 2023-02-10 13:41:13create('span') display :attr('title', 'Sariwain ang pahinang ito') :wikitext(args[1] or 'Sariwain') display = tostring(display) end -- Output...
Click to read more »Module:Track listing
Jumat, 2020-09-18 16:30:36function Track.makeSimpleCell(wikitext) return mw.html.create('td') :css('vertical-align', 'top') :wikitext(wikitext or ' ') end function...
Click to read more »Module:Infobox road/length
Jumat, 2018-06-01 17:49:19template, in the wikitext of the template itself local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes...
Click to read more »Module:Horizontal timeline
Minggu, 2015-08-30 14:01:03then cntnt:wikitext(horizontal_timeline.scaleRow(args)) elseif rowType == 'note' then cntnt:wikitext(horizontal_timeline...
Click to read more »Module:Location map
Selasa, 2025-02-18 19:07:04/ 2) .. 'px') :attr('title', title) if marksize ~= 0 then builder:wikitext(string.format( '[[File:%s|%dx%dpx|%s|link=%s%s|class=notpageimage]]'...
Click to read more »Module:Infobox3cols
Sabtu, 2024-02-24 07:32:25rowcellstyle) :cssText(args.extracellstyles[rowArgs.num .. 'h']) :wikitext(rowArgs.header) elseif rowArgs.label then if rowArgs.data then ...
Click to read more »Module:Flagg/Altvar data
Minggu, 2025-02-16 16:35:27head:tag("th"):wikitext("Code") head:tag("th"):wikitext("Aliases") head:tag("th"):wikitext("Altlink (suffix)") head:tag("th"):wikitext("Altvar") ...
Click to read more »Module:Tone superscript
Sabtu, 2025-01-11 14:33:09local x = arg:gsub("%f[%d%s]([%d\*]+)", "<sup>%1</sup>") root:tag('span'):wikitext(x) local tracking = '' if string.match(arg, "</?sup>") then tracking...
Click to read more »Module:Shortcut
Senin, 2020-12-28 02:16:27:wikitext(shortcutHeading) end local list = shortcutList:tag('ul') for i, item in ipairs(listItems) do list:tag('li'):wikitext(item) end...
Click to read more »Module:Episode table
Jumat, 2023-01-06 12:19:52'#CCCCFF') :css('width',cell_width) :wikitext(text) -- Reference if reference and reference ~= '' then cell:wikitext(" " .. EpisodeTable.reference(reference...
Click to read more »Module:Gallery
Jumat, 2021-05-07 09:49:20title then tbl:tag('div') :addClass('title') :tag('div') :wikitext(args.title) end local gargs = {} gargs['class'] = 'nochecker' .. (args...
Click to read more »Module:Historical populations
Selasa, 2025-12-09 12:31:47:css('clear', 'none') graphdiv :tag('div') :addClass('thumbinner') :wikitext(graph) return tostring(graphdiv) end return '<div class="center">'...
Click to read more »Module:Asbox
Jumat, 2022-09-16 07:53:11= code or mw.html.create'code':wikitext'|category' table.insert(stubCats.missing, tostring(mw.clone(code):wikitext(v))) end --[[ Checks non-demo...
Click to read more »Module:WikidataCheckYear
Minggu, 2018-07-22 20:24:03template, in the wikitext of the template itself local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes...
Click to read more »Module:Infobox mapframe
Senin, 2025-12-15 08:51:37parseCustomWikitext(customWikitext) -- infoboxImage will format an image if given wikitext containing an -- image, or else pass through the wikitext unmodified...
Click to read more »Module:Userbox
Sabtu, 2022-03-26 16:09:16has_text(wikitext) local function get_alt(text) return text:match("|alt=([^|]*)") or "" end wikitext = wikitext:gsub("]]", "|]]") wikitext =...
Click to read more »Module:Navbox
Kamis, 2025-02-20 07:38:27format function p._navbox(args) local function striped(wikitext, border) -- Return wikitext with markers replaced for odd/even striping. -- Child...
Click to read more »Module:Road data/browse
Senin, 2018-08-27 06:57:27["vertical-align"] = "middle", padding = "0", ["text-align"] = "left"} ) cell:wikitext("← " .. shieldText .. ' ' .. linkText) return cell end local function...
Click to read more »Module:Gapnum
Minggu, 2017-04-23 20:04:57:wikitext(table.remove(int_part,1)) -- Build int part for _, v in ipairs(int_part) do ret:tag('span') :css('margin-left',gap) :wikitext(v)...
Click to read more »Module:Message box
Kamis, 2025-02-20 07:50:32:wikitext(self.issue or nil) if (self.talk or self.fix) then textCellDiv:tag('span') :addClass('hide-when-compact') :wikitext(self.talk...
Click to read more »Module:WikidataCheck
Kamis, 2019-06-20 03:17:49template, in the wikitext of the template itself local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the...
Click to read more »Module:Documentation
Sabtu, 2025-08-02 18:54:52= mw.html.create() root :wikitext(p._getModuleWikitext(args, env)) :wikitext(p.protectionTemplate(env)) :wikitext(p.sandboxNotice(args, env)) ...
Click to read more »Module:Navbox/sandbox
Minggu, 2025-03-02 13:05:53return p._withColumns(args) end local function striped(wikitext, border) -- Return wikitext with markers replaced for odd/even striping. -- Child...
Click to read more »Module:Sports results/doc
Kamis, 2021-11-25 18:36:33the table of contents for specific items. Wikitext test cases at Module:Sports results/testcases wikitext. The template can be used as follows: The main...
Click to read more »Module:Sister project links
Rabu, 2026-01-07 09:57:49args.search = fallback string to search for -- args.sisterPrefix = wikitext prefix for sister site -- args.information = type of info sister site...
Click to read more »Module:Series overview
Senin, 2023-01-16 08:53:52frame:expandTemplate{title='N/A'} ) end else cell = mw.html.create('td'):wikitext(text) end return cell end -- Allow usages of {{N/A}} cells function...
Click to read more »Module:WikiProject banner
Kamis, 2024-10-24 12:54:53function(text) local span = mw.html.create('div') :addClass('error') :wikitext(text) return tostring(span) end local image = function(image_name, size...
Click to read more »Module:Biota infobox
Rabu, 2026-01-07 09:54:59row to root using wikitext (FAILS) root:wikitext('\r|-\r|I\r|J\r') -- FAIL output |- |X |Y root:wikitext(frame:preprocess('\n|-\n|U\n|V\n'))...
Click to read more »Module:Banner shell
Selasa, 2025-03-04 16:50:55'2') :addClass('banner-shell-inner') :addClass('outercollapse') :wikitext(content) :done() end local holder = mw.html.create('table') :attr('role'...
Click to read more »Module:Category see also
Rabu, 2025-06-04 09:08:45mHatnote = require('Module:Hatnote') local p = {} local function makeWikitextError(msg) return string.format( '<strong class="error">Error: %s ([[Template:Category...
Click to read more »Module:Wide image
Sabtu, 2025-08-30 11:12:42d:tag('div') :addClass('magnify') :wikitext('[[:File:' .. image .. '| ]]') end d:wikitext(caption) end return tostring(r) end return...
Click to read more »Module:Navbox/testcases
Minggu, 2025-03-02 13:22:57return p._withColumns(args) end local function striped(wikitext, border) -- Return wikitext with markers replaced for odd/even striping. -- Child...
Click to read more »Module:Wikitext Parsing
Kamis, 2024-10-24 14:59:29require("strict") --Helper functions local function startswith(text, subtext) return string.sub(text, 1, #subtext) == subtext end local function endswith(text...
Click to read more »Module:Photo montage
Selasa, 2021-04-06 10:30:56local div = mw.html.create('div') div:css('font-size', '95%') :wikitext(foot_montage) foot_montage = '\n' .. tostring(div) end local lettertonumber...
Click to read more »Module:Error
Rabu, 2019-07-24 05:52:17return tostring(mw.html.create(tag) :addClass('error') :wikitext(tostring(args.message or args[1] or error('no message specified', 2)))...
Click to read more »Module:Hatnote
Kamis, 2025-04-24 12:40:29end function p.makeWikitextError(msg, helpLink, addTrackingCategory, title) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory...
Click to read more »Module:Check for unknown parameters
Sabtu, 2025-12-27 13:41:05-- Strip markers are replaced with dummy text representing the original wikitext. local pos, truncated local function truncate(text) if truncated then...
Click to read more »Module:Interlinear
Rabu, 2025-10-08 17:38:32p:attr("style", conf.style.ErrorMessage) p:wikitext(v) end if self.gloss_messages then div:wikitext("<p> To change any of the following default...
Click to read more »Module:Multiple image
Kamis, 2025-01-09 14:07:04tostring(height) .. 'px') imagediv:css('overflow', 'hidden') end imagediv:wikitext('[[file:' .. image .. widthstr .. linkstr .. altstr .. thumbtimestr .....
Click to read more »Module:Authority control
Kamis, 2025-01-02 05:15:44not additional and id.prefix then --show prefix on primary value link:wikitext(id.prefix .. ': ') end local valid_value = false if id.customlink then...
Click to read more »Module:Aligned table
Kamis, 2022-01-20 08:07:36= root:tag('caption') caption:cssText(args['titlestyle']) caption:wikitext(args['title']) end if isnotempty(args['above']) then local row = root:tag('tr')...
Click to read more »Module:Redirect
Minggu, 2024-04-28 19:35:27return nil end end -- Provides access to the luaMain function from wikitext. function p.main(frame) local args = require('Module:Arguments').getArgs(frame...
Click to read more »Module:Portal
Kamis, 2020-09-10 13:46:59nominimum as been set to yes (or similar), omit the warning else root:wikitext('<strong class="error">No portals specified: please specify at least one...
Click to read more »Module:Mapframe
Senin, 2025-12-15 08:53:35See also T214984 -- However, *don't* strip control characters from wikitext (text or description parameters) or you'll break strip markers -- Alternatively...
Click to read more »Module:Convert/documentation/conversion data/introduction
Sabtu, 2023-11-25 12:21:15read by a script (makeunits). The script extracts information from the wikitext, and outputs the Lua source that defines the table of units; that source...
Click to read more »Module:Convert/documentation/conversion data
Sabtu, 2023-11-25 12:47:34read by a script (makeunits). The script extracts information from the wikitext, and outputs the Lua source that defines the table of units; that source...
Click to read more »Module:Infobox road/locations
Sabtu, 2019-06-15 08:26:18template, in the wikitext of the template itself local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes...
Click to read more »Module:Further
Selasa, 2016-03-22 20:12:21mTableTools.compressSparseArray(args) if #pages < 1 then return mHatnote.makeWikitextError( 'no page names specified', 'Template:Further#Errors', args...
Click to read more »Module:Clade
Rabu, 2025-06-25 16:22:47element (DONE. Also works well with reverse class) end -- close table (wikitext to close table) cladeString = cladeString .. '\n|}' cladeString =...
Click to read more »Module:Shindo
Minggu, 2024-08-25 21:11:42:tag("th"):wikitext("Seismic intensity"):done() :tag("th"):wikitext("Display"):done() :done() for l,w in pairs(v.order) do tb:tag('tr'):wikitext('<td><code>'...
Click to read more »Module:For
Senin, 2020-06-08 09:40:32_For (args) local use = args[1] if (not use) then return mHatnote.makeWikitextError( 'no context parameter provided. Use {{other uses}} for "other...
Click to read more »Module:Episode list
Kamis, 2023-01-12 16:24:53:attr('rowspan', rowSpan) :wikitext(text) else row:tag('td') :css('text-align', textAlign) :wikitext(text) end end -- Local function...
Click to read more »Module:Lang/sandbox
Kamis, 2025-04-17 10:14:29-- frame entry points when this module is #invoke:ed into templates/wikitext lang = lang, -- entry point for {{lang}} langx = langx...
Click to read more »Module:Lang
Kamis, 2025-04-24 10:21:33-- frame entry points when this module is #invoke:ed into templates/wikitext lang = lang, -- entry point for {{lang}} langx = langx...
Click to read more »Module:RoundN
Kamis, 2015-09-03 16:04:48clone(p.dpBoxBase):wikitext(p.flex_tree.wt) rowNum[r]:node(p.dpBoxEmpty) else rowNum[r]:node(mw.clone(p.dpBoxBase):wikitext(v)) end end p.scoreWasher...
Click to read more »Module:Section link
Rabu, 2026-01-07 09:54:49-)%s*$') -- Trim whitespace -- Allow blank first parameters, as the wikitext template does this. if value ~= '' or key == 1 then return value...
Click to read more »Module:Graphical timeline
Selasa, 2024-04-23 00:46:4125em") square:wikitext(" ") local textCell = row:tag('td') textCell:css("padding",0) local text = textCell:tag('div') text:wikitext(args.text) end...
Click to read more »Module:Convert/doc
Sabtu, 2023-11-25 12:23:44(articles, by default): Category:Convert errors (48) Units are defined in the wikitext of the master list of units. Module:Convert/documentation/conversion data...
Click to read more »Module:IPA symbol
Sabtu, 2026-01-31 11:35:57the International Phonetic Alphabet (IPA)') end s = tostring(span:wikitext(s)) end if audio then audio = require('Module:Yesno')(audio, audio)...
Click to read more »Module:IPA
Jumat, 2025-08-15 18:24:43local span = mw.html.create('span') :addClass('IPA-label') :wikitext(label) if args.small ~= 'no' then span:addClass('IPA-label-small')...
Click to read more »Module:Citation/CS1
Rabu, 2026-02-11 21:03:57mw.title.getCurrentTitle().namespace; -- get namespace number for this wikitext sort_key = (0 ~= namespace_number and (cfg.name_space_sort_keys[namespace_number]...
Click to read more »Module:Template link general
Kamis, 2022-01-20 10:33:12end --[[ Wrap as html?? local span = mw.html.create('span') span:wikitext(ret) --]] if _ne(args.debug) then ret = ret .. '\n<pre>' .. mw.text.encode(mw...
Click to read more »Module:Clickable button 2
Rabu, 2019-10-23 17:52:00data.style then displaySpan:cssText(data.style) end displaySpan:wikitext(data.display) display = tostring(displaySpan) end -- Render the link...
Click to read more »Module:HtmlBuilder
Rabu, 2014-05-07 10:08:00table.insert(t.nodes, builder) end return t end metatable.wikitext = function(t, ...) local vals = {...} for i = 1, #vals do ...
Click to read more »Module:Redirect hatnote
Rabu, 2021-07-07 14:48:45redirect parameter is missing. if not args[i] then return mHatnote.makeWikitextError( 'missing redirect parameter', 'Template:Redirect#Errors'...
Click to read more »Module:Convert/tester
Senin, 2021-08-02 17:38:13end end end -- Pre tags returned by a module are html tags, not like wikitext <pre>...</pre>. return '<pre>\n' .. mw.text.nowiki(result:join('\n'))...
Click to read more »Module:Main
Sabtu, 2022-08-06 08:59:21and mw.title.getCurrentTitle().namespace == 0 then return mHatnote.makeWikitextError( 'Walang tinukoy na pahina', 'Template:Main#Errors', args...
Click to read more »Module:Labelled list hatnote
Sabtu, 2020-03-28 16:42:39options) labels = labels or {} if #pages == 0 then return mHatnote.makeWikitextError( 'no page names specified', (options.template or defaults.template)...
Click to read more »Module:College color
Senin, 2018-10-22 13:45:58:css('background-color', '#' .. (h or '')) :css('border', '1px solid #000') :wikitext(' ') return tostring(r) end local colors =...
Click to read more »Module:Documentation/config
Rabu, 2022-11-09 08:11:56cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template...
Click to read more »Module:Infobox road/color
Sabtu, 2019-06-15 03:04:55template, in the wikitext of the template itself local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the...
Click to read more »Module:Convert/makeunits
Sabtu, 2023-11-25 11:52:49-- This module generates the wikitext required at Module:Convert/data -- by reading and processing the wikitext of the master list of units -- (see conversion_data...
Click to read more »Module:Convert/wikidata
Rabu, 2021-07-14 09:35:36ulookup) -- For Module:Convert, make wikitext to list the built-in Wikidata units. -- Return true, wikitext if successful or return false, t where...
Click to read more »Module:AutosortTable
Rabu, 2019-05-22 06:03:19column styling, if necessary end cell:wikitext(strTrim(v)) end end return row end ...
Click to read more »Module:Fallback
Kamis, 2016-06-30 19:53:52return nil end function p.langSwitch(frame) -- version to be used from wikitext local args = frame.args -- if no expected args provided than check parent...
Click to read more »Module:List
Selasa, 2025-02-18 18:41:27then item:cssText(t.style) end item :attr{value = t.value} :wikitext(t.content) end return data.templatestyles .. tostring(root) end function...
Click to read more »Module:Convert
Selasa, 2025-10-07 09:02:51join_before .. lhs end local wikitext if bad_input_mcode then if bad_input_mcode == '' then wikitext = lhs else wikitext = lhs .. message(parms,...
Click to read more »Module:Road data/util
Sabtu, 2019-06-15 03:13:18m = m, orig = orig, comp = comp, error = error} end --- Generates wikitext error messages. function util.err(msg) if msg == nil then error("Unspecified...
Click to read more »Module:Age
Sabtu, 2026-04-18 01:40:23function makeText(values, components, names, options, noUpper) -- Return wikitext representing an age or duration. local text = Collection.new() local...
Click to read more »Module:Citation/CS1/COinS/sandbox
Senin, 2019-11-11 23:21:37in the metadata. Without this function, the metadata saved in the raw wikitext contained the rendering determined by the settings of the last editor to...
Click to read more »Module:Citation/CS1/COinS
Rabu, 2026-02-11 21:13:17in the metadata. Without this function, the metadata saved in the raw wikitext contained the rendering determined by the settings of the last editor to...
Click to read more »Module:Delink
Sabtu, 2025-12-27 13:09:51-- This module de-links most wikitext. require("strict") local p = {} local getArgs local function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]")...
Click to read more »Module:Date table sorting
Kamis, 2022-03-31 12:53:41-- Display if self:hasDate() and self.format ~= 'hide' then span:wikitext(self:makeDisplay()) if not self.isWrapping then span:css('white-space'...
Click to read more »Module:Pagetype
Kamis, 2024-10-24 14:50:47evaluation now that we are required to content = require('Module:Wikitext Parsing').PrepareText(content) -- disregard templates which do not have...
Click to read more »Module:Wd
Senin, 2025-09-01 01:46:43label = mw.text.nowiki(label) -- escape raw label text so it cannot be wikitext markup if title then label = buildWikilink(prefix .. title, label)...
Click to read more »Module:Text
Senin, 2024-07-29 23:14:36:addClass( "error" ) :wikitext( s ) ) end end return r or "" end -- Text.char() Text...
Click to read more »Module:Autotaxobox
Sabtu, 2025-12-27 16:11:31linkText, dummy = mw.ustring.gsub(linkText, "''", '') -- remove any italic wikitext in the link text linkText, dummy = mw.ustring.gsub(linkText, '<.->', '')...
Click to read more »Module:TemplatePar
Rabu, 2023-04-19 21:31:39:attr( "class", "error" ) :wikitext( "@@@" ) if learn then local max =...
Click to read more »Module:Native name
Sabtu, 2024-11-02 17:57:56inhibits wikilinking of language name also supports: args_t.postfixn - wikitext to be appended to list item n (references other appropriate text) args_t...
Click to read more »Module:WikidataIB
Selasa, 2023-11-07 17:57:12attacker might try to exploit. -- It needs to be 'sanitised' by removing any wikitext before use. -- If it doesn't exist, return the id for the item -- a second...
Click to read more »Module:WLink
Sabtu, 2019-11-16 00:11:46-- attempt -- string, with wikitext -- Postcondition: -- Returns string, with modified wikitext without links local r = attempt;...
Click to read more »Module:Val/sandbox
Minggu, 2017-04-23 20:02:34isangle, sortkey = sortkey } end local function list_units(mode) -- Return wikitext to list the built-in units. -- A unit code should not contain wikimarkup...
Click to read more »Module:Val
Selasa, 2025-10-07 08:57:51isangle, sortkey = sortkey } end local function list_units(mode) -- Return wikitext to list the built-in units. -- A unit code should not contain wikimarkup...
Click to read more »Module:Math
Selasa, 2024-07-02 01:01:34used to avoid redundant code. ]] local function err(msg) -- Generates wikitext error messages. return mw.ustring.format('<strong class="error">Formatting...
Click to read more »Module:Wikidata2/doc
Kamis, 2016-06-30 19:46:47Module permitting basic data retrieval from items. It is mosly useful for other modules or for {{Data}} A copy is available on test Wikidata p._getClaims...
Click to read more »Module:Routemap
Kamis, 2018-12-13 12:26:08function pre_block(text) -- Pre tags returned by a module do not act like wikitext <pre>...</pre>. return '<pre>' .. mw.text.nowiki(text) .. (text:sub(-1)...
Click to read more »Module:Convert/data
Kamis, 2025-11-27 21:58:36different links) -- -- These tables are generated by a script which reads the wikitext of a page that -- documents the required properties of each unit; see...
Click to read more »Module:Transclusion count/data/W
Minggu, 2025-02-16 02:13:43["Module:Wikipedia_ads/data"] = 4000, ["Module:Wikipedia_ads/list"] = 4000, ["Module:Wikitext_Parsing"] = 17500000, ["Module:Wikt-lang"] = 3800, ["Module:Wikt-lang/data"]...
Click to read more »Module:IP
Rabu, 2026-01-07 09:56:39unlikely to start with ':'. -- Also want to be able to parse arbitrary wikitext which might use -- colons for indenting. -- Therefore, if an address...
Click to read more »Module:Wikidata2
Kamis, 2016-06-30 20:47:31--script that retrieves basic data stored in Wikidata, for the datamodel, see https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua local p = {}...
Click to read more »Module:Cite Q
Kamis, 2025-01-09 04:00:33done return frame:preprocess (table.concat ({'<syntaxhighlight lang="wikitext" inline="1">', table.concat (expand_args, ' |') .. '}}', '</syntaxhighlight>'}));...
Click to read more »