Jump to content

User contributions for Nico

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

4 August 2025

  • 17:1717:17, 4 August 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
  • 17:1517:15, 4 August 2025 diff hist +20,533 N Module:Infobox Created page with "local p = {} local args = {} local origArgs = {} local root local empty_row_categories = {} local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]' local has_rows = false local lists = { plainlist_t = { patterns = { '^plainlist$', '%splainlist$', '^plainlist%s', '%splainlist%s' }, found = false, styles = 'Plainlist/styles.css' }, hlist_t = { patterns = { '^hlist$', '%shlist$', '^hlist%s', '%shlist%s'..." current
  • 17:1417:14, 4 August 2025 diff hist +916 N Template:Screen reader-only/styles.css Created page with "/* {{pp-template}} This implementation is from https://cloudfour.com/thinks/see-no-evil-hidden-content-and-accessibility/#showing-additional-content-for-screen-readers which is a slight tweak from https://accessibility.18f.gov/hidden-content/ . https://webaim.org/techniques/css/invisiblecontent/#techniques has slightly different CSS clip, rect (1px) for all dimensions. WARNING: Template:Fraction and friends use this styles.css page and class directly rather than going..." current
  • 17:1317:13, 4 August 2025 diff hist +1,088 N Template:Infobox election/styles.css Created page with "{{pp-template}}: .ib-election { line-height: 1.5em; } .ib-election .infobox-data { text-align: center; } .ib-election .infobox-label { width: 5em; white-space: nowrap; } .ib-election .infobox-subheader { line-height: 130%; } .ib-election .infobox-header { font-weight: normal; } /* To avoid seeming biased on responsive skins - make sure all images are the * same width and displayed e.g. not hidden by a scrollable element * use !important for both of thes..." current
  • 17:1217:12, 4 August 2025 diff hist +26,661 N Template:Infobox election Created page with "<includeonly>{{#invoke:infobox|infoboxTemplate | templatestyles = Infobox election/styles.css | child templatestyles = Screen reader-only/styles.css<!-- for /row template --> | child = {{{child|{{{embed|}}}}}} | bodyclass = ib-election infobox-table {{#if:{{{election_date|}}}|vevent|}} | bodystyle = {{#if:<!-- -->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!-- -->|width:{{#invoke:Math|min | 1=300 |..." current
  • 17:1117:11, 4 August 2025 diff hist +10,054 N Module:Arguments Created 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:1117:11, 4 August 2025 diff hist +3,237 N Module:Political party Created page with "local p = {} local default_color = '#F8F9FA' local categories = { party_not_in_list = 'Category:Pages using Political party with unknown party', shortname_not_in_list = 'Category:Pages using Political party with missing shortname', color_not_in_list = 'Category:Pages using Political party with missing color', } local function create_error(error_message) return string.format('<strong class="error">%s</strong>', error_message) end local function get..." current
  • 17:1017:10, 4 August 2025 diff hist +7,111 N Module:Delink Created page with "-- This module de-links most wikitext. require("strict") local p = {} local getArgs local function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes. return s end return s:match("%[%[|(.*)%]%]") end local function delinkPipeTrick(s) -- We need to deal with colons, brackets, and commas, per Help:Pipe trick. -- First, remove the text before the first colon, if any. if s:match(":") then s = s:match("%[%[.-..." current
  • 17:0917:09, 4 August 2025 diff hist +9,894 N Module:InfoboxImage Created 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
  • 17:0817:08, 4 August 2025 diff hist +8,889 N Module:Infobox election Created page with "local p = {} local InfoboxImage = require('Module:InfoboxImage').InfoboxImage local delink = require('Module:Delink')._delink local fetch = require('Module:Political party')._fetch -- Helper functions -- local notblank = function (v) return (mw.text.trim(v or "") ~= "") end local ifblank = function (v, alt1, alt2) return notblank(v) and v or (notblank(alt1) and alt1 or alt2) end local ucfirst = function (s) return mw.ustring.upper(mw.ustring.sub(s,1,1)) .. mw.ustring...." current
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)