User contributions for DarkMatterMan4500

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

10 June 2023

15 January 2023

10 January 2023

9 January 2023

22 December 2022

11 December 2022

7 December 2022

16 September 2022

7 September 2022

19 August 2022

18 August 2022

8 August 2022

2 August 2022

31 July 2022

29 July 2022

27 July 2022

22 July 2022

20 July 2022

  • 17:3617:36, 20 July 2022 diff hist +3,904 N Module:Lua bannerCreated page with "-- This module implements the {{lua}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = v:match('^%s*(.-)%s*$') if v ~= '' then args[k] = v end end return p._main(args) end function p._main(args)..." current
  • 17:3517:35, 20 July 2022 diff hist +166 N Template:LuaCreated page with "<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude> {{Lua|Module:Lua banner}} {{documentation}} <!-- Categories go on the /doc subpage. --> </noinclude>" current
  • 17:3317:33, 20 July 2022 diff hist +17,433 N Module:Documentation/configCreated page with "---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------..." current
  • 17:3317:33, 20 July 2022 diff hist +3,178 N Template:User-multi/templateCreated page with "{{#invoke:UserLinks|main|user=Example|User=Example}}{{#ifeq:{{{doc<noinclude>|yes</noinclude>}}}|yes |{{documentation |content= {{#ifeq:{{FULLPAGENAME}}|Template:User| {{high-risk| 526549 }} }} {{lua|Module:UserLinks}} This is a user link template for use internally on Wikipedia. === Usage === The username can be defined via a named or an unnamed parameter, i.e. * <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>{{#ifeq:{{{User|¬}}}|¬||User}}{{#ifeq:{{{u..." current
  • 17:3217:32, 20 July 2022 diff hist +326 N Template:User3Created page with "{{<includeonly>safesubst:</includeonly>user-multi<noinclude>/template</noinclude> | User = {{{1|{{{User|{{{user|}}}}}}}}} | Project = {{{2|{{{Project|{{{project|}}}}}}}}} | Lang = {{{3|{{{Lang|{{{lang|}}}}}}}}} | small = {{{small|}}} | span = no | 1 = t | 2 = c | 3 = l | doc = yes }}" current
  • 17:3117:31, 20 July 2022 diff hist +1,361 N Module:Message box/ombox.cssCreated page with "→‎{{pp|small=y}}: .ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; →‎Default "notice" gray: background-color: #f8f9fa; box-sizing: border-box; } →‎For the "small=yes" option.: .ombox.mbox-small { font-size: 88%; line-height: 1.25em; } .ombox-speedy { border: 2px solid #b32424; →‎Red: background-color: #fee7e6; →‎Pink: } .ombox-delete { border: 2px solid #b32424; →‎Red: } .ombox-content { border: 1p..." current
  • 17:3117:31, 20 July 2022 diff hist +6,474 N Module:Message box/configurationCreated page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..." current
  • 17:2917:29, 20 July 2022 diff hist +10,054 N Module:ArgumentsCreated page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string'..." current
  • 17:2817:28, 20 July 2022 diff hist +745 N Module:YesnoCreated page with "-- 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 val =..." current
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)