User contributions for Polpot

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽

18 January 2024

16 January 2024

  • 23:1523:15, 16 January 2024 diff hist +51 Template:InfoboxNo edit summary current
  • 23:0223:02, 16 January 2024 diff hist +2,078 N Template:Infobox/styles.cssCreated page with ".infobox { border: 1px solid #ccd2d9; border-spacing: 3px; background-color: #f8f9fa; color: black; →‎@noflip: margin: 0.5em 0 0.5em 1em; padding: 1em; →‎@noflip: float: right; →‎@noflip: clear: right; font-size: 88%; line-height: 1.5em; } .infobox caption { font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center; } .infobox td, .infobox th { vertical-align: top; →‎@noflip: text-align: left; } .infobox.bordered { border-col..."
  • 22:5422:54, 16 January 2024 diff hist +1,057 N Module:Navbar/styles.cssCreated page with ".navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar-collapse { float: left; text-align: left; } .navbar-boxtext { word-spacing: 0; } .navbar ul { display: inline-block; white-space: nowrap; line-height: inherit; } .navbar-brackets::before { margin-right: -0.125em; content: '[ '; } .navbar-brackets::after { margin-left: -0.125em; content: ' ]'; } .navbar li { word-spacing: -0.125em; } .navbar-mini abbr { border-bottom: none; te..." current
  • 22:4322:43, 16 January 2024 diff hist +295 Haz Al-DinNo edit summary
  • 21:5221:52, 16 January 2024 diff hist +99 N Template:PAGENAMEBASECreated page with "{{{{{|safesubst:}}}#Invoke:String|replace|{{{1|{{{{{|safesubst:}}}PAGENAME}}}}}|%s+%b()$||1|false}}" current
  • 21:5221:52, 16 January 2024 diff hist +18,033 N Module:StringCreated 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
  • 21:5121:51, 16 January 2024 diff hist +296 N Template:Main otherCreated page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | main | other }} }} | main = {{{1|}}} | other | #default = {{{2|}}} }}" current
  • 21:4921:49, 16 January 2024 diff hist +62 N Template:If emptyCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}" current
  • 21:4921:49, 16 January 2024 diff hist +1,018 N Module:If emptyCreated page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) -- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank, -- even though there's really no legitimate use case for this. At some point, this will be removed. local lowestNil = math.huge for i = 8,1,-1 do if args[i] == nil then args[i] = '' lowestNil = i end end for..." current
  • 21:3021:30, 16 January 2024 diff hist +1,403 N Module:Separated entriesCreated page with "-- This module takes positional parameters as input and concatenates them with -- an optional separator. The final separator (the "conjunction") can be -- specified independently, enabling natural-language lists like -- "foo, bar, baz and qux". The starting parameter can also be specified. local compressSparseArray = require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local separator = args.separator -- Decode (convert to Unicode) HT..." current
  • 21:2921:29, 16 January 2024 diff hist +69 N Template:Br separated entriesCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:Separated entries|br}}" current
  • 00:1700:17, 16 January 2024 diff hist +3,153 N Module:Check for unknown parametersCreated 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 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 the original wikitext..." current
  • 00:1400:14, 16 January 2024 diff hist +10,133 N Module:InfoboxImageCreated page with "-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for multipage images (DjVu) -- size - size to display the image -- maxsize - maximum size for image -- sizedefault - default size to display the image if size param is blank -- alt - alt text for image -- title - title text for image -- border - set to yes if border -- center - set to yes, if th..." current
  • 00:1200:12, 16 January 2024 diff hist +11,702 N Template:Infobox youtuberCreated page with "<includeonly>{{Infobox | subbox = {{{subbox|}}} | child = {{Yesno|{{{embed|no}}}}} | bodyclass = biography vcard | title = {{#if:{{{embed|}}}|'''YouTube information'''}} | abovestyle = {{#if:{{{embed|}}}||background-color: #B60000; color: white; font-size: 125%}} | above = {{#if:{{{embed|}}}||{{br separated entries |1={{#if:{{{honorific_prefix|{{{honorific prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific_prefix|{{{..." current
  • 00:1000:10, 16 January 2024 diff hist +27 Template:InfoboxNo edit summary Tag: Manual revert
  • 00:0600:06, 16 January 2024 diff hist +3,320 N Template:Infobox personCreated page with "{{Infobox | bodyclass = vcard | abovestyle = font-size: 100%; | above = {{Br separated entries | 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<div class="honorific-prefix" style="display:inline; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div>}} | 2 = <div style="display:inline; font-size:130%;" class="fn org">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</div> | 3 = {{#if:{{{native_n..."
  • 00:0000:00, 16 January 2024 diff hist +15,030 N Module:InfoboxCreated page with "-- -- This module implements {{Infobox}} -- local p = {} local navbar = require('Module:Navbar')._navbar local args = {} local origArgs = {} local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1') s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker)..." current

15 January 2024

  • 23:5923:59, 15 January 2024 diff hist +5,093 N Module:NavbarCreated page with "local p = {} local cfg = mw.loadData('Module:Navbar/configuration') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then title_arg = 2 end if template then title_arg = 'template' end return title_arg end local function choose_links(template, args) -- The show table indicates the default displayed items. -- view, talk, edit, hist, move, watch -- TODO: Move to configuration. local show = {true, false, false, false, fal..." current
  • 23:5823:58, 15 January 2024 diff hist +904 N Module:Navbar/configurationCreated page with "local configuration = { ['templatestyles'] = 'Module:Navbar/styles.css', ['box_text'] = 'This box: ', -- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Invalid title ', ['classes'] = { -- set a line to nil if you don't want it ['navbar'] = 'navbar', ['plainlinks'] = 'plainlinks', -- plainlinks ['horizontal_list'] = 'hlist', -- horizontal list class ['mini'] = 'navbar-mini..." current
  • 23:5623:56, 15 January 2024 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
  • 23:5423:54, 15 January 2024 diff hist +12,649 N Module:TableToolsCreated page with "--[[ ------------------------------------------------------------------------------------ -- TableTools -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should -- -- not be called directly from #invoke...." current
  • 07:4307:43, 15 January 2024 diff hist +45 m Drew PavlouNo edit summary Tag: Visual edit
  • 07:4307:43, 15 January 2024 diff hist +28 N File:Drew pavlou its over meme.pngNo edit summary current
  • 07:3607:36, 15 January 2024 diff hist +40 m FAQNo edit summary current Tag: Visual edit
  • 07:3507:35, 15 January 2024 diff hist +14 N File:Infrared-globe-small.jpgNo edit summary current
  • 07:3307:33, 15 January 2024 diff hist +29 m FAQNo edit summary Tag: Visual edit

14 January 2024