User contributions for NeonWabbit
26 March 2023
- 15:4515:45, 26 March 2023 diff hist +329 N Module:If preview/styles.css Created page with "→{{pp|small=yes}}: .preview-warning { font-style: italic; →@noflip: padding-left: 1.6em; margin-bottom: 0.5em; color: red; } →The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206: .preview-warning + link + .preview-warning { margin-top: -0.5em; }" current
- 15:4415:44, 26 March 2023 diff hist +47,959 N Module:Date Created page with "-- Date functions for use by other modules. -- I18N and time zones are not supported. local MINUS = '−' -- Unicode U+2212 MINUS SIGN local floor = math.floor local Date, DateDiff, diffmt -- forward declarations local uniq = { 'unique identifier' } local function is_date(t) -- The system used to make a date read-only means there is no unique -- metatable that is conveniently accessible to check. return type(t) == 'table' and t._id == uniq end local function is_..." current
- 15:4415:44, 26 March 2023 diff hist +6,470 N Module:CountryData/summary Created page with "local p = {} p.pages = {Afghanistan='K', Albania='H', Algeria='F', Angola='K', Argentina='B', Armenia='G', Australia='A', Austria='B', Azerbaijan='F', Bahrain='K', Bangladesh='I', Belarus='D', Belgium='B', Bolivia='J', Bosnia_and_Herzegovina='F', Brazil='B', Bulgaria='D', Cameroon='I', Canada='A', Chile='D', China='B', Chinese_Taipei='H', Colombia='D', Costa_Rica='I', Croatia='D', Cuba='G', Cyprus='G', Czech_Republic='B', Czechoslovakia='H', Democratic_Republic_of_the_Co..." current
- 15:4415:44, 26 March 2023 diff hist −309 Template:Infobox video game No edit summary current
- 15:4215:42, 26 March 2023 diff hist +142,113 N Module:WikidataIB Created page with "-- Version: 2021-02-06 -- Module to implement use of a blacklist and whitelist for infobox fields -- Can take a named parameter |qid which is the Wikidata ID for the article -- if not supplied, it will use the Wikidata ID associated with the current page. -- Fields in blacklist are never to be displayed, i.e. module must return nil in all circumstances -- Fields in whitelist return local value if it exists or the Wikidata value otherwise -- The name of the field that thi..." current
- 15:4215:42, 26 March 2023 diff hist +16,312 N Module:Video game wikidata Created page with "local Date = require('Module:Date')._Date local yesno = require('Module:Yesno') local p = {} -- Local variables. local reviewer = nil; local df = "mdy"; local entity = nil; local genRefs = true; local showSystem = true; local showUpdateLink = true; local system = nil; local systemId = nil; local systemFormat = "colon"; local updateLinkStyle = nil; local entities = {}; -- Translation table for converting numeric-IDs to shorthand aliases. local systemAliases = { [10677..." current
- 15:4215:42, 26 March 2023 diff hist +5,992 N Module:Namespace detect Created page with "--[[ -------------------------------------------------------------------------------- -- -- -- NAMESPACE DETECT -- -- -- -- This module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace aliases are..." current
- 15:4215:42, 26 March 2023 diff hist +980 N Module:Infobox/styles.css Created page with "→{{pp|small=y}}: →* This TemplateStyles sheet deliberately does NOT include the full set of * infobox styles. We are still working to migrate all of the manual * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] * DO NOT ADD THEM HERE: →* not strictly certain these styles are necessary since the modules now * exclusively output infobox-subbox or infobox, not both * just replicating the module faithfully: .infobox-subbox { padding: 0; borde..." current
- 15:4215:42, 26 March 2023 diff hist +842 N Module:If preview/configuration Created page with "--We perform the actual check for whether this is a preview here since preprocessing is relatively expensive. local frame = mw.getCurrentFrame() local function is_preview() local revision_id = frame:preprocess('{{REVISIONID}}') -- {{REVISIONID}} is usually the empty string when previewed. -- I don't know why we're checking for nil but hey, maybe someday things -- would have broken return revision_id == nil or revision_id == '' end local function templatestyl..." current
- 15:4115:41, 26 March 2023 diff hist +2,330 N Module:CountryData Created page with "local p = {} local mostUsed = mw.loadData('Module:CountryData/summary') local function getcontents(frame,country,params) return frame:expandTemplate({title="Country data "..country;args=params}) end function p.getcachedtable(frame, country, params) country = mostUsed.redirects[country] or country if params and next(params) then return p.gettable(frame, country, params) end -- Uses mw.loadData to cache data for the most-used templates if mostUsed.pages[country] th..." current
- 15:4115:41, 26 March 2023 diff hist +2,334 N Template:Redirect category shell Created page with "__NONEWSECTIONLINK__{{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}}}''..." current
- 15:4115:41, 26 March 2023 diff hist +256 N Template:Infobox video game/styles.css Created page with "→{{pp-template|small=yes}}: .ib-video-game .infobox-label { white-space: nowrap; →to ensure gap between any long/nonwrapped label and subsequent data on same line: padding-right: 0.65em; } .ib-video-game .infobox-above { font-style: italic; }" current
- 15:4115:41, 26 March 2023 diff hist +205 N Template:Edit on Wikidata Created page with "{{#switch: {{{noicon|}}} | no = | false = | #default = <div class="metadata" style="text-align: right;">[[[d:{{#if:{{{qid|}}}|{{{qid}}}|{{#invoke:WikidataIB|pageId}}}}|edit on Wikidata]]]</div> }}" current
- 15:4015:40, 26 March 2023 diff hist −3 Module:Pagetype/config No edit summary current
- 15:4015:40, 26 March 2023 diff hist −38 Module:Pagetype/config No edit summary
- 15:3915:39, 26 March 2023 diff hist +745 N Module:Yesno Created 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
- 15:3915:39, 26 March 2023 diff hist +9,499 N Module:Video game reviews/data Created page with "local reviewers = { { "''1Up.com''", '1UP' }, { "''4Players''", '4P' }, { "''ACE''", 'ACE' }, { "''Adventure Gamers''", 'AdvGamers' }, { "''AllGame''", 'Allgame' }, { "''Aktueller Software Markt''", 'ASM' }, { "''Amiga Action''", 'AmAction' }, { "''Amiga Computing''", 'AmComputing' }, { "''Amiga Force''", 'AmForce' }, { "''Amiga Format''", 'AmFormat' }, { "''Amiga Power''", 'AmPower' }, { "''[[Amiga U..." current
- 15:3815:38, 26 March 2023 diff hist +3,847 N Module:Pagetype/config Created page with "-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- -- St..."
- 15:3815:38, 26 March 2023 diff hist +10,244 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
- 15:3815:38, 26 March 2023 diff hist +1,453 N Module:If preview Created page with "local p = {} local cfg = mw.loadData('Module:If preview/configuration') --main This function returns either the first argument or second argument passed to this module, depending on whether the page is being previewed. function p.main(frame) if cfg.preview then return frame.args[1] or '' else return frame.args[2] or '' end end --[[ pmain This function returns either the first argument or second argument passed to this module's parent (i.e. template usi..." current