Search Results: Module:RoundN test
Sorry, the article you're looking for isn't specifically available. Here are related topics:
Module:RoundN
Kamis, 2024-03-07 20:54:05up to {{#invoke:RoundN|N512}} = {{invoke:RoundN|main|columns = 9}} for columns = 1, 9 do local N = math.pow(2, columns) p['N' .. N] = function(frame)...
Click to read more »Module:RoundN/doc
Jumat, 2024-06-07 05:30:34advanced features: RoundN/testcases/1 RoundN/testcases/2 RoundN/testcases/3 RoundN/testcases/4 RoundN/testcases/5 RoundN/testcases/6 RoundN/testcases/7 no_column_head...
Click to read more »Module:RoundN/sandbox
Jumat, 2025-05-30 19:58:57up to {{#invoke:RoundN|N512}} = {{invoke:RoundN|main|columns = 9}} for columns = 1, 9 do local N = math.pow(2, columns) p['N' .. N] = function(frame)...
Click to read more »Module:RoundN/styles.css
Senin, 2022-07-18 16:22:49/* .tbr tournament-bracket-round */ .tbr { margin: .9em 2em 1em 1em; border: 0; font-size: 90%; border-collapse: separate; box-sizing: border-box;...
Click to read more »Module:Build bracket/doc
Senin, 2025-08-25 19:01:48create and edit intricate sports brackets that cannot be made by Module:RoundN or Module:Team bracket. For example, additional headers (for double-elimination...
Click to read more »Module:Sandbox/SiBr4
Jumat, 2016-10-28 20:29:51------------------------- function p.ea(frame) function round(n) return math.floor(n+0.5) end local args = require("Module:Arguments").getArgs(frame)...
Click to read more »Module:Team bracket/doc
Senin, 2024-08-19 21:45:34|RD3-seed2=3|RD3-team2=[[Kapfenberg Bulls|ece Bulls Kapfenberg]]|RD3-score2-1=57|RD3-score2-2=66|RD3-score2-3=56|RD3-score2-4=73|RD3-score2-5=73 }} Module:RoundN...
Click to read more »Module:Energy meter
Rabu, 2016-07-13 14:43:45round(n) return math.floor(n + 0.5) end local function sanitizePercentage(n) if n < 0 then n = 0 elseif n > 100 then n = 100 end return n end...
Click to read more »Module:IPA symbol/data
Kamis, 2026-06-04 02:35:22"ɲ" }, audio = "Palatal nasal.ogg" }, { name = "Voiced post-palatal or pre-velar nasal", symbols = { "ɲ˗", "ɲ̠", "ɲ", "ŋ˖", "ŋ᫈", "ŋ̟" }...
Click to read more »Module:Goalscorers
Rabu, 2026-06-03 14:22:03round = g.args['round'] or "all" if round ~= "all" and not p.validateRound(round) then p.errorString = p.errorString .. 'Invalid round "' .. round...
Click to read more »Module:Team bracket
Kamis, 2024-08-15 01:16:30getRoundName(round) local name = args['RD' .. round] if isnotblank(name) then return name end local roundFromLast = rounds - round + 1 if roundFromLast...
Click to read more »Module:Team bracket/sandbox
Rabu, 2024-08-14 14:16:16getRoundName(round) local name = args['RD' .. round] if isnotblank(name) then return name end local roundFromLast = rounds - round + 1 if roundFromLast...
Click to read more »Module:Sports table/Wrestling
Senin, 2025-02-10 01:00:44Lost end end if show_round then table.insert(t,'| style="'..ii_fw..round_fw .. bg_col..'" |'..round..round_string..'\n') -- Lost end -- Add −...
Click to read more »Module:Goalscorers/sandbox
Rabu, 2026-06-03 14:04:23round = g.args['round'] or "all" if round ~= "all" and not p.validateRound(round) then p.errorString = p.errorString .. 'Invalid round "' .. round...
Click to read more »Module:Location map/sandbox2
Rabu, 2026-05-27 08:25:42require('Module:Arguments').getArgs local function round(n, digits) local mult = math.pow(10, digits) return math.floor(n * mult + 0.5) / mult end local function...
Click to read more »Module:Sandbox/Julio974fr
Minggu, 2023-12-10 21:27:39n, prevN = tonumber(n), tonumber(prevN) if n > prevN then return '+'..tostring(n-prevN) elseif prevN > n then return '−'..tostring(prevN-n) ...
Click to read more »Module:Sandbox/AB-me/Team bracket
Senin, 2023-01-23 18:51:38height:3px;"></div>' .. '\n') end return table.concat(output) end local function getRoundName(round, totalRounds, args) if args['RD' .. round] then return...
Click to read more »Module:Age
Rabu, 2025-12-10 15:08:14"$1"', ['mt-conflicting-show'] = 'Parameter show=$1 conflicts with round=$2', ['mt-date-wrong-order'] = 'The second date must be later in...
Click to read more »Module:WDL
Senin, 2026-03-23 05:10:25require('strict') local getArgs = require('Module:Arguments').getArgs local roundAndPad = require('Module:Math')._precision_format local p = {} local function...
Click to read more »Module:WDL/sandbox
Senin, 2025-03-31 04:52:35require('strict') local getArgs = require('Module:Arguments').getArgs local roundAndPad = require('Module:Math')._precision_format local p = {} local function...
Click to read more »Module:Extensive archives
Senin, 2026-04-27 04:43:01round to nearest half-day local days = n / 24 local rounded = math.floor(days * 2 + 0.5) / 2 if rounded == math.floor(rounded)...
Click to read more »Module:Location map
Selasa, 2026-05-26 13:47:54require('Module:Arguments').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map...
Click to read more »Module:Age/sandbox
Selasa, 2025-12-09 10:52:00"$1"', ['mt-conflicting-show'] = 'Parameter show=$1 conflicts with round=$2', ['mt-date-wrong-order'] = 'The second date must be later in...
Click to read more »Module:USN fleet totals
Sabtu, 2023-07-22 22:33:30O U N D >-------------------------------------------------------------------- rounds <count> to nearest multiple of 5. ]] local function round (count)...
Click to read more »Module:Location map/sandbox
Selasa, 2026-06-02 04:25:47require('Module:Arguments').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map...
Click to read more »Module:Math
Jumat, 2026-04-10 21:26:08end end --[[ round Rounds a number to specified precision Usage: {{#invoke:Math | round | value | precision }} --]] function wrap.round(args) local...
Click to read more »Module:Convert/text
Minggu, 2025-10-05 14:15:45identifier ["round"] = { ["0.5"] = "opt_round=0.5", -- round output value to nearest 0.5 ["5"] = "opt_round=5", -- round output value...
Click to read more »Module:Sandbox/Adamstom.97
Jumat, 2026-01-09 23:07:58n" -- X axis label centered near bottom timeline = timeline .. " pos:("..TVSG.round(graph_width/2)..","..(g_b/2)..") text:Reporting_week\n" --...
Click to read more »Module:Math/testcases
Jumat, 2026-01-30 20:57:23(n) return n >= 1 and n <= 10 and math.floor(n) == n end, 'random', {10}) self:assertLuaAndInvokeTrue(function (n) return n >= 10 and n <= 20 and...
Click to read more »Module:Country population
Minggu, 2025-06-15 02:39:20output = output .. '\n| ' .. mm._round(data[i]['populationGrowth']*100,2) .. "%" output = output .. '\n| ' .. mm._round(data[i]['populationDouble']...
Click to read more »Module:Convert/text/sandbox
Senin, 2026-03-02 10:38:54identifier ["round"] = { ["0.5"] = "opt_round=0.5", -- round output value to nearest 0.5 ["1"] = "opt_round=1", -- round output value...
Click to read more »Module:Math/doc
Senin, 2026-04-06 23:54:172019, there is a bug in the display of some rounded numbers. When trying to round a number that rounds to "n.0", like "1.02", to the nearest tenth of a...
Click to read more »Module:Sandbox/Greenbreen/Minimum wage/Annual wage/USD
Selasa, 2026-05-12 06:42:59currency, round = round } } return usdModule.main(childFrame) end -- Replicates {{#ifeq:{{To USD|1|currency}}|~~|{{N/a}}|...}}...
Click to read more »Module:Coordinates
Senin, 2026-01-26 03:35:45precision = -math_mod._round(math.log(precision)/math.log(10),0) args[1] = math_mod._round(args[1],precision) args[2] = math_mod._round(args[2],precision)...
Click to read more »Module:Road data/util
Rabu, 2023-05-31 03:52:14This function rounds a given number to the given number of digits. local round = math._precision_format local prec = desiredPrec or precision(distance)...
Click to read more »Module:Sandbox/Vozul
Senin, 2023-03-20 06:49:06getRowRoundColor(args.round, args.numberofrounds)) table.insert(row, '"| ') -- round column table.insert(row, '\n!scope=row...
Click to read more »Module:Sandbox/TheThomanski/SongContestTable
Senin, 2026-03-23 05:26:04end local round, roundNo if roundInput then round, roundNo = roundInput:gsub("%d+", ""), tonumber(roundInput:match("%d+")) end ...
Click to read more »Module:IPA symbol/data/sandbox
Kamis, 2026-04-02 23:54:46"ɲ" }, audio = "Palatal nasal.ogg" }, { name = "Voiced post-palatal or pre-velar nasal", symbols = { "ɲ˗", "ɲ̠", "ɲ", "ŋ˖", "ŋ᫈", "ŋ̟" }...
Click to read more »Module:Coordinates/sandbox
Senin, 2026-01-12 03:40:02precision = -math_mod._round(math.log(precision)/math.log(10),0) args[1] = math_mod._round(args[1],precision) args[2] = math_mod._round(args[2],precision)...
Click to read more »Module:Convert
Kamis, 2026-01-15 09:19:56make_sigfig(outvalue, parms.sigfig) elseif parms.opt_round then local n = parms.opt_round if n == 0.5 then local integer, fracpart = math.modf(floor(2...
Click to read more »Module:Mountain table cell
Jumat, 2020-07-24 11:37:34args[1] then local n = args['name'] and '[[' .. args[1] .. '|' .. args['name'] .. ']]' or '[[' .. args[1] .. ']]' res = res .. n local refs = {}...
Click to read more »Module:NFL Draft
Sabtu, 2022-04-16 05:29:22'</span>' end local function get_round_color(round, numrounds) -- make sure numbers are within bounds round = tonumber(round) or -1 numrounds = tonumber(numrounds)...
Click to read more »Module:Roman/doc
Senin, 2023-08-21 07:47:13Template:Roman/testcases. Module supports 0 as a Roman numeral, displays as 'N'. Prior to 25 April 2016, used to display 69105 as LXVMMMMCV. With the addition...
Click to read more »Module:IPAc2-mh
Minggu, 2020-01-12 05:06:00occur after rounded vowels. text = string.gsub(text, "([QOou] *[nrl]? *[nrl])Hw", "%1w") text = string.gsub(text, "([QOou] *[kgN]? *N)Hw( *M)", "%1w%2")...
Click to read more »Module:Mountain table cell/sandbox
Selasa, 2020-01-07 21:52:43args[1] then local n = args['name'] and '[[' .. args[1] .. '|' .. args['name'] .. ']]' or '[[' .. args[1] .. ']]' res = res .. n local refs = {}...
Click to read more »Module:Country population/sandbox
Jumat, 2022-10-21 17:01:22output = output .. '\n| ' .. mm._round(data[i]['populationGrowth']*100,2) .. "%" output = output .. '\n| ' .. mm._round(data[i]['populationDouble']...
Click to read more »Module:Sandbox/Nardog/8t
Sabtu, 2019-01-26 23:14:47"ɲ˗", "ɲ̠", "ŋ˖", "ŋ̟" }, }, { name = "Voiceless velar nasal", symbols = { "ŋ̊", "ŋ̥" }, }, { name = "Velar nasal", symbols = { "ŋ"...
Click to read more »Module:Wd
Rabu, 2025-07-23 02:53:47yRound = (yRound - 1) * yFactor + 1 end else -- precision == 8 -- round decades down (e.g. 2010s) yRound = math.floor(yDiv)...
Click to read more »Module:Build bracket/StateChecks
Selasa, 2025-08-19 01:00:36neighborHasSeed(idx) local n = col[idx] return n and n.ctype == "team" and n.group == group and notempty(n.seed) end -- Check teammates...
Click to read more »Module:Sports table/styledoc
Jumat, 2025-10-24 23:34:31number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:Transclusion count/data/R
Minggu, 2026-06-07 12:13:41["Module:Roman"] = 6100, ["Module:Rotten_Tomatoes_data"] = 6400, ["Module:RoundN"] = 13000, ["Module:Routemap"] = 30000, ["Module:Rugby_box"] = 3600,...
Click to read more »Module:Sandbox/Innesw/Charts SVG
Kamis, 2022-07-07 08:43:27nil, nil, "n", 10) Parms["XAxisValueMultiplier"] = getParm("XAxisValueMultiplier", nil, nil, "n", 1) Parms["XAxisValueRound"] = getParm("XAxisValueRound"...
Click to read more »Module:Math/sandbox
Jumat, 2026-04-10 00:08:08end end --[[ round Rounds a number to specified precision Usage: {{#invoke:Math | round | value | precision }} --]] function wrap.round(args) local...
Click to read more »Module:User:Cscott/Advent Of Code 2023/Day 14
Jumat, 2023-12-15 10:38:10local nl = l.P"\n" function make_spot(s) if s == "#" then return Spot:new{cube=true} end if s == "O" then return Spot:new{round=true} end return...
Click to read more »Module:Convert/sandbox
Senin, 2026-03-02 10:48:21make_sigfig(outvalue, parms.sigfig) elseif parms.opt_round then local n = parms.opt_round if n == 0.5 then local integer, fracpart = math.modf(floor(2...
Click to read more »Module:Sandbox/mikeblas/Mountain table cell
Minggu, 2020-01-05 23:25:15args[1] then local n = args['name'] and '[[' .. args[1] .. '|' .. args['name'] .. ']]' or '[[' .. args[1] .. ']]' res = res .. n local refs = {}...
Click to read more »Module:Sandbox/Erutuon/Temperature arrays
Rabu, 2016-10-05 09:35:23cell_format = {} local n = 1 for unit in output_parameter:gmatch("[CF]") do cell_format[n] = unit n = n + 1 if n > 2 then break end...
Click to read more »Module:User:Mxn/Archive timeline
Minggu, 2013-09-22 19:38:30then table.insert(years, year) local size = m._round(tonumber(frame:callParserFunction( "PAGESIZE", subTitle...
Click to read more »Module:Sports rbr table/doc
Rabu, 2023-05-10 17:43:08Position tables {{#invoke:Sports rbr table|table | sortable = <!-- y or n or omit --> | team1 = | pos1 = <!-- 1 / 2 / 3 / 4 / ... --> | team2 = | pos2...
Click to read more »Module:Sports rbr table
Selasa, 2025-04-01 20:57:51function zeropad(n) if n>=0 and n < 10 then return '00' .. n end if n>=0 and n < 100 then return '0' .. n end return '' .. n end local function...
Click to read more »Module:United Nations Security Council election results
Rabu, 2024-08-07 09:41:06Member") local round = frame.args.round or 1 for i=0,maxcols - 1 do appendLine ("| style=\"background:silver;\"|'''Round " .. (i + round) .. "'''") ...
Click to read more »Module:Epi
Selasa, 2018-10-16 00:33:50local function moft(n, e, d, l, s, p, flip) if tonumber(n) then n = tonumber(n) fmt = true if (math.abs(n) > 900) and (math.abs(n) < 9000) then fmt...
Click to read more »Module:Wikipedia:WikiProject U.S. Roads/Assessment/States/Live
Selasa, 2016-11-15 10:55:44_precision_format roundedWW = round(tostring(relativeWW), "3") else roundedWW = '0.000' end insert(cells, format("|align='right'|%s", roundedWW)) return...
Click to read more »Module:Weather/sandbox
Jumat, 2022-10-21 17:06:22tonumber(value) if unit == "C" then return round(value * 9/5 + 32, decimals) elseif unit == "F" then return round((value - 32) * 5/9, decimals) else...
Click to read more »Module:High-use
Kamis, 2025-10-09 03:24:46-- Prepare to round to appropriate number of sigfigs local f = math.floor(math.log10(args.count)) - sigfig + 1 -- Round and insert 'approximately'...
Click to read more »Module:Television Rotten Tomatoes scores
Sabtu, 2026-01-17 08:26:38score then local y = TVRT.round(g_b + (score-period_min) * percent_pixel) if last_x then timeline = timeline .. "\n points:("..last_x..","..last_y...
Click to read more »Module:Weather box/row
Minggu, 2023-12-10 12:26:45precision = math.max(p1, p2) end self:setNumberRounded(outnum, precision) end, setNumberRounded = function (self, number, precision) if precision...
Click to read more »Module:Build bracket/Params
Selasa, 2025-08-26 09:14:53_toCharFallback(n) n = tonumber(n or 0) or 0 if n >= 1 and n <= 26 then return string.char(96 + n) -- 'a'..'z' end return tostring(n) end...
Click to read more »Module:Build bracket/Params/sandbox
Selasa, 2025-08-26 20:29:19_toCharFallback(n) n = tonumber(n or 0) or 0 if n >= 1 and n <= 26 then return string.char(96 + n) -- 'a'..'z' end return tostring(n) end...
Click to read more »Module:Medical cases chart
Minggu, 2026-02-15 06:50:15tRows[nRowNum] and tRows[nRowNum].nDate then local nDiff = nTime - tRows[nRowNum].nDate if nDiff > -nTol then if nDiff < nTol then if bAll then...
Click to read more »Module:Election box US auto
Jumat, 2019-08-30 22:54:12round to 2 decimals round_to = 2 else round_to = 1 end local ret = mw.ext.ParserFunctions.expr( "" .. 100 * part / total .. " round " .. round_to...
Click to read more »Module:Gapnum/doc
Rabu, 2025-07-23 08:10:15is less than the number of digits, extra digits will be removed without rounding; if it is more, zeroes will be added to the end to create the desired precision...
Click to read more »Module:Weather box/row/sandbox
Kamis, 2023-12-07 12:26:10precision = math.max(p1, p2) end self:setNumberRounded(outnum, precision) end, setNumberRounded = function (self, number, precision) if precision...
Click to read more »Module:Sandbox/The Equalizer/2
Senin, 2026-01-05 08:35:18local distance_cardinal_only, get_cardinal_direction, get_precision local round_to_multiple, get_qid, get_coords -- Helper: Normalize input to a QID get_qid...
Click to read more »Module:Wd/sandbox
Jumat, 2025-08-08 00:45:17yRound = (yRound - 1) * yFactor + 1 end else -- precision == 8 -- round decades down (e.g. 2010s) yRound = math.floor(yDiv)...
Click to read more »Module:Sandbox/The Equalizer/2/sandbox
Senin, 2026-01-05 01:46:34local distance_cardinal_only, get_cardinal_direction, get_precision local round_to_multiple, get_qid, get_coords -- Helper: Normalize input to a QID get_qid...
Click to read more »Module:Archives/bots/sandbox
Sabtu, 2025-12-06 14:30:02pops out n+0 or n+0.5 days -- apparently 7.6 days is undesirable local double_days = 2 * num_age / 24 local rounded_double_days = round(double_days...
Click to read more »Module:Progression rainbow
Sabtu, 2025-02-22 08:20:50require('strict') local p = {} -- rounding to first decimal, from http://lua-users.org/wiki/SimpleRound local function round(num) return math.floor(num *...
Click to read more »Module:Medical cases chart/sandbox
Kamis, 2025-09-04 21:12:04tRows[nRowNum] and tRows[nRowNum].nDate then local nDiff = nTime - tRows[nRowNum].nDate if nDiff > -nTol then if nDiff < nTol then if bAll then...
Click to read more »Module:Archive list
Selasa, 2026-02-17 22:19:421, and lineNum is a round number, this aligns the first -- column to start on a multiple of lineNum, which may be a nice round number local function...
Click to read more »Module:High-use/sandbox
Kamis, 2025-10-09 03:17:31-- Prepare to round to appropriate number of sigfigs local f = math.floor(math.log10(args.count)) - sigfig + 1 -- Round and insert 'approximately'...
Click to read more »Module:Weather/stableSandbox
Kamis, 2016-10-06 07:51:52cell_format = {} local n = 1 for unit in output_parameter:gmatch("[CF]") do cell_format[n] = unit n = n + 1 if n > 2 then break end...
Click to read more »Module:Fb overview
Senin, 2026-03-23 05:12:02= 'First match', lastmatch = 'Last match', startinground = 'Starting round', finalposition = 'Final position', record = 'Record', total = 'Total'...
Click to read more »Module:Sandbox/Habst/Age
Minggu, 2018-06-17 11:52:14remove = function (self, pos) if self.n > 0 and (pos == nil or (0 < pos and pos <= self.n)) then self.n = self.n - 1 return table.remove(self, pos)...
Click to read more »Module:Convert/wikidata
Kamis, 2021-05-06 12:08:27function Collection:add(item) if item ~= nil then self.n = self.n + 1 self[self.n] = item end end function Collection:join(sep) return table...
Click to read more »Module:Progression rainbow/sandbox
Jumat, 2022-10-21 17:04:48require('strict') local p = {} -- rounding to first decimal, from http://lua-users.org/wiki/SimpleRound local function round(num) return math.floor(num *...
Click to read more »Module:Fb overview/sandbox
Sabtu, 2021-05-08 07:11:11= 'First match', lastmatch = 'Last match', startinground = 'Starting round', finalposition = 'Final position', record = 'Record', total = 'Total'...
Click to read more »Module:Sports table/Custom/doc
Minggu, 2026-04-26 20:23:37number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:Convert/wikidata/sandbox
Senin, 2020-12-14 13:00:27function Collection:add(item) if item ~= nil then self.n = self.n + 1 self[self.n] = item end end function Collection:join(sep) return table...
Click to read more »Module:Sports table/WDL
Kamis, 2025-04-24 06:03:07insert(t,'{| class="wikitable'..sort_text..'" style="text-align:center;"\n') -- Open table -- Table title if Args['title'] or Args['table_header']...
Click to read more »Module:Tennis performance timeline
Senin, 2022-08-01 01:17:59if roundInfo.group then roundInfo.round = display.round .. display.group else roundInfo.round = display.round end display.round =...
Click to read more »Module:Convert/documentation/conversion data
Senin, 2026-03-02 10:32:53factors have more than 7 places, they are rounded and no longer exact. This convert module replaces these rounded figures with the exact figures. For example...
Click to read more »Module:Roman
Kamis, 2023-02-09 03:14:10'N' end -- Return a message for numbers too big to be expressed in Roman numerals. if num >= 5000000 then return args[2] or 'N/A'...
Click to read more »Module:Tennis performance timeline/sandbox
Sabtu, 2023-05-06 23:05:01if roundInfo.group then roundInfo.round = display.round .. display.group else roundInfo.round = display.round end display.round =...
Click to read more »Module:Sandbox/Sebotic/query test
Sabtu, 2015-09-19 06:49:50/>{{#expr:{{{Hs_GenLoc_start}}} / 1000000 round 2}} – {{#expr:{{{Hs_GenLoc_end}}} / 1000000 round 2}} Mb]</span>|n/a }} | data23b =...
Click to read more »Module:Convert/makeunits
Selasa, 2024-10-22 14:42:28return { n = 0, add = function (self, item) self.n = self.n + 1 self[self.n] = item end, pop = function (self, item) if self.n > 0 then...
Click to read more »Module:Change
Selasa, 2023-04-11 10:52:07trim(s) ~= '' end function change(args) local rnd = require('Module:Math')._round local prec_format = require('Module:Math')._precision_format local lang...
Click to read more »Module:Tropical cyclone season effects
Minggu, 2021-10-24 05:53:56tableWindsUnit, args["winds-target"] or "kph", round = "5", abbr = "on", disp = "out" } } .....
Click to read more »Module:X-SAMPA to IPA
Jumat, 2024-09-13 03:37:01linguolabial ["_N"] = { U(0x33C), is_diacritic = true }, -- nasal release ["_n"] = { "ⁿ", is_diacritic = true }, -- more rounded ["_O"] = { U(0x339)...
Click to read more »Module:Date
Rabu, 2026-02-18 10:21:21Return a table to hold items. return { n = 0, add = function (self, item) self.n = self.n + 1 self[self.n] = item end, join = _list_join, }...
Click to read more »Module:Infobox gridiron football person/convert
Kamis, 2015-09-10 10:55:34NFLDraftedYear or args.DraftedYear) printfd("| NFLDraftedRound = %s", args.NFLDraftedRound or args.DraftedRound) printfd("| NFLDraftedPick = %s", args.NFLDraftedPick...
Click to read more »Module:Archive list/sandbox
Rabu, 2024-08-14 06:03:401, and lineNum is a round number, this aligns the first -- column to start on a multiple of lineNum, which may be a nice round number local function...
Click to read more »Module:Sandbox/Desb42
Minggu, 2022-08-07 15:25:01round to 2 decimals round_to = 2 else round_to = 1 end local ret = mw.ext.ParserFunctions.expr( "" .. 100 * part / total .. " round " .. round_to...
Click to read more »Module:Election box US auto/sandbox
Kamis, 2023-04-13 08:31:47round to 2 decimals round_to = 2 else round_to = 1 end local ret = mw.ext.ParserFunctions.expr( "" .. 100 * part / total .. " round " .. round_to...
Click to read more »Module:Sandbox/Joriki
Minggu, 2024-08-04 12:14:53style=\"background:silver;\"|'''Round " .. i .. "'''") end for j,label in ipairs (labels) do result = result .. "|-\n| style=\"text-align:left;\" |...
Click to read more »Module:Climate chart/sandbox 1
Rabu, 2024-04-24 02:38:12loadData('Module:Climate chart/configuration') -- from https://lua-users.org/wiki/SimpleRound local function arg_or_default(args, from_arg, default) local arg = mw...
Click to read more »Module:Wikidata table
Kamis, 2026-02-12 20:56:00ucf(frame) return ucf(frame.args.text or "") end -- return a number rounded to a precision local function decimalprecision(x, prec) local s = 1 if...
Click to read more »Module:Sandbox/Wnt/Plotter/doc
Senin, 2020-10-05 21:41:25legend as written (just after the label), without any rounding or other reformatting. each "colorN" is a CSS color code or name. See Module:Plotter/DefaultColors...
Click to read more »Module:Sandbox/User:Ahecht/Inflation/sandbox
Rabu, 2024-10-09 19:39:52round) == nil then table.insert(errorParams, "{{para|r|'''" .. round .. "'''}}") end if next(errorParams) ~= nil then return '[[NaN]], check...
Click to read more »Module:Sandbox/Inteloff/Age
Jumat, 2020-02-07 05:29:33"$1"', ['mt-conflicting-show'] = 'Parameter show=$1 conflicts with round=$2', ['mt-date-wrong-order'] = 'The second date must be later in...
Click to read more »Module:Climate chart
Sabtu, 2024-12-21 06:23:59ParserFunctions.expr -- from https://lua-users.org/wiki/SimpleRound local function round(num, decimal_places) local mult = 10^(decimal_places or 0) return...
Click to read more »Module:Sandbox/Þjarkur/IPAc-is/phonemes
Sabtu, 2019-01-26 20:18:01}, { code = "n", label = "n", tooltip = "'n': noon", }, { code = "n̥", label = "n̥", tooltip = "'n̥': (voiceless, like hn)"...
Click to read more »Module:Roman/sandbox
Rabu, 2025-01-01 20:22:41'N' end -- Return a message for numbers too big to be expressed in Roman numerals. if num >= 5000000 then return args[2] or 'N/A'...
Click to read more »Module:Sports table/Volleyball
Minggu, 2023-05-07 01:18:02insert(t,'{|class="wikitable '..sort_text..'" style="text-align:center;"\n') -- Open table -- Initialize local tt = {} tt.count =...
Click to read more »Module:Sandbox/DePiep/sandbox
Selasa, 2023-08-01 22:43:21end end --[[ round Rounds a number to specified precision Usage: {{#invoke:Math | round | value | precision }} --]] function wrap.round(args) local...
Click to read more »Module:Sports table/WL/doc
Kamis, 2025-10-16 01:30:01number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:Tropical cyclone season effects/sandbox
Minggu, 2021-10-24 05:46:57tableWindsUnit, args["winds-target"] or "kph", round = "5", abbr = "on", disp = "out" } } .....
Click to read more »Module:Sandbox/Jts1882/Test
Selasa, 2023-03-28 22:44:59output = output .. '\n| ' .. mm._round(data[i]['populationGrowth']*100,2) .. "%" output = output .. '\n| ' .. mm._round(data[i]['populationDouble']...
Click to read more »Module:Sports table/CricketCC
Senin, 2023-09-11 18:54:46style="text-align:center;"\n') -- Open table -- Table title if Args['title'] then table.insert(t,'|+ ' .. Args['title'] .. '\n') end --Header...
Click to read more »Module:European and national party data/sandbox
Rabu, 2025-11-19 19:19:14arguments with two decimals ]] local function round (n) return math.floor(100 * n + 0.5) / 100 -- round argument to two decimals end ...
Click to read more »Module:Sandbox/Hike395/Locmap
Senin, 2022-10-24 04:14:17require('Module:Arguments').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map...
Click to read more »Module:Sports table/Chess/doc
Rabu, 2023-05-10 17:45:03Module:Sports table is meant to build group and league tables for chess round-robin competitions with a crosstable. Unlike the WDL style, in this style...
Click to read more »Module:Signpost poll
Kamis, 2025-09-18 23:36:41votePage, search = self:getVoteText(n) }} return self.count end end function Option:setVoteTotal(n) self.total = n end function Option:getVoteTotal()...
Click to read more »Module:Sports table/WL OT/doc
Sabtu, 2025-10-18 21:29:30number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:European and national party data
Rabu, 2025-11-19 19:27:55arguments with two decimals ]] local function round (n) return math.floor(100 * n + 0.5) / 100 -- round argument to two decimals end ...
Click to read more »Module:Sports table/WDL/doc
Rabu, 2025-10-01 18:47:51number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:Sports table/sub
Sabtu, 2019-10-26 22:00:36head_string = '! scope="col" |'..text..'\n' else head_string = '! scope="col" width='..width..'|'..text..'\n' end ttt.count = ttt.count+1 table.insert(ttt...
Click to read more »Module:Sandbox/Aseleste/Indexer
Kamis, 2021-01-21 09:45:11else -- append content content = content .. line .. "\n" end end -- one more round of finishing result for _, category in ipairs(context) do...
Click to read more »Module:MergedMapGetPushPin
Rabu, 2026-05-27 08:25:52require('Module:Arguments').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map...
Click to read more »Module:Sports table/College/doc
Rabu, 2023-05-10 17:44:44number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:Sports table/Volleyball/doc
Rabu, 2023-05-10 17:45:07number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:Sports table/Fencing
Selasa, 2020-02-04 05:05:30insert(t,'{|class="wikitable '..sort_text..'" style="text-align:center;"\n') -- Open table -- Initialize local tt = {} tt.count =...
Click to read more »Module:Sports table/sub/sandbox
Sabtu, 2023-04-08 03:11:46head_string = '! scope="col" |'..text..'\n' else head_string = '! scope="col" width='..width..'|'..text..'\n' end ttt.count = ttt.count+1 table.insert(ttt...
Click to read more »Module:ER Progression rainbow
Sabtu, 2024-11-02 06:08:48require('strict') local p = {} -- rounding to first decimal, from http://lua-users.org/wiki/SimpleRound local function round(num) return math.floor(num *...
Click to read more »Module:Sandbox/Aseleste/Indexer/sandbox
Rabu, 2021-01-20 21:25:54else -- append content content = content .. line .. "\n" end end -- one more round of finishing result for _, category in ipairs(context) do...
Click to read more »Module:Sports table/WL OTL tiebreak/doc
Sabtu, 2025-10-18 22:03:48number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:Sports table/Chess
Minggu, 2022-07-03 01:42:37tables local pp = {} function pp.preprocess(Args,N_teams,prefix,drawfractions) local legs = 1 for ii=1,N_teams do local ti = Args['team' .. ii] Args[prefix...
Click to read more »Module:Sports table/CricketRT
Selasa, 2022-07-12 11:33:31style="text-align:center;"\n') -- Open table -- Table title if Args['title'] then table.insert(t,'|+ ' .. Args['title'] .. '\n') end --Header...
Click to read more »Module:Sports table/CricketRR
Senin, 2025-02-17 22:01:28style="text-align:center;"\n') -- Open table -- Table title if Args['title'] then table.insert(t,'|+ ' .. Args['title'] .. '\n') end --Header...
Click to read more »Module:Bracket/sandbox
Kamis, 2025-06-12 00:09:17"-Consols") args.rounds = args.rounds or mw.ustring.match(template, "^(%d*)Round") if not args.rounds then local teams = tonumber(mw.ustring.match(template...
Click to read more »Module:Sports rbr table/sandbox
Senin, 2026-03-23 05:18:44function zeropad(n) if n>=0 and n < 10 then return '00' .. n end if n>=0 and n < 100 then return '0' .. n end return '' .. n end local function...
Click to read more »Module:Sandbox/ArdWar
Kamis, 2025-08-14 07:15:30require('Module:Arguments').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map...
Click to read more »Module:Date/sandbox
Rabu, 2026-02-18 12:27:47Return a table to hold items. return { n = 0, add = function (self, item) self.n = self.n + 1 self[self.n] = item end, join = _list_join, }...
Click to read more »Module:ResultsByDenmark
Kamis, 2025-11-20 09:27:35string.format("%.1f", rounded) else if rounded == math.floor(rounded) then displayO = tostring(math.floor(rounded)) else ...
Click to read more »Module:WikidataIB
Sabtu, 2025-12-27 18:46:46lowb, 2) / factor upb, lowb = amount + posdif, amount - negdif -- round scaled numbers to integers or 4 sig fig if (scale > 0 or sc == "a") then...
Click to read more »Module:Sandbox/Marsupium/Object
Minggu, 2025-12-28 22:36:54pink;"') or '' local tablerow = mw.ustring.format('\n|-%s\n| %s \n| %s \n|%s %s \n| %s \n| %s \n| %s', demolishedStyle, name, timesAndStyles, architectSort...
Click to read more »Module:Change/sandbox
Selasa, 2023-04-11 10:46:23trim(s) ~= '' end function change(args) local rnd = require('Module:Math')._round local prec_format = require('Module:Math')._precision_format local lang...
Click to read more »Module:Chart
Minggu, 2025-10-05 10:07:07{style="list-style:none;column-width:12em;"}, table.concat( list, '\n' ) ) ) table.insert( tab, '</div>' ) end end local function pieChart(...
Click to read more »Module:Sports table/Baseball/doc
Jumat, 2023-11-03 23:58:21number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using |highest_pos=N in the module...
Click to read more »Module:IAU star location map
Rabu, 2026-05-27 08:27:40return tmparg; end -- http://lua-users.org/wiki/SimpleRound local function round(num, idp) local mult = 10 ^ (idp or 0) return math.floor(num...
Click to read more »Module:Sandbox/Justinkunimune
Selasa, 2026-05-26 18:50:10require('Module:Arguments').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map...
Click to read more »Module:Bracket
Rabu, 2026-06-03 21:26:57true end args.rounds = args.rounds or mw.ustring.match(template, "^(%d*)Round") if not args.rounds then local teams = tonumber(mw.ustring.match(template...
Click to read more »Module:Archive list alpha
Rabu, 2022-10-12 01:03:231, and lineNum is a round number, this aligns the first -- column to start on a multiple of lineNum, which may be a nice round number local function...
Click to read more »Module:Sports table/Darts
Selasa, 2021-04-20 07:39:56insert(t,'{|class="wikitable '..sort_text..'" style="text-align:center;"\n') -- Open table -- Custom header options local draw_head_text...
Click to read more »Module:Convert/documentation/conversion data/introduction
Minggu, 2026-05-24 14:22:45factors have more than 7 places, they are rounded and no longer exact. This convert module replaces these rounded figures with the exact figures. For example...
Click to read more »Module:USN fleet totals/data
Sabtu, 2023-07-22 22:23:07'Support_t', 'Ready Reserve Force ships_t', 'Reserve fleet_t'}; -- only these for n_of_m local headers_t = { -- headers for the fleet totals section...
Click to read more »Module:Section sizes
Sabtu, 2026-04-18 10:58:52formatting appropriate to local language --[[--------------------------< I 1 8 N _ T >------------------------------------------------------------------ An...
Click to read more »Module:Sandbox/Mlkj
Kamis, 2022-10-06 19:44:03at 1, and lineNum is a round number, this aligns the first -- column to start on a multiple of lineNum, which may be a nice round number local function...
Click to read more »Module:Sandbox/Bawolff/Location map
Selasa, 2026-01-06 15:44:56require('Module:Arguments').getArgs local function round(n, decimals) local pow = 10^(decimals or 0) return math.floor(n * pow + 0.5) / pow end function p.getMapParams(map...
Click to read more »Module:Sports table/Badminton team
Kamis, 2022-12-15 01:00:24insert(t,'{|class="wikitable '..sort_text..'" style="text-align:center;"\n') -- Open table -- Custom header options local draw_head_text...
Click to read more »Module:Election results/sandbox
Senin, 2026-06-08 04:31:09fmt(n) return n and tonumber(n) and lang:formatNum(tonumber(n)) or nil end local function pct(n, d) n, d = tonumber(n), tonumber(d) if n and d...
Click to read more »Module:Sandbox/Alexiscoutinho
Rabu, 2025-12-10 01:48:05local function is(v) return (v or '') ~= '' end function p._barColors(n) local colors = { '#A50026', --deaths 'SkyBlue', --recoveries 'Tomato'...
Click to read more »Module:Track gauge/autodocument
Senin, 2024-08-12 19:10:45end end end -- return '\n|' .. ttlHitCount .. ' hits. ' .. #rowIMP return '\n\n|-\n\n|' .. table.concat(rowIMP, '\n\n|-\n\n|') end return p...
Click to read more »Module:WikidataIB/sandbox
Senin, 2025-12-22 06:49:07["default"] = "th" }, ["filespace"] = "File", ["Unknown"] = "Unknown", ["NaN"] = "Not a number", -- set the following to the name of a tracking category...
Click to read more »Module:Sports table/WDL OT
Sabtu, 2026-05-09 23:45:21insert(t,'{| class="wikitable'..sort_text..'" style="text-align:center;"\n') -- Open table -- Table title if Args['title'] or Args['table_header']...
Click to read more »Module:Sandbox/JPxG/Automatic archive navigator editsection
Kamis, 2024-10-10 00:19:34consecutive; the third offset is rounded up to the -- nearest 5; and the fourth and subsequent offsets are rounded up to -- the nearest 10. The offsets...
Click to read more »Module:Graph
Sabtu, 2025-07-12 23:57:01debuglog = debuglog .. "" .. "\n\n" .. "- " .. debug.traceback() .. "result type: ".. type(result) .. " result: \n\n" .. mw.dumpObject(result) --invoke...
Click to read more »Module:User:Happy5214/WikiWork
Kamis, 2020-05-14 13:41:46require('Module:Arguments').getArgs local math = require "Module:Math" local round = math._precision_format local concat = table.concat local format = string...
Click to read more »Module:Sports table/WDLHA
Selasa, 2022-11-29 01:10:10insert(t,'{| class="wikitable'..sort_text..'" style="text-align:center;"\n') -- Open table -- Table title if Args['title'] or Args['table_header']...
Click to read more »Module:Election results
Minggu, 2026-04-05 06:06:59fmt(n) return n and tonumber(n) and lang:formatNum(tonumber(n)) or nil end local function pct(n, d) n, d = tonumber(n), tonumber(d) if n and d...
Click to read more »Module:Coordinates/sandbox2
Selasa, 2023-05-02 13:56:45precision = -math_mod._round(math.log(precision)/math.log(10),0) args[1] = math_mod._round(args[1],precision) args[2] = math_mod._round(args[2],precision)...
Click to read more »Module:Sports table/WDL/sandbox
Selasa, 2025-12-02 00:00:07insert(t,'{| class="wikitable'..sort_text..'" style="text-align:center;"\n') -- Open table -- Table title if Args['title'] or Args['table_header']...
Click to read more »Module:Sports table/Curling
Minggu, 2026-02-08 06:33:45insert(t,'{|class="wikitable '..sort_text..'" style="text-align:center;"\n') -- Open table -- Table title if Args['title'] or Args['table_header']...
Click to read more »Module:Sports table/Badminton individual
Jumat, 2021-09-03 13:02:01status_code = { A='Advance to a further round', C='Champion', D='Disqualified', E='Eliminated', G='Guest', H='Host', N='Did not start', O='Play-off winner'...
Click to read more »Module:Sandbox/Favonide
Jumat, 2025-03-28 21:50:27precision = -math_mod._round(math.log(precision)/math.log(10),0) args[1] = math_mod._round(args[1],precision) args[2] = math_mod._round(args[2],precision)...
Click to read more »Module:Sports table/College
Jumat, 2024-10-04 12:14:20insert(t,'{| class="wikitable'..sort_text..'" style="text-align:center;"\n') -- Open table -- Table title if Args['title'] or Args['table_header']...
Click to read more »Module:Build bracket/Config
Selasa, 2025-08-19 01:00:32local function noish(s) s = (s or ""):lower() return s == "n" or s == "no" or s == "false" or s == "0" end -- Prefer Helpers.yes/no...
Click to read more »Module:Piechart
Senin, 2026-01-26 02:44:18bcolor, label) end -- mw.log(html) return html end -- round to int function priv.round(number) return math.floor(number + 0.5) end -- render full...
Click to read more »Module:Sandbox/Liinisx
Jumat, 2023-01-13 22:32:10yRound = (yRound - 1) * yFactor + 1 end else -- precision == 8 -- round decades down (e.g. 2010s) yRound = math.floor(yDiv)...
Click to read more »Module:Build bracket/Logic
Minggu, 2025-08-24 04:22:19end end -- Build ordered lists once per round: gid -> {row indices} local function buildGroupsForRound(j, R) local groups = {} local mg = (state...
Click to read more »Module:Sports table/Rugby
Selasa, 2023-10-10 06:42:22then if n >= 0 and n < 10 then return '<span style="visibility:hidden;color:transparent;">00</span>' .. num elseif n >= 10 and n < 100 then...
Click to read more »Module:Sports table/Rugby/sandbox
Selasa, 2023-10-10 06:44:08then if n >= 0 and n < 10 then return '<span style="visibility:hidden;color:transparent;">00</span>' .. num elseif n >= 10 and n < 100 then...
Click to read more »Module:Piechart/sandbox
Jumat, 2026-01-30 21:46:14bcolor, label) end -- mw.log(html) return html end -- round to int function priv.round(number) return math.floor(number + 0.5) end -- render full...
Click to read more »Module:Archive list alpha/sandbox
Selasa, 2023-04-11 09:40:321, and lineNum is a round number, this aligns the first -- column to start on a multiple of lineNum, which may be a nice round number local function...
Click to read more »Module:Listen
Jumat, 2022-07-08 00:12:31length or length == 0 then return nil end -- Add 0.5 to offset the rounding down local t = lang:getDurationIntervals(length + 0.5, { 'hours', 'minutes'...
Click to read more »Module:Sandbox/Labratscientist
Rabu, 2025-06-04 02:26:59if (start<stop and mid[n]<stop and mid[n]>start) or (start>stop and mid[n]>stop and mid[n]<start) then cross = mid[n] end end paths[j][k]['color']...
Click to read more »Module:Section sizes/sandbox
Selasa, 2025-09-23 23:18:11formatting appropriate to local language --[[--------------------------< I 1 8 N _ T >------------------------------------------------------------------ An...
Click to read more »Module:Sports table/CricketTH
Selasa, 2025-08-12 21:24:47style="text-align:center;"\n') -- Open table -- Table title if Args['title'] then table.insert(t,'|+ ' .. Args['title'] .. '\n') end --Header...
Click to read more »Module:European and national party data/Wd
Senin, 2025-06-09 18:51:163rd millennium BCE) yRound = yRound + yFactor - 1 end else local yReFactor, yReDiv, yReRound -- round to nearest for tens of thousands...
Click to read more »Module:Sandbox/PeaceDeadC/Wd
Jumat, 2022-04-01 19:27:32yRound = (yRound - 1) * yFactor + 1 end else -- precision == 8 -- round decades down (e.g. 2010s) yRound = math.floor(yDiv)...
Click to read more »Module:Sports table/Badminton team/sandbox
Selasa, 2021-10-19 21:40:46insert(t,'{|class="wikitable '..sort_text..'" style="text-align:center;"\n') -- Open table -- Custom header options local draw_head_text...
Click to read more »Module:Sandbox/Was a bee/wd20170930
Sabtu, 2017-10-07 16:37:56yRound = (yRound - 1) * yFactor + 1 end else -- precision == 8 -- round decades down (e.g. 2010s) yRound = math.floor(yDiv)...
Click to read more »Module:Sandbox/Gnosygnu
Rabu, 2020-08-12 19:49:07end end --[[ round Rounds a number to specified precision Usage: {{#invoke:Math | round | value | precision }} --]] function wrap.round(args) local...
Click to read more »Module:Sandbox/Thayts/Wd
Senin, 2022-07-18 02:01:58local ENC_PIPE = "|" local SLASH = "/" local LAT_DIR_N_EN = "N" local LAT_DIR_S_EN = "S" local LON_DIR_E_EN = "E" local LON_DIR_W_EN...
Click to read more »Module:Infobox election
Jumat, 2026-01-16 23:00:21threeCells('percentage') -- First round -- threeCells('first_round') -- Final round -- threeCells('final_round') -- Primary or presidential --...
Click to read more »Module:Build bracket/Logic/sandbox
Selasa, 2025-08-26 20:58:46end end -- Build ordered lists once per round: gid -> {row indices} local function buildGroupsForRound(j, R) local groups = {} local mg = (state...
Click to read more »Module:CineMol/geometry/testcases
Kamis, 2025-10-30 06:27:47p:test_GramSchmidt() local vector_n = Vector3D(1,2,3) local v, w = gram_schmidt(vector_n) self:equals( "n not null", type(vector_n), "table") self:equals( "v...
Click to read more »Module:Archive
Sabtu, 2025-05-03 22:40:12consecutive; the third offset is rounded up to the -- nearest 5; and the fourth and subsequent offsets are rounded up to -- the nearest 10. The offsets...
Click to read more »Module:Medical cases chart/data
Rabu, 2021-09-01 12:04:01getContentLanguage() local english = mw.getLanguage("en") local function round(x) return (math.modf(x + (x < 0 and -0.5 or 0.5))) end local function...
Click to read more »Module:Infobox election/sandbox
Selasa, 2026-01-06 21:09:47threeCells('percentage') -- First round -- threeCells('first_round') -- Final round -- threeCells('final_round') -- Primary or presidential --...
Click to read more »Module:Sports table/WDLHA/sandbox
Selasa, 2022-11-29 01:07:22insert(t,'{| class="wikitable'..sort_text..'" style="text-align:center;"\n') -- Open table -- Table title if Args['title'] or Args['table_header']...
Click to read more »Module:Sandbox/Ita140188/chart2
Minggu, 2020-12-20 18:21:06end end end function roundup( x ) -- returns the next round number: eg., for 30 to 39.999 will return 40, for 3000 to 3999.99 wil return...
Click to read more »Module:Track gauge/autodocument/sandbox
Senin, 2024-08-12 19:10:47end end end -- return '\n|' .. ttlHitCount .. ' hits. ' .. #rowIMP return '\n\n|-\n\n|' .. table.concat(rowIMP, '\n\n|-\n\n|') end return p...
Click to read more »Module:Graph/sandbox
Minggu, 2025-07-13 00:29:11debuglog = debuglog .. "" .. "\n\n" .. "- " .. debug.traceback() .. "result type: ".. type(result) .. " result: \n\n" .. mw.dumpObject(result) --invoke...
Click to read more »Module:Sandbox/Pbrks
Rabu, 2025-08-13 02:34:49local function noish(v) v = (tostring(v or ''):lower()) return v == 'n' or v == 'no' or v == 'false' or v == '0' end local function toChar(num) return...
Click to read more »Module:Color/sandbox
Minggu, 2025-10-26 20:30:32error('Invalid hexadecimal color ' .. cleanColor, 1) end local function round(value) if (value < 0) then return math.ceil(value - 0.5) else return...
Click to read more »Module:Legislature diagram
Selasa, 2026-06-09 05:31:37max(a, b) if a > b then return a end return b end local function round(x) if x >= 0 then return math.floor(x + 0.5) else ...
Click to read more »Module:OSM Location map/sandbox
Rabu, 2026-05-27 10:03:23insert(FullscreenList,1, makeFullscreenItem (string.gsub(ftext,"[\n]+"," "), dotitem.info,round(dotitem.lat,5),round(dotitem.lon,5),fgroup,shapeList[dotgroup].shapeColor)...
Click to read more »Module:Listen/sandbox
Senin, 2025-05-12 07:30:31length or length == 0 then return nil end -- Add 0.5 to offset the rounding down local t = lang:getDurationIntervals(length + 0.5, { 'hours', 'minutes'...
Click to read more »Module:Sports series/doc
Rabu, 2025-10-15 23:50:00both legs. The parameter |flag=n must be passed to disable the country flag parameter. {{#invoke:Sports series|main|flag=n |first_team|aggregate|second...
Click to read more »Module:Sandbox/Bawolff/Chessboard
Jumat, 2025-09-19 10:48:45= 'unknown color' } local piecenames = { p = 'pawn', r = 'rook', n = 'knight', b = 'bishop', q = 'queen', k = 'king', a = 'archbishop'...
Click to read more »Module:OSM Location map
Rabu, 2026-05-27 10:02:01insert(FullscreenList,1, makeFullscreenItem (string.gsub(ftext,"[\n]+"," "), dotitem.info,round(dotitem.lat,5),round(dotitem.lon,5),fgroup,shapeList[dotgroup].shapeColor)...
Click to read more »Module:Chess viewer
Rabu, 2026-05-27 08:27:14= 'unknown color' } local piecenames = { p = 'pawn', r = 'rook', n = 'knight', b = 'bishop', q = 'queen', k = 'king', a = 'archbishop'...
Click to read more »Module:Sandbox/Ita140188/Section sizes
Kamis, 2025-08-28 20:58:32formatting appropriate to local language --[[--------------------------< I 1 8 N _ T >------------------------------------------------------------------ An...
Click to read more »Module:Chess viewer/sandbox
Rabu, 2026-05-27 11:28:53= 'unknown color' } local piecenames = { p = 'pawn', r = 'rook', n = 'knight', b = 'bishop', q = 'queen', k = 'king', a = 'archbishop'...
Click to read more »Module:Numcr2namecr
Kamis, 2021-04-29 00:59:56&rlhar;', [8653]='&nlArr;, &nLeftarrow;', [8654]='&nhArr;, &nLeftrightarrow;', [8655]='&nrArr;, &nRightarrow;', [8656]='&DoubleLeftArrow;...
Click to read more »Module:Wikidata table/sandbox
Jumat, 2025-12-19 15:54:15ucf(frame) return ucf(frame.args.text or "") end -- return a number rounded to a precision local function decimalprecision(x, prec) local s = 1 if...
Click to read more »Module:Sandbox/RobinLeicester
Senin, 2025-06-16 21:59:28dist < 1 then y=(round(dist*10,1)) return tostring(y*100)..'m', tostring(round(y*109,0))..'yds' elseif dist <18 then y=(round(dist,0)) return...
Click to read more »Module:Sports table/Custom
Sabtu, 2023-03-25 06:15:36status_code, status_called = {}, {} status_code = { A='Advance to a further round', C='Champion', D='Disqualified', E='Eliminated', G='Guest', H='Host'...
Click to read more »Module:Archive/sandbox
Minggu, 2025-04-13 03:12:00consecutive; the third offset is rounded up to the -- nearest 5; and the fourth and subsequent offsets are rounded up to -- the nearest 10. The offsets...
Click to read more »Module:UKB
Senin, 2025-11-17 21:33:14'SELECT DISTINCT ?item WHERE {\n ' .. kwargs.query .. '\n}' else query = 'SELECT ?item WHERE {\n ' .. kwargs.query .. '\n}' end local url = 'http://query...
Click to read more »Module:CineMol/geometry
Kamis, 2025-10-30 06:06:18gram_schmidt(n) checkType( 'gram_schmidt', 1, n, 'Vector3D' ) local v = p.Vector3D_create_random() v = v:subtract(n:multiply(v:dot(n))):normalize()...
Click to read more »Module:Sandbox/Ita140188/Section sizes 2
Selasa, 2025-09-02 08:45:01formatting appropriate to local language --[[--------------------------< I 1 8 N _ T >------------------------------------------------------------------ An...
Click to read more »Module:WikidataIB/lite
Kamis, 2023-02-16 11:25:17---------------------- -- roundto takes a number (x) -- and returns it rounded to (sf) significant figures ------------------------------------------...
Click to read more »Module:Jf-JSON
Kamis, 2016-12-08 10:48:33particular Lua table was derived from, or guarantee decode-encode -- round-trip equivalency. -- -- However, if you enable strictTypes, e.g. -- --...
Click to read more »Module:Tennis performance timeline/data
Jumat, 2018-09-28 23:36:42"Carpet", absence = { type = "chrono", {2009, {color = "#ccc", round = "N/A", tooltip = "Discontinued", span = true, minSpellCols = 3}} } } }...
Click to read more »Module:CineMol/style
Kamis, 2025-10-30 06:29:361f;", opacity ) .. "stroke-linecap:round;" .. "stroke-linejoin:round;}" ) local definition_str...
Click to read more »Module:Sports table/Custom/sandbox
Selasa, 2024-10-15 12:15:51insert(t,'{| class="wikitable'..sort_text..'" style="text-align:center;"\n') -- Open table -- Table title if Args['title'] or Args['table_header']...
Click to read more »Module:Jf-JSON/sandbox
Minggu, 2018-02-18 02:54:37particular Lua table was derived from, or guarantee decode-encode -- round-trip equivalency. -- -- However, if you enable strictTypes, e.g. -- --...
Click to read more »Module:Chart/sandbox
Minggu, 2021-10-17 22:52:28{style="width:100%;list-style:none;column-width:12em;"}, table.concat( list, '\n' ) ) ) table.insert( tab, '</div>' ) end end local function pieChart(...
Click to read more »Module:Sandbox/trappist the monk/html entities
Senin, 2025-01-27 05:38:09require ('strict'); --[[--------------------------< H T M L _ E N T I T I E S _ T >------------------------------------------------ html entities taken...
Click to read more »Module:Motd/data/2015
Jumat, 2022-12-30 01:00:19in each eye, and papers in each hand,<br>They rave, recite, and madden round the land.]]]==], [==[[[Beverly Hills Cop|→]] What's [[WP:BP|The Charge]]...
Click to read more »Module:Build bracket/Paths/sandbox
Selasa, 2025-08-26 10:28:26-- toggle for bye through-lines local base = 0 -- left-round base offset -- cache for per-round “RDx-RDy-path” OFF flags local rdGateOff = {} -- thickness...
Click to read more »Module:Build bracket/Paths
Selasa, 2025-08-19 01:00:35-- toggle for bye through-lines local base = 0 -- left-round base offset -- cache for per-round “RDx-RDy-path” OFF flags local rdGateOff = {} -- thickness...
Click to read more »Module:Sandbox/Ita140188/chartsvg
Selasa, 2018-07-31 12:08:36end end end function roundup( x ) -- returns the next round number: eg., for 30 to 39.999 will return 40, for 3000 to 3999.99 wil return...
Click to read more »Module:Sandbox/pietrasagh/Graph2
Sabtu, 2020-08-08 17:18:42debuglog = debuglog .. "" .. "\n\n" .. "- " .. debug.traceback() .. "result type: ".. type(result) .. " result: \n\n" .. mw.dumpObject(result) --invoke...
Click to read more »Module:Graphical timeline
Jumat, 2025-10-10 19:34:46round step size that produces ~10 steps between p1 and p2 -- -- Implements [[Template:Calculate increment]], except with a slight tweak: -- The round...
Click to read more »Module:Sandbox/Bawolff/canvas
Rabu, 2025-01-22 23:08:02= 'red' ctx:beginPath() ctx:fill(path) return tostring(ctx) end -- Round to 0. To prevent 1.13132e-14 from showing up. local function r0(x) if math...
Click to read more »Module:Track gauge/data/sandbox
Selasa, 2024-09-03 00:19:2597", ["def1"] = "imp", ["aliases"] = {[[0.353in]]}, ["pagename"] = "N scale", ["contentcat"] = "", ["in"] = "0.353", ["mm"] = "8.97" }, ...
Click to read more »Module:Graphical timeline/sandbox
Jumat, 2025-10-10 11:13:11round step size that produces ~10 steps between p1 and p2 -- -- Implements [[Template:Calculate increment]], except with a slight tweak: -- The round...
Click to read more »Module:Sandbox/pietrasagh/Graph
Minggu, 2020-05-24 14:15:46debuglog = debuglog .. "" .. "\n\n" .. "- " .. debug.traceback() .. "result type: ".. type(result) .. " result: \n\n" .. mw.dumpObject(result) --invoke...
Click to read more »Module:Signpost/index/2014
Senin, 2024-04-29 08:13:30round sees money, space, battleships and more", subhead = "After an extremely close race, round three is over. 244 points secured a place in Round 4...
Click to read more »Module:Sandbox/Hike395/Graphical timeline
Minggu, 2021-05-02 00:19:23round step size that produces ~10 steps between p1 and p2 -- -- Implements [[Template:Calculate increment]], except with a slight tweak: -- The round...
Click to read more »Module:Political party/R
Kamis, 2026-05-28 12:01:53= "#BD8E00", shortname = "",}, ["Round Table—Free Georgia"] = {abbrev = "", color = "#852E23", shortname = "Round Table",}, ["Roundhead"] = {abbrev...
Click to read more »Module:Motd/data/2008
Senin, 2025-12-29 05:55:50of the day/Nominations|talk page]] or replace this motto with a [[WP:MOTD/N|better one]].</small>]==], [==[[[User:Cremepuff222|~]][[Wikipedia|'Tis]] [[WP:WWISG|as...
Click to read more »Module:Sandbox/Trappist the monk/Emoji short name data make/doc
Selasa, 2024-03-12 21:28:24['n-ary_intersection'] = '22c2', -- ⋂ ['n-ary_logical_or'] = '22c1', -- ⋁ ['n-ary_product'] = '220f', -- ∏ ['n-ary_summation'] = '2211', -- ∑ ['n-ary_union']...
Click to read more »Module:Calendrical Calculations
Jumat, 2026-05-22 05:20:32nth_kday(n, k, g_date) -- Fixed date of n-th k-day after/before Gregorian date g-date. If n>0, return the n-th k-day on or after g-date. If n<0, return...
Click to read more »Module:Signpost/index/2016
Jumat, 2025-07-18 13:06:09= "Wikicup", title = "That's it for WikiCup Round 2!", subhead = "35 competitors move on to round 3", authors = {"Sturmvogel 66", "Figureskatingfan"...
Click to read more »Module:Signpost/index/2013
Senin, 2024-04-29 08:13:26competition, new grant scheme", subhead = "On January 16, voting for the first round of the 2012 Wikimedia Commons Picture of the Year contest will begin. Wikimedia...
Click to read more »Module:Sandbox/Masoud.h1368/Wikidata.Ca
Selasa, 2021-03-23 18:25:35-- 1230 -> 1000, 0.00123 -> 0.001 -- round it (credit to Luc Bloom from http://lua-users.org/wiki/SimpleRound) return math.floor(out_num/out_bracket...
Click to read more »Module:Motd/data/2014
Kamis, 2016-05-19 04:55:21style="color:transparent">→</span> [[WP:FA|Bedeck your halls]], and [[WP:FP|round your galleries shine]] <br><span style="color:transparent">→</span> [[Main...
Click to read more »Module:IPA symbol/doc
Jumat, 2024-08-30 04:42:32Voiced palatal nasal ɲ (Voiced palatal nasal) Palatal nasal.ogg sounds Voiced post-palatal or pre-velar nasal ɲ˗ , ɲ̠ , ɲ , ŋ˖ , ŋ᫈ , ŋ̟ Voiced post-palatal...
Click to read more »Module:Canada NTS/data
Kamis, 2026-02-12 05:06:27Lake, Ontario|Golden Lake", --[[ Q7348636 ]] ["31F12"] = "Round Lake (Ontario)|Round Lake", --[[ Q4673892 ]] ["31F13"] = "Achray, Ontario|Achray"...
Click to read more »Module:Motd/data/2013
Senin, 2023-01-30 01:00:27turns his face]]; <br />[[WP:MOSTEDITS|But when he once attains the upmost round]], <br />[[WP:GUIDELINE|He then unto the ladder turns his back]], <br...
Click to read more »Module:Excerpt/testcases
Selasa, 2026-01-27 08:44:15mit(ɛ)ʁɑ̃, - moʁ-] . As a share of the popular vote in the first presidential round, the Communists shrank from a peak of 21.27% in 1969 to 8.66% in 1995, at...
Click to read more »Module:Sandbox/trappist the monk/layurl/data
Kamis, 2022-01-27 22:05:19--[[--------------------------< A R T I C L E S _ U S I N G _ L A Y U R L >------------------------------------ ]] local articles_using_layurl = { ["1639...
Click to read more »Module:Sandbox/trappist the monk/airports convert/data
Senin, 2023-06-26 22:11:20{'Africa','Angola','NDF', '','N\'dalatando Airport','N\'dalatando'}, {'Africa','Angola','ARZ','FNZE','N\'zeto Airport','N\'zeto'}, {'Africa','Angola'...
Click to read more »Module:Signpost/index/2008
Selasa, 2024-06-25 12:43:19"Pic of the year", title = "Commons Picture of the Year contest in final round", subhead = "", authors = {"Ral315"}, piccy = {credits = "", filename...
Click to read more »Module:Motd/data/2010
Jumat, 2022-12-30 01:00:18<br />Are a [[WP:CONTENTS|substantial world]], both pure and good; <br />Round these, [[WP:DEV|with tendrils strong as flesh and blood]], <br />Our [[WP:PAGE|pastime]]...
Click to read more »Module:Sandbox/PiperMcCorkle/FrenchWikidata
Kamis, 2024-12-19 03:43:28displayvalue(amount, unit, {targetunit = params.targetunit, raw = raw, rounding = params.rounding, showunit = params.showunit or 'short', showlink = params.showlink}...
Click to read more »Module:Sandbox/AdrianoRutzWikidataIB
Senin, 2026-01-19 22:52:02displayvalue(amount, unit, {targetunit = params.targetunit, raw = raw, rounding = params.rounding, showunit = params.showunit or 'short', showlink = params.showlink}...
Click to read more »Module:DartsOrakel/data/Players
Jumat, 2026-01-09 22:53:59}, { 12362 , "A Rodgers" }, { 12363 , "Marco Roosen" }, { 12364 , "S Round" }, { 12365 , "Alan Routledge" }, { 12366 , "L T Rudd" }, { 12367 , "Ray...
Click to read more »Module:Motd/data/2009
Minggu, 2022-09-04 00:59:54Wikipedia|downs]], but that's what makes [[Special: Statistics|the world go 'round]]]==], [==[[[Profiles in Courage|→]] A [[WP:EDIANS|man]] does what he [[WP:BOLD|must]]...
Click to read more »Module:Signpost/index/2016/doc
Minggu, 2024-04-28 03:56:29content Armbrust 334 1143 2016-01-20 In the media 15th anniversary news round-up Gamaliel 248 1343 2016-01-20 News and notes Vote of no confidence; WMF...
Click to read more »Module:Political party/R/doc
Rabu, 2023-12-27 23:03:18of Independent Councillors #BD8E00 RAOIC AAA Failed AA Round Table—Free Georgia #852E23 Round Table Failed Failed Failed Roundhead white AAA AAA AAA Roundtable...
Click to read more »Module:Signpost/index/2025
Sabtu, 2026-05-30 13:33:24subpage = "News and notes", title = "Wikimedia Foundation loses a round in court", subhead = "UK Online Safety Act remains undefeated.", authors...
Click to read more »Module:Signpost/index/2008/doc
Minggu, 2024-04-28 03:56:372008-01-21 Pic of the year Commons Picture of the Year contest in final round Ral315 ${views7} ${views180} 2008-01-21 Technology report Bugs, Repairs...
Click to read more »