User contributions for Alex

A user with 47,390 edits. Account created on 10 October 2024.
Jump to navigation Jump to search
Search for contributionsshowhide
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

12 October 2024

  • 00:2700:27, 12 October 2024 diff hist +3,265 N Module:TnavbarCreated page with "-- <nowiki> -- -- Implements {{tnavbar}} and variants -- -- @todo move the hardcoded css to MediaWiki:Common.css given how many pages it's found on -- require('strict') local p = {} local yesno = require( 'Module:Yesno' ) function p._navbar( args ) local navbarstyle = args.style or '' local fontstyle = args.fontstyle or '' local view, talk, edit = (args.view or true), (args.talk or true), (args.edit or true) local desc = { view = 'view', talk = 'talk', e..."
  • 00:2600:26, 12 October 2024 diff hist +8,518 N Module:NavboxCreated page with "-- <nowiki> -- -- Implements {{Navbox}} -- local p = {} local tnavbar = require( 'Module:Tnavbar' ) local yesno = require( 'Module:Yesno' ) local page_title = mw.title.getCurrentTitle().fullText -- -- Helper for inserting a new row into the navbox -- -- @param tbl {mw.html table} -- @return tbl {mw.html table} -- local function insertRow( tbl ) return tbl:tag( 'tr' ) end -- -- Creates the navbox table -- -- @param args {table} -- @return tbl {mw.html table} -- local f..."
  • 00:2600:26, 12 October 2024 diff hist +56 N Template:NavboxCreated page with "{{#invoke:Navbox|navbox}}<noinclude>{{/doc}}</noinclude>" current
  • 00:2500:25, 12 October 2024 diff hist +15,811 N Template:Navbox/docCreated page with "{{documentation|Template:Navbox}} {{invokes|Navbox|category=No}}<!----Do not add this category to *every* navbox added explicitly to {{Navbox}} at the end of documentation-----> __TOC__<!--Needed to prevent TOC appearing in the navbox itself if it has a heading.--> ==Usage== This template can be used to make a standard navigation box. It is intended for use within another template that standardises the title and contents of the box (see Template:Rune equipment..."
  • 00:2500:25, 12 October 2024 diff hist +2,071 N Template:CitationsCreated page with "{{navbox |doc = no |hidecat = yes |state = uncollapse |name = Citations |title = References and citations |gtitle1 = Footnote-style |gtype1 = Subgroup |group1 = {{navbox |subgroup = Yes |gtitle1 = ''Old School RuneScape''-specific |group1 = * DevBlog * Forum * GodLetter * News * Template:CiteNPC|..."
  • 00:2500:25, 12 October 2024 diff hist +3,032 N Template:CiteTwitter/docCreated page with "{{Documentation}} __NOTOC__ {{invokes|References}} ==Usage== Remember to only cite tweets made by Jagex-approved accounts. A list may be found [https://twitter.com/runescape/lists/official-jmods-on-twitter?lang=en here]. <pre>{{CiteTwitter|author=|url=|date=|archiveurl=|archivedate=|quote=|notes=|name=|group=}}</pre> ===author=== The author of the tweet(s). Include "Mod" prefixes, such as "Mod Mark" instead of simply "Mark". Use their mod name rather than their twitter..." current
  • 00:2400:24, 12 October 2024 diff hist +91 N Template:CiteTwitterCreated page with "<includeonly>{{#invoke:References|twitterref}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 00:2300:23, 12 October 2024 diff hist +3,004 N Template:Infobox Bonuses/docCreated page with "{{documentation}} Template used to insert Infobox Bonuses on a page. Where to use: *Items that are equipable and obtainable (or have been). This means discontinued items are fine. Equippable fun weapons are also fine. *Beta items; items that have been proposed but haven't fully made it into the game, most likely because they was voted down. *:Category:Unobtainable items|Uno..." current
  • 00:2300:23, 12 October 2024 diff hist +90 N Template:Infobox BonusesCreated page with "<includeonly>{{#invoke:Infobox Bonuses|main}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 00:2100:21, 12 October 2024 diff hist 0 N File:Information icon-grey.svgNo edit summary current
  • 00:1400:14, 12 October 2024 diff hist +946 N Template:Clear/docCreated page with "{{Documentation}} The '''clear''' template is used when the text needs to be moved below, for example, after an image or an infobox. ==Usage== <pre>{{clear}}</pre> :substitutes: '''<nowiki><div class="clear-template clear-both" style="clear:both;"></div></nowiki>''' <pre>{{clear|left}}</pre> :substitutes: '''<nowiki><div class="clear-template clear-left" style="clear:left;"></div></nowiki>''' <pre>{{clear|right}}</pre> :substitutes: '''<nowiki><div class="clear-templa..." current
  • 00:1400:14, 12 October 2024 diff hist +119 N Template:ClearCreated page with "<div class="clear-template clear-{{lc:{{{1|both}}}}}" style="clear:{{{1|both}}};"></div><noinclude>{{/doc}}</noinclude>" current
  • 00:1300:13, 12 October 2024 diff hist +6,205 N Template:Infobox Item/docCreated page with "{{Documentation}} {{invokes|Infobox Item}} {{ToC|left}} {{clear}} {{Standard infobox parameters}} ==Parameters== ===name=== The name of the item '''exactly''' as it appears in game (identical case and spacing). ===image=== The inventory image of the item, formatted as <nowiki>File:Image.png</nowiki>. Ideally in PNG format (or GIF format if the image is animated). For stackable items with multiple images, a..."
  • 00:1200:12, 12 October 2024 diff hist +6,766 N Module:ExchangeDataCreated page with "-- <pre> -- Implements {{ExcgData}} -- local p = {} -- required modules local excg = require( 'Module:Exchange' ) -- -- @param args {table} -- @param baseExcgPage {boolean} Shouldn't be used by any method here, -- only used by Module:ExchangeDefault -- function p._main( args, baseExcgPage ) -- prefer args[1] but that'll break on exchange /data pages due to the data being the first positional arg -- @todo change the order of th..."
  • 00:1100:11, 12 October 2024 diff hist +54 N Module:TimeAgo/docCreated page with "{{Documentation}} Module used by Module:Exchange." current
  • 00:1000:10, 12 October 2024 diff hist +4,175 N Module:TimeAgoCreated page with "-- <nowiki> -- -- Implements {{time ago}} -- local p = {} local yesno = require( 'Module:Yesno' ) -- assumes 31 days in a month (might need tweaking?) -- assumes 365.25 days in a year to account for leap years local convert = {60, 3600, 86400, 604800, 2678400, 31557600} -- used to convert units to magnitudes local magnitudes = { years = 6, months = 5, weeks = 4, days = 3, hours = 2, minutes = 1, seconds = 0 } -- units to append to time dif..." current
  • 00:0900:09, 12 October 2024 diff hist +419 N Module:Number/docCreated page with "{{documentation}} {{Helper module |name = Number |fname1 = _round(num, dp) |ftype1 = float, int |fuse1 = Rounds <code>num</code> to a precision given by <code>dp</code>, if <code>dp</code> is not specified, it defaults to zero. Rounds half up. |fname2 = _short(str) |ftype2 = String |fuse2 = Convert numbers ending in k, m or b to the actual correct number. Example: 3.5k -> 3500 }}" current
  • 00:0900:09, 12 October 2024 diff hist +1,468 N Module:NumberCreated page with "--[[ {{Helper module |name = Number |fname1 = _round(num, dp) |ftype1 = float, int |fuse1 = Rounds <code>num</code> to a precision given by <code>dp</code>, if <code>dp</code> is not specified, it defaults to zero. |fname2 = _short(str) |ftype2 = String |fuse2 = Convert numbers ending in k, m or b to the actual correct number. Example: 3.5k -> 3500 }} -- ]] -- -- Number manipulation methods -- -- Many methods are already available in the math library, so this will be fai..." current
  • 00:0900:09, 12 October 2024 diff hist +672 N Module:ChangePerDayCreated page with "-- <nowiki> -- -- Implements {{ChangePerDay}} -- local p = {} local round = require( 'Module:Number' )._round function p._change( args ) local lang = mw.language.getContentLanguage() local price = tonumber( args[1] ) or 1 local last = tonumber( args[2] ) or 1 local date = args[3] or 'January 1' local lastDate = args[4] or 'July 1' local diff = lang:formatDate( 'U', date ) - lang:formatDate( 'U', lastDate ) local ret diff = diff / 8640..." current
  • 00:0800:08, 12 October 2024 diff hist +1,538 N Module:Exchange/docCreated page with "{{documentation}} Powers most exchange pages and exchange-related modules and templates. {{Helper module|name=Exchange |fname1=_price(arg) |ftype1=String |fuse1=Gets the current GE price of item named arg |fname2=_price(arg, multi, format, round, default) |ftype2=String |fuse2=Gets the current GE price of item named arg, multiplied by [multi] (default 1), rounded to [round] decimal places (default unrounded), and if [format] is true, formatted with thousands separators..." current
  • 00:0800:08, 12 October 2024 diff hist +14,243 N Module:ExchangeCreated page with "--[[ {{Helper module|name=Exchange |fname1=_price(arg) |ftype1=String |fuse1=Gets the current median price of item named arg |fname2=_value(arg) |ftype2=String |fuse2=Gets the value of item named arg }} --]] -- <nowiki> -- -- Implements various exchange templates -- See Individual method docs for more details -- -- See also: -- - Module:ExchangeData -- - Module:ExchangeDefault -- -- Original version: http://runescape.wiki/w/Module:Exchange local p = {} -- only..." current
  • 00:0700:07, 12 October 2024 diff hist +21,130 N Module:Infobox ItemCreated page with "-------------------------- -- Module for Template:Infobox Item ------------------------ local p = {} local infobox = require('Module:Infobox') local onmain = require('Module:Mainonly').on_main local commas = require('Module:Addcommas')._add local exchange = require('Module:Exchange') local chart = require('Module:ExchangeData')._chart function p.main(frame) local args = frame:getParent().args local ret = infobox.new(args) ret:defineParams{ { name = 'name', fu..."
  • 00:0500:05, 12 October 2024 diff hist +822 N Template:Main/docCreated page with "{{Documentation}} {{Invokes|Main article}} This template can be used to link to another relevant article or set of articles when there is no way to fluently link the article in prose. ;Good example <pre> ==Strategies== {{Main|/Strategies}} Abyssal demons are weak to slash. </pre> ;Bad example Below, it makes more sense to simply link Guthix in the paragraph: <pre> ==Guthix== {{Main|Guthix}} Guthix is a god. </pre> {{TemplateData|<templatedata> { "params": { "..." current
  • 00:0300:03, 12 October 2024 diff hist +95 N Module:Hatnote/docCreated page with "{{Documentation}} Implements {{T|Hatnote}} for use on top of pages. See template for more info."
  • 00:0300:03, 12 October 2024 diff hist +2,577 N Module:HatnoteCreated page with "-- repurposed from -- -- https://en.wikipedia.org/w/index.php?title=Module:Hatnote&oldid=1063743122 -- -- -- -- Implements {{hatnote}} template -- local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} -- Helper functions..." current
  • 00:0300:03, 12 October 2024 diff hist +1,354 N Module:Main articleCreated page with "-- <pre> local p = {} function p.main(frame) local hat = require('Module:Hatnote') local args = frame:getParent().args local ret = mw.html.create('') -- list of all articles local params = {} -- total arguments counted counted local ttl = 0 for _, v in ipairs(args) do ttl = ttl + 1 table.insert(params,v) end -- main return string ret:wikitext('Main article'..(#params > 1 and 's' or '')..': ') -- helper function local function link(article) article..." current
  • 00:0200:02, 12 October 2024 diff hist +109 N Template:MainCreated page with "{{#invoke:Main article|main}}<noinclude> {{/doc}}{{PAGENAME}}</noinclude>" current
  • 00:0100:01, 12 October 2024 diff hist +4,174 N Template:Standard infobox parametersCreated page with "<noinclude>This template explains the standard parameters for infoboxes based on Module:Infobox. ----</noinclude> ==Standard infobox parameters== <div class="tile mw-collapsible mw-collapsed" style="max-width:none;"> This infobox uses Module:Infobox, which provides a number of standard parameters. <div class="mw-collapsible-content"> ===Versioning=== This infobox supports switching between multiple versions. Each version needs to have a name defined in a paramete..." current
  • 00:0100:01, 12 October 2024 diff hist +810 N Template:ToC/docCreated page with "{{documentation}} The '''ToC''' template aligns the "Table of Contents" in a page. The table may now be able to float at the left or right of a page and the text should wrap around it. This template can improve page layouts in certain cases. It can also force-insert a table of contents in pages where there are not enough sections for an automatic insertion of a "Table of Contents". ==Usage== * {{t|ToC|align}} * {{t|ToC|align|clear|width|limit}} ===Optional parameters=..."
  • 00:0100:01, 12 October 2024 diff hist +365 N Template:ToCCreated page with "<div id="toctemplate" style="clear:{{{clear|left}}}; float:{{#switch:{{{align|{{{1|}}}}}}|right=right|center=center|left=left}}; margin:{{#switch:{{{align|{{{1|}}}}}}|right=0 0 1.5em 1.5em|left=0 1.5em 1.5em 0|#default=0}}; width:{{{width|auto}}};" class="nomobile {{#if:{{{limit|}}}| toclimit-{{#expr:{{{limit}}}+1}}}}">__TOC__</div><noinclude>{{/doc}}</noinclude>"
  • 00:0000:00, 12 October 2024 diff hist +60 N Template:Infobox ItemCreated page with "{{#invoke:Infobox Item|main}}<noinclude>{{/doc}}</noinclude>"

11 October 2024

  • 23:5823:58, 11 October 2024 diff hist +14,376 N Module:Get drop infoCreated page with "local p = {} local onmain = require('Module:Mainonly').on_main local yesno = require('Module:Yesno') local purge = require('Module:Purge')._purge local params = require('Module:Paramtest') local images = { agility = '<span class="drops-agility" style="margin-left:0.3em;">link=Agility|frameless|20px</span>', combat = '<span class="drops-combat" style="margin-left:0.3em;">link=Combat level|frameless|20px</span>',..." current
  • 23:5823:58, 11 October 2024 diff hist +1,200 N Template:Drop sources/docCreated page with "<includeonly>{{external|rs}}</includeonly>{{Documentation}} Generates a list of sources that drop given item, including monsters and skilling drops. Uses the [https://www.semantic-mediawiki.org/wiki/Help:User_manual Semantic MediaWiki] property Property:Drop JSON. The module called by this template is considered an expensive function, and will increment the count for every page it checks. <pre> {{Drop sources|Item name..." current
  • 23:5823:58, 11 October 2024 diff hist +88 N Template:Drop sourcesCreated page with "<includeonly>{{#invoke:Get drop info|main}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 23:5723:57, 11 October 2024 diff hist +2,014 N MediaWiki:Gadget-topIcons.jsCreated page with "→‎* * Moves icons from [[Template:External]] to the top bar, next to "Article" and "Talk" tabs; * rewritten from scratch for modern MediaWiki: (function ($, mw) { let namespace = mw.config.get('wgNamespaceNumber'); // automatically show externals on Special and MediaWiki namespaces if (namespace === -1 || namespace === 8) { let page = mw.config.get('wgPageName'); addLink('the RuneScape Wiki', 'rsw', page); addLink('the RuneScape Classic Wiki', 'classicrsw..."
  • 23:5723:57, 11 October 2024 diff hist +781 N MediaWiki:Gadget-topIcons.cssCreated page with ".gadget-external-icon { width: 44px; } .gadget-external-icon:hover { filter: brightness(1.1); } .gadget-external-icon a { width: 100%; } #gadget-external-rsw { background: #357ca7 url('filepath://RSW_top_icon.svg') no-repeat center; background-size: 32px; } #gadget-external-classicrsw { background: #60905d url('filepath://RSCW_top_icon.svg') no-repeat center; background-size: 28px; } #gadget-external-meta { background: #e3e3e3 url('filepath://Weird_Gloop_top..."
  • 23:5623:56, 11 October 2024 diff hist −118 Template:External/docNo edit summary Tag: Reverted
  • 23:5523:55, 11 October 2024 diff hist +205 N Template:DPLlua helper/docCreated page with "{{Documentation}} Helper template for Module:DPLlua to make it possible to inlude all parameters of a template while maintaining good performace. This template is not meant to be used on content pages."
  • 23:5423:54, 11 October 2024 diff hist +512 N RuneScape:Lua/Helper modulesCreated page with "This is a table of modules and functions that were created specifically for facilitating the creation of other modules. Documentation for modules here is done in the source code with Template:Helper module. <dpl> namespace = Module uses = Template:Helper module titlematch = %/doc nottitlematch = Helper module/doc include = {Helper module} format = <table class="wikitable"><tr><th>Module</th><th>Function</th><th>Type</th><th>Use</th></tr>,,,</table> ordermethod=title..." current
  • 23:5423:54, 11 October 2024 diff hist +83 N Template:DPLlua helperCreated page with "<includeonly>`#@@#`{{{%ARGS%|}}}`#@@#`</includeonly><noinclude>{{/doc}}</noinclude>"
  • 23:4823:48, 11 October 2024 diff hist +465 N Module:DemoCreated page with "--<nowiki> local T = require("Module:T")._main local p = {} function p.f(frame) local args = frame:getParent().args local template = args[1] local _args = {} for k, v in pairs(args) do if type(k) == "number" then if k ~= 1 then _args[k - 1] = v end else _args[k] = v end end return '<span class="plainlinks">' .. T(args) .. " produces<br>" .. frame:expandTemplate({ title = template, args = _args }) .. '</span>' end return p --</nowiki>" current
  • 23:4623:46, 11 October 2024 diff hist +889 N Template:USERNAME/docCreated page with "{{documentation}} __NOEDITSECTION__ {{t|USERNAME}} displays the username of the user viewing the page. If the user is not logged in, then the template will display <insert name here>. You can control the text displayed by adding a parameter to the template with a value of the default text. For example, <code><nowiki>{{USERNAME|foo}}</nowiki></code> outputs "foo" if the user viewing it is not logged in. ===Examples=== {| class="wikitable" cellpadding="3" width="66%" |+..." current
  • 23:4523:45, 11 October 2024 diff hist +93 N Template:USERNAMECreated page with "<span class="insertusername">{{{1|<insert name here>}}}</span><noinclude>{{/doc}}</noinclude>" current
  • 23:4423:44, 11 October 2024 diff hist +260 N Template:Sandbox/docCreated page with "{{Documentation}} This is a sandbox template that you can use to test template transclusion and template documentation. <span style="display:none">{{Sandbox}}</span> <includeonly>Category:Transclusion templates</includeonly>" current
  • 23:4423:44, 11 October 2024 diff hist +31 N Template:SandboxCreated page with "<noinclude>{{/doc}}</noinclude>" current
  • 23:4323:43, 11 October 2024 diff hist +1,421 N MediaWiki:Gadget-jsonDoc.jsCreated page with "if (mw.config.get('wgPageContentModel') === 'json' && !$('.json-contentmodel-documentation').length && mw.config.get('wgArticleId')!==0) { var raw_url = mw.config.get('wgServer')+mw.util.getUrl(null, {action:'raw', ctype:'application/json'}); $('#mw-content-text').prepend($( '<div class="documentation json-contentmodel-documentation">'+ '<div class="documentation-header">'+ '<span class="documentation-title">JSON module documentation</span>'+ '</div>'..."
  • 23:4223:42, 11 October 2024 diff hist +113,909 N Module:GEPrices/data.jsonCreated page with "{ "%LAST_UPDATE%": 1728666686, "%LAST_UPDATE_F%": "11 October 2024 17:11:26 (UTC)", "3rd age amulet": 176759761, "3rd age axe": 2147483646, "3rd age bow": 2147458286, "3rd age cloak": 905708901, "3rd age druidic cloak": 2041421974, "3rd age druidic robe bottoms": 2147479975, "3rd age druidic robe top": 2147483645, "3rd age druidic staff": 1441897676, "3rd age felling axe": 2146913350, "3rd age full helmet": 89706900, "3rd age kiteshield": 235448736, "3rd ag..."
  • 23:4123:41, 11 October 2024 diff hist +17 N Module:Skill calc/Helpers/docCreated page with "{{Documentation}}"
  • 23:4123:41, 11 October 2024 diff hist +3,965 N Module:Skill calc/HelpersCreated page with "local p = {} local yesNo = require('Module:Yesno') local xp = require('Module:Experience').xp_at_level local level = require('Module:Experience').level_at_xp_unr local commas = require('Module:Addcommas')._add function p.filterData(data, method, dataCriteria, goalLevel) local methodData = {} local addRow = false for i, v in ipairs(data) do if dataCriteria ~= 'Hide' or tonumber(v.level) <= tonumber(goalLevel) then if method == 'All' then table.insert(method..." current
  • 23:3723:37, 11 October 2024 diff hist +209 N Module:Coins/docCreated page with "{{Documentation}} {{Helper module |name = Coins |fname1 = _amount(coins) |ftype1 = Number |fuse1 = Returns a formatted string with a coins icon and the amount of coins. See Template:Coins for examples. }}" current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)