Search Results: Modul:StripToNumbers
Sorry, the article you're looking for isn't specifically available. Here are related topics:
Modul:ConvertNumeric/dok
Jumat, 2016-07-01 00:51:39{{Convert}} - uses this module {{Spellnum}} {{Number to word}} Module:StripToNumbers - extract a number from a string (supports negatives and decimals)...
Click to read more »Modul:String2/dok
Sabtu, 2024-10-19 01:29:20working with substrings. There are other utility calls that strip leading zeros from padded numbers and transform text so that it is not interpreted as wikitext...
Click to read more »Modul:Tjek for ukendte parametre
Jumat, 2024-04-26 22:07:02clean(text) -- Return text cleaned for display and truncated if too long. -- Strip markers are replaced with dummy text representing the original wikitext...
Click to read more »Modul:Footnotes
Senin, 2025-01-06 01:17:41so that we can strip uri-reserved characters from extlinked page numbers if '' ~= args[v] then table.insert (footnote, strip_url (args[v])) ...
Click to read more »Modul:TaxonList
Rabu, 2025-12-03 09:48:53====================================== Utility function to strip off any initial † present to mark the taxon as extinct. The † must not be italicized...
Click to read more »Modul:Convert
Selasa, 2020-03-03 16:23:56word = strip(parms[i]) i = i + 1 local precision, is_bad_precision local function set_precision(text) local number, is_integer = get_number(text)...
Click to read more »Modul:String2
Jumat, 2024-10-18 23:42:12markup, & whitespace saved here local function prefix_strip (s) -- local function to strip prefixes from <s> for _, pattern in ipairs (prefix_patterns_t)...
Click to read more »Modul:ISO 639 name
Senin, 2025-01-06 01:36:41''); -- get the name and strip parenthetical disambiguators if any if link then -- make a link to the language article? if name:find...
Click to read more »Modul:Citation/CS1/COinS
Jumat, 2024-04-26 22:03:32has_accept_as_written (title); if is_set (title) then title = strip_apostrophe_markup (title); -- strip any apostrophe markup else title = ''; ...
Click to read more »Modul:Citation/CS1/COinS/sandkasse
Rabu, 2022-01-26 05:17:02has_accept_as_written (title); if is_set (title) then title = strip_apostrophe_markup (title); -- strip any apostrophe markup else title = ''; ...
Click to read more »Modul:Age
Senin, 2017-10-02 00:58:37sep) return table.concat(self, sep) end, } end local function strip_to_nil(text) -- If text is a string, return its trimmed content, or nil if...
Click to read more »Modul:Convert/sandkasse
Minggu, 2025-08-24 02:18:01word = strip(parms[i]) i = i + 1 local precision, is_bad_precision local function set_precision(text) local number, is_integer = get_number(text)...
Click to read more »Modul:Citation/CS1/Date validation
Jumat, 2024-04-26 22:03:52Number (access_ts); -- convert to numbers for the comparison; tomorrow_ts = tonumber (tomorrow_ts) or lang_object:parseFormattedNumber (tomorrow_ts);...
Click to read more »Modul:Citation/CS1
Senin, 2025-01-06 01:14:54end end domain = domain:gsub ('(%a):%d+', '%1'); -- strip port number if present end return scheme, domain; end --[[--------------------------<...
Click to read more »Modul:Citation/CS1/Date validation/sandkasse
Minggu, 2022-01-30 00:42:11Number (access_ts); -- convert to numbers for the comparison; tomorrow_ts = tonumber (tomorrow_ts) or lang_object:parseFormattedNumber (tomorrow_ts);...
Click to read more »Modul:Footnotes/sandkasse
Senin, 2025-01-06 02:15:54so that we can strip uri-reserved characters from extlinked page numbers if '' ~= args[v] then table.insert (footnote, strip_url (args[v])) ...
Click to read more »Modul:Tjek for ukendte parametre/sandkasse
Minggu, 2024-06-02 12:21:18clean(text) -- Return text cleaned for display and truncated if too long. -- Strip markers are replaced with dummy text representing the original wikitext...
Click to read more »Modul:Team appearances list
Senin, 2021-07-26 18:34:37item in ipairs(data) do if type(item) == 'number' then absent_years[item] = true else item = strip_to_nil(item) if type(item) == 'string' then...
Click to read more »Modul:BaseConvert
Selasa, 2015-08-04 15:08:08width, default, prefix, suffix) n = '' .. n -- convert to a string -- strip off any leading '0x' (unless x is a valid digit in the input...
Click to read more »Modul:Pagelist
Minggu, 2018-03-18 19:57:47origArgs.nspace -- Get new named args, "separator" and "conjunction", and strip blank values. if origArgs.separator and origArgs.separator ~= '' then ...
Click to read more »Modul:ScribuntoUnit
Sabtu, 2026-02-07 14:09:38message = message, }, 2) end -- For strings, strip the line number added to the error message actualMessage = type(actualMessage) ==...
Click to read more »Modul:Citation/CS1/Identifiers
Jumat, 2024-04-26 22:04:02strip whitespace if nil ~= string.find (lccn, '/') then lccn = lccn:match ("(.-)/"); -- 2. remove forward slash and all character to the...
Click to read more »Modul:Citation/CS1/Identifiers/sandkasse
Rabu, 2022-01-26 05:16:46strip whitespace if nil ~= string.find (lccn, '/') then lccn = lccn:match ("(.-)/"); -- 2. remove forward slash and all character to the...
Click to read more »Modul:Goalscorers
Senin, 2025-01-06 01:33:54p.preprocessSortName() stripp off wikitext [[ and ]] force to lowercase change special characters to standard letters ]=] function...
Click to read more »Modul:Citation/CS1/Utilities
Jumat, 2024-04-26 22:04:22local function strip_apostrophe_markup (argument) if not is_set (argument) then return argument, nil; -- no argument, nothing to do end if...
Click to read more »Modul:Citation/CS1/Utilities/sandkasse
Rabu, 2022-01-26 05:16:29local function strip_apostrophe_markup (argument) if not is_set (argument) then return argument, nil; -- no argument, nothing to do end if...
Click to read more »Modul:InfoboxImage
Senin, 2024-07-15 18:13:52-- add px to size if just a number if (tonumber(size) or 0) > 0 then size = size .. "px"; end -- add px to sizedefault...
Click to read more »Modul:Convert/tester
Rabu, 2019-11-27 23:41:45that here. -- LATER Need a parameter to control this. if templatename:sub(1, 3) == 'val' then v = strip(v) if v == '' then return end...
Click to read more »Modul:Check isxn
Jumat, 2024-04-26 22:16:34local valid_ismn = true; id=id:gsub( "[%s-–]", "" ); -- strip spaces, hyphens, and endashes from the ismn if 13 ~= id:len() or id:match(...
Click to read more »Modul:PageLinks
Jumat, 2015-08-07 16:11:30end else origArgs = frame end -- Strip whitespace, and treat blank arguments as nil. -- 'page', and 'separator'...
Click to read more »Modul:Citation/CS1/sandkasse
Senin, 2025-01-06 01:15:30end end domain = domain:gsub ('(%a):%d+', '%1'); -- strip port number if present end return scheme, domain; end --[[--------------------------<...
Click to read more »Modul:Navboks
Senin, 2025-11-10 18:23:22div exists to wrap the styles to work around T200206 -- more elegantly. Instead of combinatorial rules, this ends up being linear -- number of CSS rules...
Click to read more »Modul:Convert/makeunits
Kamis, 2019-01-03 00:17:49-- alternative format to generate a "per" unit like $/acre or BTU/h -- per = {u1, u2}, -- numbered table of unitcodes (u1...
Click to read more »Modul:Color contrast
Jumat, 2024-04-26 22:16:44-)[%s;]*$' ) -- unstrip nowiki strip markers c = mw.text.unstripNoWiki(c) -- lowercase c = c:lower() -- first try to look it up local L = HTMLcolor[c]...
Click to read more »Modul:Mapframe
Rabu, 2024-04-24 17:41:03description parameters) or you'll break strip markers -- Alternatively it might be better to only strip control char from raw parameter content ...
Click to read more »Modul:Autotaxobox
Rabu, 2018-02-07 23:05:58Internal utility function to strip off any extra parts of a taxon name, i.e. anything after a '/'. Thus "Felidae/?" would be reduced to "Felidae". = = = = =...
Click to read more »Modul:Autoritetsdata/sandkasse
Rabu, 2025-10-22 00:07:14identifiers to show/suppress in template local show, show_all_unsuppressed = {}, true local stripP = function(pid) --strip P from property number if pid:match('^[Pp]%d+$')...
Click to read more »Modul:Date
Rabu, 2026-02-18 10:50:04self[self.n] = item end, join = _list_join, } end local function strip_to_nil(text) -- If text is a string, return its trimmed content, or nil if...
Click to read more »Modul:Navboks/sandkasse
Senin, 2024-04-15 14:14:47div exists to wrap the styles to work around T200206 -- more elegantly. Instead of combinatorial rules, this ends up being linear -- number of CSS rules...
Click to read more »Modul:Color contrast/sandkasse
Senin, 2024-04-15 14:10:44-)[%s;]*$' ) -- unstrip nowiki strip markers c = mw.text.unstripNoWiki(c) -- lowercase c = c:lower() -- first try to look it up local L = HTMLcolor[c]...
Click to read more »Modul:ConvertIB
Jumat, 2025-11-07 04:04:50-- Strip leading signs num_str = string.gsub(num_str, '^[+-]', '') -- Strip commas num_str = string.gsub(num_str, ',', '') -- Strip leading...
Click to read more »Modul:Cite Q
Sabtu, 2026-03-07 00:44:14-- makeOrdinal needs to be internationalised along with the above i18n -- takes cardinal number as a numeric and returns the ordinal as...
Click to read more »Modul:Cs1 documentation support
Senin, 2025-01-06 01:31:57category:gsub ('|(.*)$', ''); -- strip sort key if any list_live_cats[cat] = 1; -- add to the list end end if sandbox then...
Click to read more »Modul:Testcase table
Rabu, 2015-05-13 22:56:13equal. -- The random parts of strip markers (see [[Help:Strip markers]]) are -- removed before comparison. This means a strip marker can contain anything...
Click to read more »Modul:InfoboxImage/sandkasse
Senin, 2024-07-15 18:08:58-- add px to size if just a number if (tonumber(size) or 0) > 0 then size = size .. "px"; end -- add px to sizedefault...
Click to read more »Modul:College color/contrast
Selasa, 2018-02-13 17:24:23stripetable(frame) return contrast._exampletable(frame,frame.args, 'College stripe style') end function contrast.header1table(frame) return contrast._exampletable(frame...
Click to read more »Modul:Sandkasse/Sechinsic/CitCS1
Senin, 2025-01-06 01:30:03end end domain = domain:gsub ('(%a):%d+', '%1'); -- strip port number if present end return scheme, domain; end --[[--------------------------<...
Click to read more »Modul:Excerpt/sandkasse
Sabtu, 2018-07-14 02:10:59options : A table of options... -- options.paraflags : Which number paragraphs to keep, as either a string (e.g. `1,3-5`) or a table (e.g. `{1=true...
Click to read more »Modul:WikidataIB/sandkasse
Selasa, 2025-12-09 23:06:39are the same except for case, no need to process further if sitelink:lower() ~= label:lower() then -- strip any namespace or dab from the sitelink...
Click to read more »Modul:WikidataIB
Kamis, 2026-01-08 19:23:21are the same except for case, no need to process further if sitelink:lower() ~= label:lower() then -- strip any namespace or dab from the sitelink...
Click to read more »Modul:Cite IUCN
Senin, 2025-01-06 01:32:59page number page should be in format e.T13922A45199653 the url uses 13922/45199653 so we need to extract the number between...
Click to read more »Modul:Cite Q/sandkasse
Rabu, 2025-12-10 15:03:54-- makeOrdinal needs to be internationalised along with the above i18n -- takes cardinal number as a numeric and returns the ordinal as...
Click to read more »Modul:Template test case
Sabtu, 2025-12-13 01:18:14equal. -- The random parts of strip markers (see [[Help:Strip markers]]) are -- removed before comparison. This means a strip marker can contain anything...
Click to read more »Modul:Wd
Senin, 2025-10-20 21:57:30markup, so strip the square brackets and the display text -- gsub also returns another, discarted value, therefore the result is assigned to tempLink...
Click to read more »Modul:Lang/documentor tool/sandkasse
Rabu, 2025-09-17 06:08:18'{{#invoke:ISO 639 name/sandbox|iso_639_name_to_code|2=' .. args.iso_number .. "|", '}}', '', '', language_tables, {nowiki=false} ...
Click to read more »Modul:Wd/sandkasse
Kamis, 2025-10-16 18:06:06markup, so strip the square brackets and the display text -- gsub also returns another, discarted value, therefore the result is assigned to tempLink...
Click to read more »Modul:Lang/sandkasse
Rabu, 2025-09-17 06:00:40-- initialize to index of first key local idx_top = sizeof_ranges_t; -- initialize to index of last key (number of keys) if (target...
Click to read more »Modul:Lang
Rabu, 2024-04-24 05:58:56insert p markup at each impled p text = text:gsub ('\n', ''); -- strip newline characters end end return text; end --[[--------------------------<...
Click to read more »Modul:Cycling race/data
Sabtu, 2025-01-11 18:15:58Jersey grey.svg (Sprints) ["Q65614883"] ="#FFFFFF" , -- Jersey white-black strip.png (Sprints) ["Q50822390"] ="#FFD030" , -- Jersey orange lines volta.svg...
Click to read more »