Menú alternativo
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Contribuciones del usuario Dragon

Un usuario con 780 ediciones. Cuenta creada el 28 ago 2022.
Buscar contribucionesExpandirContraer
⧼contribs-top⧽
⧼contribs-date⧽

23 sep 2023

6 jul 2023

3 jul 2023

1 jul 2023

  • 18:3718:37 1 jul 2023 difs. hist. +5137 m Camarada:DragonSin resumen de edición
  • 17:5517:55 1 jul 2023 difs. hist. +3545 N Módulo:Namespace detect/configPágina creada con «-------------------------------------------------------------------------------- -- Namespace detect configuration data -- -- -- -- This module stores configuration data for Module:Namespace detect. Here -- -- you can localise the module to your wiki's language. -- --…» última
  • 17:5417:54 1 jul 2023 difs. hist. +2569 N Módulo:Namespace detect/dataPágina creada con «-------------------------------------------------------------------------------- -- Namespace detect data -- -- This module holds data for Module:Namespace detect to be loaded per -- -- page, rather than per #invoke, for performance reasons. -- -------------------------------------------------------------------------------- local cfg = require('Module:Namespace detect/config') local funct…» última
  • 17:5317:53 1 jul 2023 difs. hist. +761 N Módulo:Category handler/blacklistPágina creada con «-- This module contains the blacklist used by Module:Category handler. -- Pages that match Lua patterns in this list will not be categorised unless -- categorisation is explicitly requested. return { '^Main Page$', -- don't categorise the main page. -- Don't categorise the following pages or their subpages. -- "%f[/\0]" matches if the next character is "/" or the end of the string. '^Wikipedia:Cascade%-protected items%f[/\0]', '^User:UBX%f[/\0]', -- The use…» última
  • 17:5217:52 1 jul 2023 difs. hist. +888 N Módulo:Category handler/sharedPágina creada con «-- This module contains shared functions used by Module:Category handler -- and its submodules. local p = {} function p.matchesBlacklist(page, blacklist) for i, pattern in ipairs(blacklist) do local match = mw.ustring.match(page, pattern) if match then return true end end return false end function p.getParamMappings(useLoadData) local dataPage = 'Module:Namespace detect/data' if useLoadData then return mw.loadData(dataPage).mappings else retu…» última
  • 17:5117:51 1 jul 2023 difs. hist. +5755 N Módulo:Category handler/configPágina creada con «-------------------------------------------------------------------------------- -- Module:Category handler configuration data -- -- Language-specific parameter names and values can be set here. -- -- For blacklist config, see Module:Category handler/blacklist. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------…» última
  • 17:5017:50 1 jul 2023 difs. hist. +631 N Módulo:Category handler/dataPágina creada con «-- This module assembles data to be passed to Module:Category handler using -- mw.loadData. This includes the configuration data and whether the current -- page matches the title blacklist. local data = require('Module:Category handler/config') local mShared = require('Module:Category handler/shared') local blacklist = require('Module:Category handler/blacklist') local title = mw.title.getCurrentTitle() data.currentTitleMatchesBlacklist = mShared.matchesBlacklis…» última
  • 17:4917:49 1 jul 2023 difs. hist. +6119 N Módulo:Color contrast/colorsPágina creada con «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.098224287876…» última
  • 17:4717:47 1 jul 2023 difs. hist. +6971 N Módulo:Color contrastPágina creada con «-- -- 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…» última
  • 17:4617:46 1 jul 2023 difs. hist. +745 N Módulo:YesnoPágina creada con «-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y' or va…» última
  • 17:4417:44 1 jul 2023 difs. hist. +7871 N Módulo:Category handlerPágina creada con «-------------------------------------------------------------------------------- -- -- -- CATEGORY HANDLER -- -- -- -- This module implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespaces and all namespace a…» última
  • 17:4217:42 1 jul 2023 difs. hist. +2411 N Plantilla:UserboxPágina creada con «{{#invoke:userbox|userbox}}<noinclude> == Usage:== <nowiki>{{userbox | bodyclass = <!--Adds an HTML class attribute to the entire template's HTML table, to allow for styling, emission of microformats, etc.--> | border-c = <!--border color (default=id-c or #999999)--> | border-s = <!--border width in pixels (default=1)--> | float = <!--left|right|none (default=left)--> | id = <!--id image or text (image size should normally not ex…» última
  • 17:3917:39 1 jul 2023 difs. hist. +13 045 N Módulo:UserboxPágina creada con «-- This module implements {{userbox}}. local categoryHandler = require('Module:Category handler').main local p = {} -------------------------------------------------------------------------------- -- Helper functions -------------------------------------------------------------------------------- local function checkNum(val, default) -- Checks whether a value is a number greater than or equal to zero. If so, -- returns it as a number. If not, returns a default v…» última

30 jun 2023

29 jun 2023

28 jun 2023

27 jun 2023