Search Results: Module:Convert character width/doc
Sorry, the article you're looking for isn't specifically available. Here are related topics:
Module:Convert
Rabu, 2020-09-02 02:10:55-- Convert a value from one unit of measurement to another. -- Example: {{convert|123|lb|kg}} --> 123 pounds (56 kg) -- See [[:en:Template:Convert/Transwiki...
Click to read more »Module:Convert/text
Senin, 2018-04-16 06:39:44by Module:Convert for enwiki. -- This is a separate module to simplify translation for use on another wiki. -- See [[:en:Template:Convert/Transwiki guide]]...
Click to read more »Module:Convert/extra
Minggu, 2014-01-12 00:42:45data used by Module:Convert. -- -- [[Module:Convert/data]] defines all units and is transcluded in all pages -- where [[Module:Convert]] is used. Testing...
Click to read more »Module:Convert/wikidata
Selasa, 2018-01-30 07:50:04-- Functions to access Wikidata for Module:Convert. local Collection = {} Collection.__index = Collection do function Collection:add(item) if item...
Click to read more »Module:Convert character width/data
Rabu, 2017-04-26 05:47:31-- This is the data page for [[Module:Convert character width]]. -- TODO: There are quite a few missing characters. See [[Halfwidth and Fullwidth Forms...
Click to read more »Module:Convert/wikidata/data
Selasa, 2018-01-30 07:50:27--[[ Cache of Wikidata information with units for Module:Convert. The codes should rarely change, and using a cache means that changing a unit at Wikidata...
Click to read more »Module:BaseConvert
Rabu, 2013-07-03 09:32:39end) end function _convert(n, base, from, precision, width, default, prefix, suffix) n = '' .. n -- convert to a string -- strip...
Click to read more »Module:Convert character width
Rabu, 2017-04-26 05:47:04needs support for diacritic marks. local data = mw.loadData( 'Module:Convert character width/data' ) local p = {} -- Converts one half-width character...
Click to read more »Module:Road data/util
Sabtu, 2023-07-29 07:08:20compute and round the length in kilometers. km = convert(mi, kmPerMile, prec) m = convert(mi, kmPerMile * 1000, prec) -- format mi (insert separators...
Click to read more »Module:ConvertNumeric
Selasa, 2020-01-28 08:18:30see: [[Module:ConvertNumeric/testcases]] -- When editing, preview with: Module_talk:ConvertNumeric/testcases -- First edit [[Module:ConvertNumeric/sandbox]]...
Click to read more »Module:Val
Minggu, 2018-02-18 08:42:20symbol, result.link } use_convert = true end else result = {} use_convert = true end local convert_unit = convert_lookup(ucode, value, scaled_top...
Click to read more »Module:Coordinates
Minggu, 2022-10-23 22:18:54return convert_dec2dms_d( math.abs( coord ) ) .. postfix; end end --[[ Convert DMS format into a N or E decimal coordinate ]] local function convert_dms2dec(direction...
Click to read more »Module:Convert/data
Selasa, 2018-01-30 07:37:14[[Module:Convert]] which uses mw.loadData() for -- read-only access to this module so that it is loaded only once per page. -- See [[:en:Template:Convert/Transwiki...
Click to read more »Module:Ja/k2r-old
Senin, 2020-04-27 08:06:50-- local kr_minus_period = data.kr -- kr_minus_period["。"] = "。" -- convert Japanese spaces to western spaces text = mw.ustring.gsub(text, ' ', '...
Click to read more »Module:La-pronunc
Senin, 2020-04-27 08:06:57local categories = {} local out = make_row( convert_words(words, false, false, false), convert_words(words, true, false, false), 'Classical' ...
Click to read more »Module:Pop density
Selasa, 2019-12-17 10:57:56= tonumber(pop) if not popnum then error(string.format('Unable to convert population "%s" to a number', pop), 2) end local area1num = tonumber(area1)...
Click to read more »Module:Stock tickers/NYSE
Senin, 2018-02-12 04:17:42. ticker return url end function p.FormatTickerURL(ticker) -- Convert to upper case ticker = string.upper(ticker) -- NYSE.com formats for...
Click to read more »Module:Weather box/row
Selasa, 2019-07-09 07:52:53= 1/25.4, p2max = 0 }, }, setConvert = function (self, invalue, units) -- Use method modified from [[Module:Convert]] to determine precision. if...
Click to read more »Module:Separated entries
Sabtu, 2017-02-25 09:30:29function p._main(args) local separator = args.separator -- Decode (convert to Unicode) HTML escape sequences, such as " " for space. and mw...
Click to read more »Module:In5
Jumat, 2022-01-28 01:50:09in5(frame) local indent = frame.args[1] -- Trim whitespace and convert to number. Default to 5 if not present, -- as per the template title...
Click to read more »Module:Greek
Kamis, 2018-02-22 07:38:55-- Convert standard numbers to greek numerals, and vice versa -- Gts-tg@el wiki, Aug. 2017 local p = {} local greek_numerals = { ["α"] = 1, --...
Click to read more »Module:La-adj/table
Senin, 2020-04-27 08:06:52local export = {} local ut = require("Module:utils") local function convert(data, conv) local col = {} local row = {} local colors = {} local marked...
Click to read more »Module:Grc-utilities/data
Senin, 2020-04-27 08:06:39= data["groups"][3] data["diacritical_conversions"] = { -- Convert spacing to combining diacritics ["[".. spacing_macron .. modifier_macron...
Click to read more »Module:Pl-IPA
Senin, 2020-04-27 08:11:03pieniędzy } function export.convert_to_IPA(word) if type(word) == "table" then word = word.args[1] end -- convert letters to phones local phones...
Click to read more »Module:Armenian
Rabu, 2017-04-26 05:41:40frameArgsNum end else num = frame end -- Convert the input to an integer if possible. if type( num ) ~= 'number' then...
Click to read more »Module:TimeAgo
Selasa, 2016-06-21 23:49:55_main local yesno = require('Module:Yesno') local p = {} -- Table to convert entered text values to numeric values. timeText = { ['seiconts'] = 1,...
Click to read more »Module:Wikidata
Senin, 2020-09-28 23:19:08end local convert = args.convert; if convert == "" then convert = nil end if convert and string.sub(convert, 1, 1) ~= "Q" then convert = nil end local...
Click to read more »Module:Debug
Senin, 2020-04-27 08:06:08\127\192\193\245-\255]", helper)) end end export.escape = escape -- Convert a value to a string function export.dump(value, prefix, tsort) local t...
Click to read more »Module:Ancient Egypt kings
Rabu, 2017-04-26 05:40:24getContentLanguage() local p = {} function p._main( inputYear ) -- Convert the input to an integer if possible. Return "N/A" if the input could --...
Click to read more »Module:Ancient Olympiads
Selasa, 2019-12-17 10:44:28require('Module:TableTools') local p = {} function p._main( inputYear ) -- Convert the input to an integer if possible. Return "N/A" if the input could --...
Click to read more »Module:Ancient Egypt era
Rabu, 2017-04-26 05:38:25getContentLanguage() local p = {} function p._main( inputYear ) -- Convert the input to an integer if possible. Return "N/A" if the input could --...
Click to read more »Module:Lua banner
Kamis, 2020-10-15 01:53:50'Templates based on the Math Lua module', ['Module:BaseConvert'] = 'Templates based on the BaseConvert Lua module', ['Module:Citation'] = 'Lua-based...
Click to read more »Module:British regnal year
Rabu, 2017-04-26 05:42:18frameArgsYear end else inputYear = frame end -- Convert the input to an integer if possible. Return "N/A" if the input could ...
Click to read more »Module:Check bibcode
Minggu, 2022-10-23 22:24:01number and add one for next year year = tonumber (year); -- convert year portion of bibcode to a number if (1000 > year) or (year > next_year)...
Click to read more »Module:Array
Senin, 2020-04-27 08:05:59new_arr[k] = self[index] end return new_arr end -- A function to convert string key-table modules such -- as [[Module:languages/data2]] into arrays...
Click to read more »Module:Color contrast
Jumat, 2022-01-28 01:49:59it up local L = HTMLcolor[c] if (L ~= nil) then return L end -- convert from hsl if mw.ustring.match(c,'^hsl%([%s]*[0-9][0-9%.]*[%s]*,[%s]*[0-9][0-9%...
Click to read more »Module:Infobox road
Sabtu, 2023-07-29 07:07:52local arabicModule = require( "Module:Convert to eastern arabic numerals" ) local arabic = arabicModule._convert({route}) local translated = string...
Click to read more »Module:Template wrapper
Minggu, 2022-10-23 22:19:44(_alias_map) local T = mw.text.split (_alias_map, '%s*,%s*'); -- convert the comma-separated list into a table of alias pairs local mapped_aliases...
Click to read more »Module:Ru-pron
Senin, 2020-04-27 08:11:12Reduction of стл -> сл should apply only in стлив, not always. 49. (DONE) Convert счит -> щит by default, as with счёт. 50. (DONE) Don't require that m_ru_translit...
Click to read more »Module:Utils
Senin, 2020-04-27 08:11:32else table.insert(tab, item) end end end -- convert list to set function export.list_to_set(list) local set = {} for _, item...
Click to read more »Module:Hms
Senin, 2017-07-03 04:45:15for k, v in ipairs(duration) do duration[k] = tonumber(v) or 0 end -- convert values to numbers end if duration[3] then if (duration[1] + duration[2]...
Click to read more »Module:Json
Senin, 2020-04-27 08:05:50local p = {} -- This function makes an effort to convert an arbitrary Lua value to a string -- containing a JSON representation of it. It's not intended...
Click to read more »Module:Fr-pron
Senin, 2020-04-27 08:06:33(required due to right-to-left -- action) -- -- convert to capital J and W as a signal that we can convert them -- back to /i/ and /u/ later on if they...
Click to read more »Module:Gapnum
Rabu, 2016-04-13 03:24:20tonumber(n, 36) then -- Validates any number with base ≤ 36 error('Unable to convert "' .. args[1] .. '" to a number') end local gap = args.gap local precision...
Click to read more »Module:Complex date
Senin, 2023-02-13 21:49:35'' elseif operation == 'julian' then if not date2 and date1 then -- Convert from Julian to Gregorian calendar date if Calendar == nil then Calendar...
Click to read more »Module:Ar-translit
Senin, 2020-04-27 08:05:58------------ transformations prior to checking for diacritics -------------- -- convert llh for allāh into ll+shadda+dagger-alif+h {"لله", "للّٰه"}, -- shadda+short-vowel...
Click to read more »Module:Citation/CS1
Minggu, 2022-10-23 22:19:13add error message end lang = ' lang="' .. lang .. '" '; -- convert prefix into a lang attribute else table.insert( z.message_tail, {...
Click to read more »Module:Languages/data2
Sabtu, 2023-01-28 06:50:21is first convert the -- vowel + tone mark to a vowel + tilde in a decomposed fashion, -- then remove the tilde in diphthongs, then convert the remaining...
Click to read more »Module:Pi-decl/noun
Senin, 2020-04-27 08:11:02term = term}) end return output end -- convert Latin script inflections to another script local convert_suffixes = function(stem, nstrip, suffixes...
Click to read more »Module:Currency
Minggu, 2022-10-23 22:24:55combinations to a number e.g. 1 thousand to 1000. ]] local function convert_string_to_numeric (amount) local quantifiers = {['thousand'] = 1000, ['million']...
Click to read more »Module:Parameters
Senin, 2020-04-27 08:11:01val == "" and not param.allow_empty then val = nil end -- Convert to proper type if necessary. if param.type == "boolean" then val...
Click to read more »Module:Webarchive
Minggu, 2022-10-23 22:20:36through table table.insert (out, make_wikilink (key)); -- and convert category names to links end end return table.concat (out); ...
Click to read more »Module:List
Jumat, 2019-12-20 08:40:54type = args['type'] -- Detect invalid type attributes and attempt to convert them to -- list-style-type CSS properties. if data.type and not...
Click to read more »Module:Ru-translit
Senin, 2020-04-27 08:11:13'''Б'''ез, it transliterates to '''B'''jez instead of '''B'''ez. 2. (DONE) Convert ъ to nothing before comma or other non-letter particle, e.g. in Однимъ...
Click to read more »Module:Pagetype
Senin, 2018-04-23 02:43:31args[paramAlias]) if ndArg == false then -- If any arguments are false, convert them to nil to protect -- against breakage by future changes to ...
Click to read more »Module:Grc-utilities
Senin, 2020-04-27 08:06:38return m_links.language_link{ term = term, lang = lang, alt = alt } end -- Convert spacing to combining diacritics, and nonstandard to standard polytonic...
Click to read more »Module:Solar eclipse
Selasa, 2019-12-17 11:02:27s:match('^%s*[%d][%d.]*%s*$')) then return frame:expandTemplate{ title = 'convert', args = {s, 'km', 'mi', abbr = 'on'} } else if(s and s ~= '') then...
Click to read more »Module:Pt-noun
Senin, 2020-04-27 08:11:06boldened and wikified (unless it is the same as the -- pagename). -- FIXME: Convert to use [[Module:links]] function make_link(text) if (PAGENAME == text)...
Click to read more »Module:Ru-noun
Senin, 2020-04-27 08:11:12declension, but not their presence. -- We will convert was_accented into stress pattern b, and convert that -- back to an accented version in...
Click to read more »Module:String
Jumat, 2022-01-28 01:50:39tonumber(new_args['j']) or -1; local len = mw.ustring.len(s); -- Convert negatives for range checking if i < 0 then i = len + i + 1; end if...
Click to read more »Module:TNT
Minggu, 2025-12-28 01:06:08end return data, dataPage, categories; end -- Given a dataset name, convert it to a title with the 'commons:data:' prefix link = function(dataset)...
Click to read more »Module:DateI18n
Senin, 2023-02-13 21:58:15ext.data.get('DateI18n.tab', lang) for _, row in pairs(tab.data) do -- convert the output into a dictionary table local id, _, msg = unpack(row) T[id]...
Click to read more »Module:Citation/CS1/Identifiers
Kamis, 2020-10-15 01:12:54= pcall (lang_object.formatDate, lang_object, 'U', biorxiv_date ); -- convert biorxiv_date value to Unix timestamp good2, tomorrow_ts = pcall (lang_object...
Click to read more »Module:Clade
Minggu, 2022-10-23 22:21:39while s[i] do local restoredString = string.gsub(s[i],"XXX", ",") -- convert back to commas --restoredString = s[i] local outerTerm = string.gsub(restoredString...
Click to read more »Module:Multiple image
Sabtu, 2020-07-04 10:33:34assume a single row if (#pr < 1) then pr = {tostring(ic)} end -- convert the array of strings to an array of numbers, -- adding any implied/missing...
Click to read more »Module:Citation/CS1/Date validation
Kamis, 2020-10-15 01:12:54= pcall (lang_object.formatDate, lang_object, 'U', accessdate ); -- convert accessdate value to Unix timestamp good2, tomorrow_ts = pcall (lang_object...
Click to read more »Module:Japanese calendar
Rabu, 2017-04-26 05:45:37'Module:Japanese calendar/data' ) local halfToFull = require( 'Module:Convert character width' ).full -- Converts half-width characters to full-width...
Click to read more »Module:Infobox multi-lingual name/data
Sabtu, 2020-02-08 11:25:50|showflags= value to the |labeln= parameter value for {{Infobox}} TODO: convert showflag to a comma delimited list instead of these peculiar codes? ]]...
Click to read more »Module:Transcluder
Jumat, 2026-02-06 21:33:43end return string.gsub(text, pattern, '') end -- Helper function to convert a comma-separated list of numbers or min-max ranges into a list of booleans...
Click to read more »Module:Navseasoncats
Jumat, 2020-01-03 10:35:20toarabic = require('Module:ConvertNumeric').roman_to_numeral local toroman = require('Module:Roman').main --sterilize/convert rom/num local num =...
Click to read more »Module:Easter
Selasa, 2019-12-17 11:29:01+ 1 d = tA + tE if method == 2 then -- convert Julian to Gregorian date -- 10 days were skipped in the Gregorian...
Click to read more »Module:Lang/sandbox
Minggu, 2022-10-23 22:19:28categorization should be suppressed args.rtl = args.rtl == 'yes'; -- convert to boolean: 'yes' -> true, other values -> false code, subtags.script...
Click to read more »Module:Lang
Minggu, 2022-10-23 22:19:23categorisation should be suppressed args.rtl = args.rtl == 'yes'; -- convert to boolean: 'yes' -> true, other values -> false args.proto, msg = validate_proto...
Click to read more »Module:Unicode data
Kamis, 2025-07-24 17:48:21require "libraryUtil".checkType("get_best_script", 1, str, "string") -- Convert HTML character references (including named character references, -- or...
Click to read more »Module:Ja-headword
Senin, 2020-04-27 08:06:48require("Module:utilities").format_categories(katakana_category, lang) else -- convert sortkey to katakana version for katakana terms category (should sort by...
Click to read more »Module:Headword
Sabtu, 2023-04-08 08:22:19"hypothetical" or "bold" local nolink = part.hypothetical or part.nolink -- Convert the term into a full link -- Don't show a transliteration here, the consensus...
Click to read more »Module:Ja
Senin, 2020-04-27 08:06:48'uu', 'ū') text = gsub(text, 'ii', 'ī') end -- remove markup and convert real periods if not options.keep_period then text = gsub(text, '%.'...
Click to read more »Module:Etymology/templates
Sabtu, 2020-09-19 07:19:07formatted_terms = get_parsed_parts(mw.ustring.lower( -- Remove link and convert uppercase to lowercase to get an -- approximation of the original template...
Click to read more »Module:Ru-adjective
Senin, 2020-04-27 08:11:09short class title if sct == "" then sct = "no short forms" else -- Convert e.g. a*,a(1) into a*[(1)], either finally or followed by -- comma. ...
Click to read more »Module:Sports table
Minggu, 2022-10-23 22:19:49hide_class_rules = false -- True if par doesn't exist, false otherwise -- First convert to lower case if it is a string pld_pts_val = string.lower(pld_pts_val)...
Click to read more »Module:Calendar date
Minggu, 2022-10-23 22:24:41through table table.insert (out, make_wikilink (key)) -- and convert category names to links end end return table.concat (out) ...
Click to read more »Module:Sports table/WDL
Senin, 2018-06-25 09:03:50fa_word_sing, fa_word_plur local hide_for_against = false -- First convert to lower case if it is a string for_against_style = string.lower(for_against_style)...
Click to read more »Module:Compound
Senin, 2020-04-27 08:06:04string. A + will still -- appear next to it. This lets us directly convert things such as -- {{suffix|mul||idae}} to {{affix|mul|^|-idae}}. ...
Click to read more »Module:Citation/CS1/COinS
Kamis, 2020-10-15 01:12:53value; end rendering = mw.text.unstripNoWiki (rendering); -- convert stripmarker into rendered value (or nil? ''? when math render error) ...
Click to read more »Module:La-nominal
Senin, 2020-04-27 08:06:55effectively -- need to convert to zero-based indices, compute -- the zero-based linear index, and then convert it -- back to a one-based...
Click to read more »Module:La-verb
Senin, 2020-04-27 08:06:58stem, "ū") end end -- Functions for generating the inflection table -- Convert FORM (one or more forms) to a string of links. If the form is empty --...
Click to read more »Module:Message box
Selasa, 2025-07-15 09:49:30-- So we shortcut and return the empty string. return "" end -- Convert category tables to strings and pass them through -- [[Module:Category...
Click to read more »Module:Location map
Rabu, 2023-03-01 08:34:39and true for everything else -- if useWikidata is present but blank, convert it to false instead of nil -- p.top, p.bottom, and their callers need to...
Click to read more »Module:Excerpt
Minggu, 2026-05-10 22:46:34-999 ) ) end return text:gsub( pattern, '' ) end -- Helper method to convert a comma-separated list of numbers or min-max ranges into a list of booleans...
Click to read more »Module:Age
Kamis, 2018-05-31 13:57:06an uppercase letter. number = tostring(number) return require('Module:ConvertNumeric').spell_number( number, nil, -- fraction...
Click to read more »Module:Wd
Rabu, 2020-07-08 09:39:07valuesArray[i][1] end end return outString end function Config:convertUnit(unit, raw, link, short, unitOnly) local space = " " local label =...
Click to read more »Module:WikidataIB
Senin, 2023-02-13 20:06:53conversions - only for en-wiki local conv = parseParam(args.conv or args.convert, false) -- if we have conversions, we won't have formatted numbers or...
Click to read more »Module:Citation/CS1/Configuration
Kamis, 2020-10-15 03:34:35= '5', ['6'] = '6', ['7'] = '7', ['8'] = '8', ['9'] = '9'}, -- used to convert local language digits to Western 0-9 ['xlate_digits'] = {}, } for name...
Click to read more »