Jump to content

User contributions for Sharkius

A user with 578 edits. Account created on 23 April 2025.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

24 April 2025

  • 00:3900:39, 24 April 2025 diff hist +102 N Template:Error Created page with "{{#invoke:Error|error|{{{message|{{{1}}}}}}|tag={{{tag|}}}}}<noinclude> {{documentation}} </noinclude>" current
  • 00:3900:39, 24 April 2025 diff hist +156 N Template:Format price/digits Created page with "{{#expr:({{{1|1}}} round {{#ifexpr:({{{1|1}}} >= 100) |0 |{{#ifexpr:({{{1|1}}} >= 10) |1 |2 }} }} )}}<noinclude> {{documentation}} </noinclude>" current
  • 00:3900:39, 24 April 2025 diff hist +1,687 N Template:Format price Created page with "{{#iferror:{{ #ifexpr:(({{{1}}}) >= 1E+27) | {{formatnum:{{Format price/digits|{{#expr:({{{1}}}) / 1E+27}}}}}} octillion}}{{ #ifexpr:((({{{1}}}) >= 1E+24) and (({{{1}}}) < 1E+27)) | {{Format price/digits|{{#expr:({{{1}}}) / 1E+24}}}} septillion}}{{ #ifexpr:((({{{1}}}) >= 1E+21) and (({{{1}}}) < 1E+24)) | {{Format price/digits|{{#expr:({{{1}}}) / 1E+21}}}} sextillion}}{{ #ifexpr:((({{{1}}}) >= 1E+18) and (({{{1}}}) < 1E+21)) | {{Format price/digits|{{#expr:..." current
  • 00:3800:38, 24 April 2025 diff hist +1,516 N Module:Sortkey Created page with "local getArgs = require('Module:Arguments').getArgs local p = {} function p._encode(sortkey) -- Protect against sortkey nesting. -- Example: {{sort|{{dts|2013|07|07}}|{{dts|1990|12|01}}}} if string.find(sortkey, "sortkey") or string.find(sortkey, "data-sort-value") then return ""; end return mw.text.encode(sortkey) end function p.encode(frame) local args = getArgs(frame); return p._encode(args[1] or "") end local function valid_number(num) -- Return true..." current
  • 00:3800:38, 24 April 2025 diff hist +14,646 N Module:Math Created page with "--This module provides a number of basic mathematical operations. local yesno, getArgs -- lazily initialized local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules. local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua. --Helper functions used to avoid redundant code. local function..." current
  • 00:3700:37, 24 April 2025 diff hist +5,471 N Module:Number table sorting Created page with "local lang = mw.language.getContentLanguage() local Math = require('Module:Math') local SortKey = require('Module:Sortkey') -- constants local INF = math.huge local NEGINF = -math.huge local MINUS = '−' -- Unicode U+2212 MINUS SIGN (UTF-8: e2 88 92) -------------------------------------------------------------------------------- -- Nts class -------------------------------------------------------------------------------- local Nts = {} Nts.__index = Nts Nts.formats..." current
  • 00:3700:37, 24 April 2025 diff hist +210 N Template:Ntsh Created page with "<includeonly>{{#invoke:Number table sorting|main|{{{1|}}}|debug={{{debug|no}}}|quiet=yes}}</includeonly><noinclude> {{documentation}} <!-- Add cats and interwikis to the /doc subpage, not here! --> </noinclude>" current
  • 00:3600:36, 24 April 2025 diff hist +214 N Template:Ntsp Created page with "<includeonly>{{ntsh|{{{1}}}}}{{{3|}}}{{Format price|{{{1}}}|{{{2|}}}}}</includeonly><noinclude> <code><nowiki>{{ntsh|{{{1}}}}}{{{3|}}}{{Format price|{{{1}}}|{{{2|}}}}}</nowiki></code> {{documentation}} </noinclude>" current
  • 00:3500:35, 24 April 2025 diff hist +1,050 N Template:Multiple image/styles.css Created page with "Block: .multiimageinner { display: flex; flex-direction: column; } .trow { display: flex; flex-direction: row; clear: left; flex-wrap: wrap; width: 100%; box-sizing: border-box; } Cell: .tsingle { margin: 1px; float: left; } .theader { clear: both; font-weight: bold; text-align: center; align-self: center; background-color: transparent; width: 100%; } .thumbcaption { background-color: transparent; } .text-align-left { text-align: left; }..." current
  • 00:3500:35, 24 April 2025 diff hist +9,218 N Module:Multiple image Created page with "-- implements template:multiple image local p = {} local autoscaledimages local nonautoscaledimages local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$' ) ~= '' end local function removepx(s) return tostring(s or ''):match('^(.*)[Pp][Xx]%s*$') or s end local function getdimensions(s, w, h) if tonumber(w) and tonumber(h) then nonautoscaledimages = true return tonumber(w), tonumber(h) end local file = s and mw.title.new('File:' .. mw.uri.decod..." current
  • 00:3500:35, 24 April 2025 diff hist +131 N Template:Multiple image Created page with "{{#invoke:Multiple image|render}}<noinclude>{{documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS --></noinclude>" current
  • 00:3400:34, 24 April 2025 diff hist +2,544 N Module:File link Created page with "-- This module provides a library for formatting file wikilinks. local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table') -- This is basically libraryUtil.checkTypeForNamedArg, but we are rolling our -- own function to get the right error level. local function checkArg(key, val, level) if type(val) ~= 'string' then error(string.format( "type error in..." current
  • 00:3400:34, 24 April 2025 diff hist +124 N Template:Storm color Created page with "<noinclude>{{pp-template|small=yes}}</noinclude>{{#invoke:Storm categories|color}}<noinclude> {{Documentation}} </noinclude>" current
  • 00:3300:33, 24 April 2025 diff hist +3,187 N Template:EF small Created page with "{| style="float: {{{align|right}}}; margin: 0.1em; border-spacing: 0.3em 0;" |+ style="color: black; text-align: center;" | Enhanced Fujita Scale |- ! scope="row" style="text-shadow: {{#invoke:StormCategoryColor|renderTextGlow|EFU}}; background-color: #{{#invoke:StormCategoryColor|renderBackgroundColor|EFU}}; color: #{{#invoke:StormCategoryColor|renderTextColor|EFU}}; font-weight: inherit;" | {{#invoke:StormCategoryColor|renderCategoryLabelTorna..." current
  • 00:3300:33, 24 April 2025 diff hist +647 N Module:Anchor Created page with "-- This module implements {{anchor}}. local getArgs = require('Module:Arguments').getArgs local tableTools = require('Module:TableTools') local p = {} function p.main(frame) -- Get the positional arguments from #invoke, remove any nil values, -- and pass them to p._main. local args = getArgs(frame) local argArray = tableTools.compressSparseArray(args) return p._main(unpack(argArray)) end function p._main(...) -- Generate the list of anchors. local anchors = {...." current
  • 00:3200:32, 24 April 2025 diff hist +177 N Template:Anchor Created page with "{{<includeonly>safesubst:</includeonly>#invoke:anchor|main}}<noinclude> {{Documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 00:3200:32, 24 April 2025 diff hist +145 N Template:Nowrap Created page with "<span class="nowrap">{{{1}}}</span><noinclude> {{documentation}} <!-- Categories go on the /doc page; interwikis go to Wikidata. --> </noinclude>" current
  • 00:3100:31, 24 April 2025 diff hist +19,033 N Enhanced Fujita scale Created page with "{{EF small}} thumb|The National Weather Service’s arrow showing the EF scale. This includes a description word for each level of the scale. The '''Enhanced Fujita scale''' (abbreviated as '''EF-Scale''') rates tornado intensity based on the severity of the damage they cause. It is used in some countries, including the United States, Canada, France, and Japan. The scale has the sa..." current
  • 00:3100:31, 24 April 2025 diff hist +6,119 N Module:Color contrast/colors Created page with "return { aliceblue = 0.92880068253475, antiquewhite = 0.84646951707754, aqua = 0.7874, aquamarine = 0.8078549208338, azure = 0.97265264954166, beige = 0.8988459998705, bisque = 0.80732327372979, black = 0, blanchedalmond = 0.85084439608156, blue = 0.0722, blueviolet = 0.12622014321946, brown = 0.098224287876511..." current
  • 00:3000:30, 24 April 2025 diff hist +6,967 N Module:Color contrast Created page with "-- -- This module implements -- {{Color contrast ratio}} -- {{Greater color contrast ratio}} -- {{ColorToLum}} -- {{RGBColorToLum}} -- local p = {} local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' ) local function sRGB (v) if (v <= 0.03928) then v = v / 12.92 else v = math.pow((v+0.055)/1.055, 2.4) end return v end local function rgbdec2lum(R, G, B) if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then return 0.2126 *..." current
  • 00:3000:30, 24 April 2025 diff hist +11,969 N Module:Storm categories/demo Created page with "-- -- This module handles demonstration and list of possible values for all storm -- category templates! Please test this module on Module:Storm categories/demo/doc -- before publishing to avoid errros. Thank you! -- local colorRatio = require("Module:Color contrast")._ratio local TableTools = require("Module:TableTools") local stormcats = require("Module:Storm categories") local cats = require("Module:Storm categories/categories").cats local colors = require("Module..." current
  • 00:2900:29, 24 April 2025 diff hist +178 N Template:Pp-template Created page with "<includeonly>{{#invoke:Protection banner|main}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 00:2800:28, 24 April 2025 diff hist +1,153 N Module:Storm categories/icons Created page with "local p = {} local cats = require("Module:Storm categories/categories").cats -- Icon overrides for old {{Tropical cyclone status icons}} that don't have a -- viable category. local icons = { -- Ambiguious 7-tier scale ["1"] = cats["cat1"].icon, ["2"] = cats["cat2"].icon, ["3"] = cats["cat3"].icon, ["4"] = cats["cat4"].icon, ["5"] = cats["cat5"].icon, ["6"] = cats["cat6"].icon, ["H"] = cats["cat7"].icon, -- FMS scale ["a5"] = cats["aus5"].icon, ["a4"] = cats["..." current
  • 00:2800:28, 24 April 2025 diff hist +1,403 N Module:Storm categories/colors Created page with "local p = {} local cats = require("Module:Storm categories/categories").cats -- Ambiguous color names. This is because the old {[storm colour}} itself is -- extremely ambiguous. This is also used to override the output of some codes. local colors = { -- AHWS colors ["C5H"] = cats["ahwscat5"].color, ["C4H"] = cats["ahwscat4"].color, ["C3H"] = cats["ahwscat3"].color, ["C2H"] = cats["ahwscat2"].color, ["C1H"] = cats["ahwscat1"].color, ["TS"] = cats["ahwsstorm"].co..." current
  • 00:2700:27, 24 April 2025 diff hist +41,076 N Module:Storm categories/categories Created page with "local p = {} -- Define categories -- All sortkeys have been guessed. They may be changed by common sense -- or consensus at Wikipedia talk:WikiProject Tropical cyclones local cats = { -- -- TROPICAL CYCLONES -- severe = { color = "C0FFC0", name = "Severe tropical storm", sortkey = 120, icon = "18px" }, mtstorm = { color = "4DFFFF", -- Old {{storm colour}} did not support. Value guessed. name = "Moderate t..." current
  • 00:2700:27, 24 April 2025 diff hist +3,301 N Module:Storm categories Created page with "local categoryData = require("Module:Storm categories/categories") local colors = require("Module:Storm categories/colors").colors local icons = require("Module:Storm categories/icons").icons local cats = categoryData.cats local defaultCategory = categoryData.defaultCategory local p = {} function p.color(frame) return p._color(frame.args[1] or frame:getParent().args[1], false) end function p.name(frame) return p._name( frame.args[1] or frame:getParent().args[1],..." current
  • 00:2600:26, 24 April 2025 diff hist +124 N Template:Storm colour Created page with "<noinclude>{{pp-template|small=yes}}</noinclude>{{#invoke:Storm categories|color}}<noinclude> {{Documentation}} </noinclude>" current
  • 00:2500:25, 24 April 2025 diff hist +19,557 N Module:Convert/text Created page with "-- Text used by Module:Convert for enwiki. -- This is a separate module to simplify translation for use on another wiki. -- See en:Template:Convert/Transwiki guide if copying to another wiki. -- Some units accept an SI prefix before the unit code, such as "kg" for kilogram. local SIprefixes = { -- The prefix field is what the prefix should be, if different from the prefix used. ['Q'] = { exponent = 30, name = 'quetta', }, ['R'] = { exponent = 27,..." current
  • 00:2500:25, 24 April 2025 diff hist +1,194 N Module:ConvertCustom Created page with "local p = {} function p.main(frame) -- Get the input arguments from the template local args = frame.args -- Check if the first argument (pressure) is passed and valid local pressure = tonumber(args[1]) -- args[1] is the first parameter passed from the template if not pressure then return "Error: Invalid or missing pressure value." end -- Get significant figures (default is 4) for general calculations local sigfig = tonumber(args..." current
  • 00:2400:24, 24 April 2025 diff hist +170,975 N Module:Convert/data Created page with "-- Conversion data used by 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 guide if copying to another wiki. -- -- These data tables follow: -- all_units all properties for a unit, including default output -- default_exceptions exceptions for default output ('kg' and 'g' have different defaults) -- link_exceptions exceptions for links..." current
  • 00:2400:24, 24 April 2025 diff hist +194 N Template:Convert Created page with "<includeonly>{{{{{♥|safesubst:}}}#invoke:convert|convert}}</includeonly><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>" current
  • 00:2300:23, 24 April 2025 diff hist +28,255 N Module:StormCategoryColor Created page with "local p = {} -- Function to determine text color based on the category number function p.getTextColor(catnum) catnum = tostring(catnum or "unknown") -- Ensure catnum is a string if catnum == 'cat7' then return 'FFFFFF' -- White for Category 7 with neon glow (text color) else return '000000' -- Default dark gray for other categories end end -- Function to determine text based on the wind speed function p.getWindSpeed(winds) winds = t..." current
  • 00:2200:22, 24 April 2025 diff hist +12,650 N MediaWiki:Common.css Created page with "* This is the CSS common to all desktop skins on en.Wikipedia. * Styling inside .mw-parser-output should generally use TemplateStyles.: Reset italic styling set by user agent: cite, dfn { font-style: inherit; } Straight quote marks for <q>: q { quotes: '"' '"' "'" "'"; } Avoid collision of blockquote with floating elements by swapping margin and padding: blockquote { overflow: hidden; margin: 1em 0; padding: 0 40px; } /* Consistent size for..."
  • 00:2000:20, 24 April 2025 diff hist +608 N Template:Para Created page with "<code class="tpl-para" style="word-break:break-word;{{SAFESUBST:<noinclude />#if:{{{plain|}}}|border: none; background-color: inherit;}} {{SAFESUBST:<noinclude />#if:{{{plain|}}}{{{mxt|}}}{{{green|}}}{{{!mxt|}}}{{{red|}}}|color: {{SAFESUBST:<noinclude />#if:{{{mxt|}}}{{{green|}}}|#006400|{{SAFESUBST:<noinclude />#if:{{{!mxt|}}}{{{red|}}}|#8B0000|inherit}}}};}} {{SAFESUBST:<noinclude />#if:{{{style|}}}|{{{style}}}}}">|{{SAFESUBST:<noinclude />#if:{{{1|}}}|{{{1}}}&#61..." current
  • 00:2000:20, 24 April 2025 diff hist +184 N Template:Str left Created page with "<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 00:2000:20, 24 April 2025 diff hist +196 N Template:Suppress categories Created page with "<includeonly>{{{{{|safesubst:}}}#invoke:Suppress categories|main}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>" current
  • 00:2000:20, 24 April 2025 diff hist +1,436 N Template:Template parameter usage Created page with "{{#switch:{{{label|}}} |=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|S|s}}ee a monthly parameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|this template}} in articles{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}. |None|none=[https://bambots.brucemyers.com/Templat..." current
  • 00:1900:19, 24 April 2025 diff hist +1,164 N Template:TemplateData header Created page with "<div class="templatedata-header">{{#if:{{{noheader|}}}|<!-- noheader: -->{{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}|<!-- +header: -->This is the {{#if:{{{nolink|}}}|<!-- +header, nolink TD -->TemplateData|<!-- +header, +link TD; DEFAULT: -->TemplateData}}<!-- e.o. #if:nolink; DEFAULT: --> for this template used by TemplateWizard, VisualEditor and other..." current
  • 00:1900:19, 24 April 2025 diff hist +190 N Template:Tlx Created page with "{{#Invoke:Template link general|main|code=on}}<noinclude> {{Documentation|1=Template:Tlg/doc |content = {{tlg/doc|tlx}} }} <!-- Add categories to the /doc subpage, not here! --> </noinclude>" current
  • 00:1800:18, 24 April 2025 diff hist +5,489 N Module:Text/data Created page with "-- Data required by Module:Text. -- Either Lua string patterns (defined by codepoint) or information about quotes local data = {} data.PatternCJK = mw.ustring.char( 91, 4352, 45, 4607, 11904, 45, 42191, 43072, 45, 43135, 44032, 45, 55215, 63744, 45, 64255, 65072, 45, 6..." current
  • 00:1700:17, 24 April 2025 diff hist +19,470 N Module:Text Created page with "local yesNo = require("Module:Yesno") local Text = { serial = "2022-07-21", suite = "Text" } --[=[ Text utilities ]=] local function fiatQuote( apply, alien, advance ) -- Quote text -- Parameter: -- apply -- string, with text -- alien -- string, with language code -- advance -- number, with level 1 or 2 local r = apply and tostring(apply) or "" alien = alien or "en" advance = tonumber(advance) or 0 l..." current
  • 00:1700:17, 24 April 2025 diff hist +25,320 N Module:Transclusion count/data/I Created page with "return { ["IAST"] = 6300, ["IBDB_name"] = 9400, ["ICD10"] = 5000, ["ICD9"] = 4400, ["ICS"] = 3200, ["ICS_flag"] = 3200, ["IDN"] = 3600, ["IMDb_episode"] = 11000, ["IMDb_episodes"] = 3900, ["IMDb_name"] = 163000, ["IMDb_title"] = 202000, ["IMO_Number"] = 4200, ["IMSLP"] = 8800, ["INA"] = 2200, ["IND"] = 8200, ["INR"] = 6300, ["INRConvert"] = 6300, ["INRConvert/CurrentRate"] = 6200, ["INRConvert/USD"] = 6200, ["INRConvert/out"] = 6200, ["IOBDB_name"] = 2100, ["IP"] = 2700,..." current
  • 00:1700:17, 24 April 2025 diff hist +329 N Template:Em Created page with "<em {{#if:{{{role|}}}|role="{{{role}}}"}} {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</em><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>" current
  • 00:1700:17, 24 April 2025 diff hist +96 N Template:Div col end Created page with "<includeonly></div></includeonly><noinclude> {{Documentation|Template:Div col/doc}} </noinclude>" current
  • 00:1600:16, 24 April 2025 diff hist +3,339 N Module:Check for unknown parameters Created page with "-- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- not on the list require ('strict'); local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end local function clean(text) -- Return text cleaned for display and truncated if too long. -- Strip markers are replaced with dummy text representing..." current
  • 00:1600:16, 24 April 2025 diff hist +488 N Template:Div col/styles.css Created page with "{{pp|small=yes}}: .div-col { margin-top: 0.3em; column-width: 30em; } .div-col-small { font-size: 90%; } .div-col-rules { column-rule: 1px solid #aaa; } Reset top margin for lists in div col: .div-col dl, .div-col ol, .div-col ul { margin-top: 0; } Avoid elements breaking between columns See also Template:No col break: .div-col li, .div-col dd { page-break-inside: avoid; Removed from CSS in favor of break-inside c. 2020: break-inside: av..." current
  • 00:1500:15, 24 April 2025 diff hist +958 N Template:Div col Created page with "<includeonly><templatestyles src="Div col/styles.css"/><!-- --><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!-- -->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- -->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!-- -->}}><!-- -->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=y..." current
  • 00:1500:15, 24 April 2025 diff hist +100 N Template:Clear Created page with "<div style="clear:{{{1|both}}};" class={{{class|}}}></div><noinclude> {{documentation}} </noinclude>" current
  • 00:1400:14, 24 April 2025 diff hist +18,028 N Module:String Created page with "--[[ This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the parameter. Depending on the intended use, it may be advantageous to either preserve or remove such whitespace. Global options ignore_errors: If set to 'true' or 1, any error c..." current
  • 00:1400:14, 24 April 2025 diff hist +360 N Template:Category link with count Created page with "[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!-- -->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!-- -->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude> {{Documentation}} </noinclude>" current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)