User contributions for Maxwells

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

21 May 2022

  • 18:2918:29, 21 May 2022 diff hist +911 N Module:CallAssertCreated page with "local function pack(...) return {...}, select('#', ...) end local function mapArray(func, array, count) local result = {} for i = 1, count or #array do result[i] = func(array[i]) end return result end local function quote(value) if type(value) == 'string' then return (string.gsub(string.format('%q', value), '\\\n', '\\n')) -- Outer parentheses remove second value returned by gsub end local str = tostring(value) if type(value) == 'table' and str ~= 'table'..." current
  • 18:2818:28, 21 May 2022 diff hist +655 N Template:MONTHNUMBERCreated page with "<includeonly>{{#if:{{{1|}}} |{{#switch:{{lc:{{{1}}}}} |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{#ifexpr:{{{1}}}<0 |{{#ifexpr:(({{{1}}})round 0)!=({{{1}}}) |{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}} |{{#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}} }} |{{#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}..." current
  • 18:2818:28, 21 May 2022 diff hist +660 N Template:Dated maintenance categoryCreated page with "<nowiki/><!--This nowiki helps to prevent whitespace at the top of articles-->{{#ifeq:{{FULLROOTPAGENAME}}|Wikipedia:Template messages|<!--Do not categorize-->|<!-- -->{{#ifexpr:{{#if:{{NAMESPACE}}|0|1}}+{{#ifeq:{{{onlyarticles|no}}}|yes|0|1}} |{{#if:{{{3|}}} |[[Category:{{{1}}} {{{2}}} {{{3}}}]]<!-- -->{{#ifexist:Category:{{{1}}} {{{2}}} {{{3}}} |<!-- -->|Category:Articles with invalid date parameter in template<!-- -->}} |Category:{{#if:{{{5|}}}..."
  • 18:2818:28, 21 May 2022 diff hist +1,101 N Module:Page tabsCreated page with "-- This module implements {{Page tabs}}. local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') local p = {} function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local makeTab = p.makeTab local root = mw.html.create() root:wikitext(yesno(args.NOTOC) and '__NOTOC__' or nil) local row = root:tag('div') :css('background', args.Background or '#f8fcff') :addClass('template-page-tabs..." current
  • 18:2718:27, 21 May 2022 diff hist +582 N Template:Page tabs/styles.cssCreated page with ".template-page-tabs { background: #F8FCFF; width: 100%; display: flex; flex-wrap: wrap; margin-bottom: -4px; } .template-page-tabs > span { padding: 0.5em; line-height: 0.95em; border: solid 2px #a3b1bf; white-space: nowrap; margin-bottom: 4px; } .template-page-tabs > span.spacer { display: flex; →‎hides any whitespace we put inside: padding: 0; flex: 9px; border-width: 0 0 2px 0; } .template-page-tabs > span.spacer:last-child { /* We want this to ge..." current
  • 18:2718:27, 21 May 2022 diff hist +197 N Template:Page tabsCreated page with "<templatestyles src="Template:Page tabs/styles.css" />{{#invoke:page tabs|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 18:2618:26, 21 May 2022 diff hist +387 N Template:MONTHNAMECreated page with "<includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{1}}}}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude> {{Documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" current
  • 18:2618:26, 21 May 2022 diff hist +197 N Template:DMCACreated page with "{{Dated maintenance category |onlyarticles=yes |1={{{1|}}} |2={{{2|}}} |3={{{3|}}} |4={{{4|}}} |5={{{5|}}} }}<noinclude> {{documentation|Template:Dated maintenance category/doc}} </noinclude>"
  • 18:2618:26, 21 May 2022 diff hist +323 N Template:CenterCreated page with "<includeonly><div class="center" style="width:auto; margin-left:auto; margin-right:auto;{{#if: {{{style|}}} | {{{style}}};}}">{{{1|Category:Pages using center with no arguments}}}</div></includeonly><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>" current
  • 18:2518:25, 21 May 2022 diff hist +1,915 N Module:PageCreated page with "local callAssert = require('Module:CallAssert') local function main(frame, field) local args, pargs = frame.args, ( frame:getParent() or {} ).args or {} local makeTitle=args.makeTitle or pargs.makeTitle local namespace=args.namespace or pargs.namespace or "" local fragment=args.fragment or pargs.fragment or "" local interwiki=args.interwiki or pargs.interwiki or "" local page=args.page or args[1] or pargs.page or pargs[1] or "" local id= tonumber( args.id or parg..." current
  • 18:2518:25, 21 May 2022 diff hist +4,726 N Module:ExampleCreated page with "local p = {}; --All Lua modules on Stiles.casa Wiki must begin by defining a variable --that will hold their externally accessible functions. --Such variables can have whatever name you want and may --also contain various data as well as functions. p.hello = function( frame ) --Add a function to "p". --Such functions are callable in Stiles.casa Wiki..."
  • 18:2418:24, 21 May 2022 diff hist +1,262 N Template:WikiProject Lua headerCreated page with "{{page tabs |1=<span style="margin: -5px 0;display:inline-block">22px|link=SW:Lua</span> SW:Lua |2=(talk) |3=Help |4=To do |5=Resources |6=Reference manual |This={{#switch:{{FULLPAGENAME}}| Stiles.casa Wiki:Lua = 1 | Stiles.casa Wiki talk:Lua = 2 | Help:Lua = 3 | Stiles.casa Wiki:Lua/To do..." current
  • 18:2318:23, 21 May 2022 diff hist +146 N Template:Section linkCreated page with "{{#invoke:Section link|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>"
  • 18:2318:23, 21 May 2022 diff hist +1,896 N Template:NamespacesCreated page with "{| class="wikitable floatright" style="text-align: center; width:21.5em;; font-size: 90%" |+ Stiles.casa Wiki data structure ! colspan="4" style="background:#d3d3d3;" |{{center| Namespaces}} |- ! colspan="2" style="background:#ddd;" | Subject namespaces ! colspan="2" style="background:#ddd;" | Help:Talk pages|Talk namespac..." current
  • 18:2218:22, 21 May 2022 diff hist +2,627 N Template:As ofCreated page with "<!--{{As of}} begin--><includeonly><!-- ## param 1 is the year ## optional param 2 is the month ## optional param 3 is the day of the month ## optional named parameter alt=[text] is alternative display text (may include wiki markup) ## optional named parameter df=US produces American date format in displayed text ## optional named parameter lc=on gives lower-case-first output ## optional named parameter url=[URL] gives statement reference ## displayed text ([A/a]s of [..." current
  • 18:2118:21, 21 May 2022 diff hist +10,310 N Stiles Wiki:LuaCreated page with "{{short description|Stiles.casa Wiki project page for MediaWiki Lua modules}} {{WikiProject Lua header}} {{Information page}} {{Namespaces}} Lua is a programming language that is available via the Scribunto MediaWiki extension on the English Stiles.casa Wiki. Since February 2013, Lua code can be embedded into wiki templates by employing the "<nowiki>{{#invoke:}}</nowiki>" functionality of Scribunto. This exte..." current
  • 18:1918:19, 21 May 2022 diff hist 0 Template:R from template shortcutNo edit summary current
  • 18:1918:19, 21 May 2022 diff hist 0 Template:R to redirect templateNo edit summary current
  • 18:1918:19, 21 May 2022 diff hist 0 Template:R from shortcutNo edit summary current
  • 18:1818:18, 21 May 2022 diff hist +2,170 N Module:RedirectDataCreated page with "local p = {} function p.getRedirectToNamespace(frame) titleObject = mw.title.getCurrentTitle() -- check if this is a redirect if titleObject.redirectTarget then targetNamespace = titleObject.redirectTarget.nsText return targetNamespace end return "Notaredirect" end function p.getTalkPage(frame) -- this is code written to check for the criteria to apply {{R to talk page}} - essentially, whether the redirect is outside of, and going into, a talk namespace titleO..." current
  • 18:1818:18, 21 May 2022 diff hist 0 Template:R from template shortcutNo edit summary
  • 18:1718:17, 21 May 2022 diff hist +13 Module:Redirect templateNo edit summary current
  • 18:1618:16, 21 May 2022 diff hist +21 Template:Redirect category shellNo edit summary current
  • 18:1518:15, 21 May 2022 diff hist +21 Template:Rcat shellNo edit summary
  • 18:1418:14, 21 May 2022 diff hist +14 Template:This is a redirect/rcatNo edit summary current
  • 18:1318:13, 21 May 2022 diff hist +672 Template:Stiles.casa Wiki help pagesNo edit summary current
  • 18:1218:12, 21 May 2022 diff hist +70 Template:Stiles.casa Wiki how toNo edit summary current
  • 18:1118:11, 21 May 2022 diff hist +106 N Template:TrimCreated page with "<includeonly>{{safesubst:#if:1|{{{x|{{{1|}}}}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>"
  • 18:1018:10, 21 May 2022 diff hist +473 N Template:EditCreated page with "<span class="noprint plainlinks" title="{{#if:{{{tooltip|}}}|{{{tooltip}}}|Edit {{{1}}}}}">[{{fullurl:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}|action=edit{{#if:{{{section|}}}|&section={{{section}}}}}{{#if:{{{editintro|}}}|&editintro={{urlencode:{{{editintro}}}|wiki}}}}{{#if:{{{preload|}}}|&preload={{urlencode:{{{preload}}}|wiki}}}}{{#if:{{{preloadtitle|}}}|&preloadtitle={{urlencode:{{{preloadtitle}}}}}}}}} {{{2|edit}}}]</span><noinclude> {{documentation}} </noinclude>" current
  • 18:1018:10, 21 May 2022 diff hist +1,253 N Template:R from shortcutCreated page with "<noinclude>{{Template:This is a redirect/rcat|from shortcut}} </noinclude>{{#switch:{{#invoke:RedirectData|getRedirectToNamespace}} |Template= {{Redirect template |id=R from template shortcut |name=From a template shortcut |from=a shortcut page name '''in ''any'' namespace''' |to=a page in template namespace |info=**Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in wp:mainspa..."
  • 18:1018:10, 21 May 2022 diff hist +1,253 N Template:R from template shortcutCreated page with "<noinclude>{{Template:This is a redirect/rcat|from shortcut}} </noinclude>{{#switch:{{#invoke:RedirectData|getRedirectToNamespace}} |Template= {{Redirect template |id=R from template shortcut |name=From a template shortcut |from=a shortcut page name '''in ''any'' namespace''' |to=a page in template namespace |info=**Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in wp:mainspa..."
  • 18:0918:09, 21 May 2022 diff hist +621 N Template:R to redirect templateCreated page with "<noinclude>{{This is a redirect/rcat}} </noinclude>{{Redirect template |id=R to redirect template |name=To a redirect category (rcat) template |from=an alias/shortcut (usually), or from a redirect that is the result of a page move/rename, |to=a redirect category (rcat) template |template category=Redirects to redirect templates |other category=Redirects to template namespace |printworthy=no }}<includeonly>{{{category|Category:Redirects to redi..."
  • 18:0918:09, 21 May 2022 diff hist +2,331 N Template:Redirect category shellCreated page with "{{Mbox | name = Redirect category shell | type = move | image = none | style = margin-top: 1.1em; border: solid 1px darkblue; border-left-width: 0.5em; | textstyle = padding-top: 0.9em; padding-bottom: 0.9em; | text = '''This {{Talk other|talk page|page}} is a redirect. <small>The following categories are used to track and monitor this redirect:</small>'''{{#if:{{{h|}}} |:: ''{{{h}}}'' }}<!-- Automatical..."
  • 18:0818:08, 21 May 2022 diff hist +125 N Template:R tshRedirected page to Template:R from shortcut current Tag: New redirect
  • 18:0818:08, 21 May 2022 diff hist +3,115 N Module:Redirect templateCreated page with "require('Module:No globals') local p = {} -- key is beginning of arg name. value is table with namespace number and link -- alternatively, a function taking the namespace number and returning a validity -- can be used local namespaceCategories = { all = { function() return true end }, main = { 0, 'main' }, help = { 12, 'help' }, portal = { 100, 'portal' }, talk = { function(n) return n > 0 and n%2 == 1 end, '[[H..."
  • 18:0718:07, 21 May 2022 diff hist +75 N Template:Redirect templateCreated page with "{{#invoke:Redirect template|main}}<noinclude> {{Documentation}}</noinclude>" current
  • 18:0718:07, 21 May 2022 diff hist 0 N File:Symbol redirect arrow with gradient.svgNo edit summary current
  • 18:0618:06, 21 May 2022 diff hist +127 N Template:Smallcaps/styles.cssCreated page with "→‎Styling for Template:Smallcaps: span.smallcaps { font-variant: small-caps; } span.smallcaps-smaller { font-size: 85%; }"
  • 18:0618:06, 21 May 2022 diff hist +306 N Template:SmallcapsCreated page with "{{<includeonly>safesubst:</includeonly>ifsubst | 1=<span style="font-variant:small-caps">{{{1}}}</span> | 2=<templatestyles src="smallcaps/styles.css"/><span class="smallcaps">{{{1}}}</span> }}<noinclude> <!-- Add categories and interwikis to the /doc subpage, not here! --> {{documentation}} </noinclude>"
  • 18:0518:05, 21 May 2022 diff hist +1,559 N Template:This is a redirect/rcatCreated page with "{{#ifeq:{{NAMESPACE}}|Template talk||'''{{small|{{smallcaps|When used with the}} "Redirect category shell" (Rcat shell) {{smallcaps|template:}}}}}}''' {{Mbox | name = This is a redirect/rcat | type = move | image = none | style = margin-top: 1.1em; border: solid 1px darkblue; border-left-width: 0.5em; | textstyle = padding-top: 0.9em; padding-bottom: 0.9em; | text = 25px|link= '''This page is a Wikipedia:Redirect|red..."
  • 18:0518:05, 21 May 2022 diff hist +982 N Template:R relatedCreated page with "<noinclude>{{This is a redirect/rcat}} </noinclude>{{Redirect template |id=R from related word |name=From a related word or phrase |from=a word (or phrase) |to=a page title that is related in some way. This redirect might be a good search term, or it could be a candidate for a Wiktionary link |info=** Redirects from related words are not properly redirects from alternative spellings of the same word. The..." current
  • 18:0418:04, 21 May 2022 diff hist +360 N Template:Talk otherCreated page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} | talk | other }} }} | talk = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} </noinclude>"
  • 18:0418:04, 21 May 2022 diff hist +2,331 N Template:Rcat shellCreated page with "{{Mbox | name = Redirect category shell | type = move | image = none | style = margin-top: 1.1em; border: solid 1px darkblue; border-left-width: 0.5em; | textstyle = padding-top: 0.9em; padding-bottom: 0.9em; | text = '''This {{Talk other|talk page|page}} is a redirect. <small>The following categories are used to track and monitor this redirect:</small>'''{{#if:{{{h|}}} |:: ''{{{h}}}'' }}<!-- Automatical..."
  • 18:0318:03, 21 May 2022 diff hist +69 N Template:DefineRedirected page to Template:Abbr current Tag: New redirect
  • 18:0318:03, 21 May 2022 diff hist +245 N Template:AbbrCreated page with "<abbr {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{#invoke:String|replace|{{{2|}}}|"|"}}}}">{{{1|}}}</abbr><noinclude>{{Documentation}} </noinclude>" current
  • 18:0218:02, 21 May 2022 diff hist +195 N Template:SubstCreated page with "{{subst:{{#if:{{{1|}}}|[[Template:{{{1}}}|{{{1}}}]]}}}}<noinclude> {{Documentation}} <!-- Please add categories to the /doc subpage; interwikis go to Wikidata --> </noinclude>" current
  • 18:0218:02, 21 May 2022 diff hist +1,796 N Template:Stiles.casa Wiki how toCreated page with "{{ombox | type = notice | style = {{#if:{{{style|}}} |margin:0 auto;width:80%;{{{style}}} }} | image = 30x30px | imageright = {{#if:{{{shortcut|{{{shortcut1|{{{sc1|{{{1<includeonly>|</includeonly>}}}}}}}}}}}} |{{Shortcut|{{{shortcut|{{{shortcut1|{{{sc1|{{{1}}}}}}}}}}}}|{{{shortcut2|{{{sc2|{{{2|}}}}}}}}}||{{{shortcut3|{{{sc3|{{{3|}}}}}}}}}|{{{shortcut4|{{{sc4|{{{4|}}}}}}}}}||{{{shortcut5|{{{sc5|{{{5|}}}}}}}}}<noinclude>|category=no</n..."
  • 18:0218:02, 21 May 2022 diff hist +50 N Template:Help navigationMaxwells moved page Template:Help navigation to Template:Stiles.casa Wiki help pages current Tag: New redirect
  • 18:0218:02, 21 May 2022 diff hist 0 m Template:Stiles.casa Wiki help pagesMaxwells moved page Template:Help navigation to Template:Stiles.casa Wiki help pages
  • 18:0118:01, 21 May 2022 diff hist +8,484 N Template:Stiles.casa Wiki help pagesCreated page with "<noinclude>{{Notice |style=margin-bottom:1.5em; |1=<span style="font-size:large;color:purple;">Please do not post your requests or questions on this page. If you have questions about using Wikipedia, please ask at the '''Help desk''' or the '''Teahouse'''. For questions about subjects and topics, please use the '''Reference Desk'''. Volunteers at these locations will respond to your question..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)