User contributions for Alex
Jump to navigation
Jump to search
17 October 2024
- 01:1301:13, 17 October 2024 diff hist +5,863 N Module:Sandbox/User:Riblet15/Trailblazer Region Created page with "local p = {} local lang = mw.getContentLanguage() local regions = { misthalin = true, karamja = true, asgarnia = true, desert = true, fremennik = true, kandarin = true, morytania = true, tirannwn = true, wilderness = true, kourend = true, varlamore = true, } function p._main(region, note, link, global_highlight, league) if region == nil or string.lower(region) == "no" then return "None" end local ret = {} for value in string.gmatch(region, "[^,]+") do..." current
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Tooltip/doc Created page with "{{No documentation}}" current
- 01:1301:13, 17 October 2024 diff hist +3 Module:Tnavbar No edit summary Tag: Reverted
- 01:1301:13, 17 October 2024 diff hist 0 Module:Time/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist +412 N Module:Tile markers button Created page with "local p = {}; function p.main(frame) local args = frame:getParent().args local pageName = args[1] return p._main(pageName) end function p._main(pageName) local jsonContent = mw.loadJsonData(pageName) local resultsDiv = mw.html.create( 'div' ) resultsDiv:css({display = 'none'}) resultsDiv:addClass('tilemarker-div') resultsDiv:node(mw.text.jsonEncode(jsonContent)) return resultsDiv; end return p;" current
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Theatre of Blood calculator/doc Created page with "{{No documentation}}" current
- 01:1301:13, 17 October 2024 diff hist +7,829 N Module:Theatre of Blood calculator Created page with "-- <nowiki> local geprice = require('Module:Exchange')._price local p = {} local uniques = { {name = 'Avernic defender hilt', chance = 8}, {name = 'Ghrazi rapier', chance = 2}, {name = 'Sanguinesti staff (uncharged)', chance = 2}, {name = 'Justiciar faceguard', chance = 2}, {name = 'Justiciar chestguard', chance = 2}, {name = 'Justiciar legguards', chance = 2}, {name = 'Scythe of vitur (uncharged)', chance = 1} } local uniquestotal = 19 local normies = { {name..." current
- 01:1301:13, 17 October 2024 diff hist +1,689 N Module:TestGetTotalQuestPoints Created page with "local p = {} -- create a new module table function p.countQuestPoints(frame) local args = frame:getParent().args return p._countQuestPoints(args) end -- create a function in the module function p._countQuestPoints(args) local html = require('Module:Mw.html extension') local pageHtml = mw.getCurrentFrame():preprocess('{{:{{FULLPAGENAME}}}}') local parsed = html.parse(pageHtml) local dpl = require( 'Module:DPLlua' ) local a, b = dpl.ask( { namespace..." current
- 01:1301:13, 17 October 2024 diff hist +4,770 N Module:Tempoross reward pool Created page with "local p = {} local fishTables = { {level=81, rewardsPageLevelName="81+"}, {level=79, rewardsPageLevelName="79-80"}, {level=76, rewardsPageLevelName="76-78"}, {level=50, rewardsPageLevelName="50-75"}, {level=46, rewardsPageLevelName="46-49"}, {level=40, rewardsPageLevelName="40-45"}, {level=35, rewardsPageLevelName="35-39"}, } function p.possiblyReplaceWithSoakedPages(frame, rewards, replacementSoakedPages, shouldReplaceWithSoakedPages, soakedPageChance, drop) i..." current
- 01:1301:13, 17 October 2024 diff hist +1,543 N Module:Tempoross experience calculator Created page with "local p = {} local paramTest = require('Module:Paramtest') local scp = require('Module:SCP')._main function p._main(args) local fishingLevel = paramTest.default_to(tonumber(args.fishingLevel), 35) local base_xp = 450 local base_level = 35 if (fishingLevel > 69) then base_xp = 890 base_level = 70 end local modifier, _ = math.modf(base_xp + (1000 - base_xp) * (fishingLevel - base_level) / (99 - base_level)) local fishingExperience, fishingExperienceDec =..." current
- 01:1301:13, 17 October 2024 diff hist −51,805 Module:SlayerConsts/MasterTables Replaced content with "--[[ {{Helper module |name = Tables |fname1 = _row(row, elts, header) |ftype1 = mw.html object, table/string, boolean |fuse1 = Adds <code>td</code> or <code>th</code> cells to the html object with the cells data specified by <code>elts</code>. If <code>header</code> = <code>true</code> then all cells added will have the <code>th</code> tag. |fname2 = _table(table, data) |ftype2 = mw.html object, table |fuse2 = Adds <code>tr</code> rows and <code>td</code>/<code>th</c..." Tags: Replaced Reverted
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Table list/doc Created page with "{{No documentation}}" current
- 01:1301:13, 17 October 2024 diff hist +3,327 N Module:Table list Created page with "-- <pre> local p = {} local alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0' function p.main(frame) return p._main(frame:getParent().args) end function p._main(args) local columns = tonumber(args.columns) or 4 local header = args.header or '' local links = string.lower(args.links or '') local alphabeticalheaders = string.lower(args.alphaheader or '') if alphabeticalheaders == 'yes' then alphabeticalheaders = true else alphabeticalheaders = false end local entrie..." current
- 01:1301:13, 17 October 2024 diff hist +596 N Module:Tabber/doc Created page with "{{Documentation}} {{Helper module |name = Tabber |fname1 = tabber({<br/>{"tab 1 label", "tab 1 content"},<br/>{"tab 2 label", "tab 2 content"},<br/>{"etc", "..."},<br/>}) |ftype1 = Table, Boolean |fuse1 = Returns a preprocessed string of a <code><tabber></code> containing each of the specified tabs.<br/>If preprocess is explicitly set to <code>false</code> the tabber will not be processed and instead return a mw:Extension:Scribunto/Lua reference manual#HTML libr..." current
- 01:1301:13, 17 October 2024 diff hist +817 N Module:Sandbox/User:Riblet15/Tabber Created page with "local p = {} -- Access point for other modules -- argument format: {{"tab 1 label", "tab 1 content"}, {"tab 2 label", "tab 2 content"}, {"etc", "..."}} function p.tabber(tabs) preprocess = preprocess == nil and true or preprocess -- if no preprocess defined, set to true local tabber = "" for i, tab in ipairs(tabs) do if i > 1 then tabber = tabber .. "|-|" end tabber = tabber .. mw.text.trim(tab[1]) .. '=' .. tab[2] end return mw.getCurrentFrame():callParse..." current
- 01:1301:13, 17 October 2024 diff hist +1,502 N Module:Exchange/Tai bwo wannai teleport Created page with "-- <nowiki> -- Template:T -- local p = {} function p.main(frame) local args = frame:getParent().args return p._main(args) end function p._main(args) local link = args[1] local uri local targs = {} local ns local i = 1 -- strip transclusion modifiers (mw:Help:Magic words#Transclusion modifiers) link = link :gsub('safesubst:', '') :gsub('subst:', '') :gsub('int:', '') :gsub('msg:', '')..."
- 01:1301:13, 17 October 2024 diff hist 0 Module:Synced switch/doc No edit summary current Tag: Manual revert
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Switchfobox multi/doc Created page with "{{No documentation}}" current
- 01:1301:13, 17 October 2024 diff hist +1,573 N Module:Switchfobox multi Created page with "local p = {} local _defaults = function(s,d) if not s or not s:find('%S') then return d else return s end end function p.make_boxes(args,infobox_params,infobox_name) local all_args = {} all_args.universal = {} local max_i = 1 for i=1,20 do if not args['version'..i] then break else all_args['item_s_'..i] = { version_name = args['version'..i] } max_i = i end end all_args.max_value_i = max_i local chatheads = {} for _, v in ipairs(infobox_params) do..." current
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Swimming calculator/doc Created page with "{{No documentation}}" current
- 01:1301:13, 17 October 2024 diff hist +6,429 N Module:Swimming calculator Created page with "local p = {} local levelAtXp = require('Module:Experience').level_at_xp_unr local xpAtLevel = require('Module:Experience').xp_at_level_unr function p.main(frame) local args = frame:getParent().args thievingXP = tonumber(args.thievingXP) thievingLvl = tonumber(args.thievingLvl) thievingType = args.thievingType agilityXP = tonumber(args.agilityXP) agilityLvl =tonumber(args.agilityLvl) agilityType = args.agilityType tearsHr = tonumber(args.Tears) goalTog..." current
- 01:1301:13, 17 October 2024 diff hist +2,457 N Module:Supercompost profit calculator Created page with "local Coins = require( 'Module:Coins' ) local gePrice = require('Module:Exchange')._price local p = {} local bin = 15 local bigBin = 30 function p.invoke_main( frame ) return p.main(frame:getParent().args.ingredient, frame:getParent().args.cocomilk_offset, frame:getParent().args.bucket_offset, frame:getParent().args.grimy_herbs) end function p.main( item, cocomilk, bucket, grimy ) --List of herbs-- local herbs = { "Avantoe", "Cadantine", "Dwarf weed", "Kwuarm", "..." current
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Subobjecthelper/doc Created page with "{{No documentation}}" current
- 01:1301:13, 17 October 2024 diff hist +394 N Module:Subobjecthelper Created page with "local p = {} function p.main(frame) local args = frame.args local subobj = {} for k,v in pairs(args) do if not (k == 'splitpoint' or k == 'subobjectname') then v = v:gsub('[\r\n]', '') subobj[k] = mw.text.split(v, args.splitpoint or '&split&') end end if args.subobjectname then mw.smw.subobject(subobj, args.subobjectname) else mw.smw.subobject(subobj) end end return p" current
- 01:1301:13, 17 October 2024 diff hist 0 Module:StoreTableHead/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist +3,238 N Module:Sandbox/User:Kelsey/StoreTableHead Created page with "local p = {} local params = require('Module:Paramtest') local yesno = require('Module:Yesno') local var = mw.ext.VariablesLua function p.main(frame) local args = frame:getParent().args local buymultiplier,sellmultiplier,currency,namenotes,delta,smw,hideimage,hidege,hidebuy,hidesell,hidestock,hiderestock,hidecaption,shopversion,membersOverride,locationOverride = params.defaults{ {args.buymultiplier,1000}, {args.sellmultipl..." current
- 01:1301:13, 17 October 2024 diff hist 0 Module:StoreLine/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist +13,011 N Module:Sandbox/User:Kelsey/StoreLine Created page with "local p = {} local lang = mw.language.getContentLanguage() local var = mw.ext.VariablesLua local params = require('Module:Paramtest') local yesno = require('Module:Yesno') local currency_image = require("Module:Currency Image") local commas = require("Module:Addcommas") local exchange = require('Module:Exchange') local find_gevalue = exchange._value local find_geprice = exchange._price local geprices_data = mw.loadJsonData('Module:GEPrices/data.json') local var = mw.ex..." current
- 01:1301:13, 17 October 2024 diff hist 0 Module:Store locations list/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist +8,852 N Module:Sandbox/User:PeaceBear0/Store locations list Created page with "-- <pre> local p = {} local commas = require("Module:Addcommas")._add local params = require('Module:Paramtest') local yesNo = require("Module:Yesno") local currencyImage = require("Module:Currency Image") local purge = require("Module:Purge")._purge local p2pIcon = 'link=Members|alt=Members' local f2pIcon = 'link=Free-to-play|alt=Free-to-play' function p.main(frame) return p._main(frame:getParent().args) end..." current
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Sprintf/doc Created page with "{{No documentation}}" current
- 01:1301:13, 17 October 2024 diff hist +396 N Module:Sprintf Created page with "local p = {} function p.main(frame) return p._main(frame:getParent().args) end function p._main(args) local _args = {} for i,v in ipairs(args) do table.insert(_args, v) end return string.format(unpack(_args)) end function p.expr(frame) return p._expr(frame:getParent().args) end function p._expr(args) return string.format(args[1], mw.ext.ParserFunctions.expr(args[2])) end return p" current
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Spell cost table/doc Created page with "{{No documentation}}" current
- 01:1301:13, 17 October 2024 diff hist +14,962 N Module:Sandbox/User:MxFox/Spell cost table Created page with "-- <pre> local p = {} local gep = require('Module:Exchange')._price local coins = require('Module:Coins')._amount local combo_runes = { ['mist rune'] = { ['air rune'] = true, ['water rune'] = true }, ['dust rune'] = { ['air rune'] = true, ['earth rune'] = true }, ['mud rune'] = { ['water rune'] = true, ['earth rune'] = true }, ['smoke rune'] = { ['air rune'] = true, ['fire rune'] = true }, ['steam rune'] = { ['water rune'] = true, ['fire rune'] = true }, ['lava..." current
- 01:1301:13, 17 October 2024 diff hist +108 N Module:SMW table/doc Created page with "{{documentation}} Generates a formatted table containing arbitrarily many properties for a given SMW query." current
- 01:1301:13, 17 October 2024 diff hist +4,760 N Module:SMW table Created page with "local p = {} local yesno = require('Module:Yesno') function header(tbl, cols, fmts, imgs, types) local tr = tbl:tag('tr') if cols[0] ~= nil then tr:tag('th'):addClass('unsortable') end tr:tag('th'):attr('data-sort-type', 'text'):css('text-align', 'left'):wikitext('Name') for i=1,#cols do local ctype = types[i] or types['def'] local img = imgs[i] or imgs['def'] local fmt = fmts[i] or fmts['def'] tr:tag('th'):attr('data-sort-type', ctype):wikitext(strin..."
- 01:1301:13, 17 October 2024 diff hist +956 N Module:SMW JSON Created page with "local p = {} function p.main(frame) local field = frame.args.field local parent_args = frame:getParent().args p._main(field, parent_args) end function p._main(field, parent_args) if field ~= nil then local args = {} for k, v in pairs(parent_args) do if v == '' then args[k] = nil else args[k] = mw.text.unstrip(v) end end mw.logObject(args) local json = mw.text.jsonEncode(args) mw.smw.set({[field] = json}) end end function p.parse(data,..." current
- 01:1301:13, 17 October 2024 diff hist +6,728 Module:EmberFantasy/sandbox/Slottable No edit summary Tag: Reverted
- 01:1301:13, 17 October 2024 diff hist 0 Module:SlayerConsts/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist +13,774 N Module:Sandbox/User:Andmcadams/SlayerConsts Created page with "p = {} p.UNLOCK_SEEING_RED = 1 p.UNLOCK_I_HOPE_YOU_MITH_ME = 2 p.UNLOCK_WATCH_THE_BIRDIE = 3 p.UNLOCK_HOT_STUFF = 4 p.UNLOCK_REPTILE_GOT_RIPPED = 5 p.UNLOCK_LIKE_A_BOSS = 6 p.UNLOCK_STOP_THE_WYVERN = 7 p.UNLOCK_BASILOCKED = 8 p.UNLOCK_VAMPYRES = 9 p.UNLOCK_I_WILDY_MORE_SLAYER = 10 p.UNLOCK_WARPED_REALITY = 11 p.QUEST_PRIEST_IN_PERIL = 1 p.QUEST_DRAGON_SLAYER_II = 2 p.QUEST_DRAGON_SLAYER = 3 p.QUEST_CABIN_FEVER = 4 p.QUEST_HORROR_FROM_THE_DEEP = 5 p.QUEST_MOURNINGS_END_..." current
- 01:1301:13, 17 October 2024 diff hist 0 Module:Slayer weight calculator/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist 0 Module:Slayer task library/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist −2 Module:Sandbox/User:Microbrews/Skilling success chart No edit summary current
- 01:1301:13, 17 October 2024 diff hist 0 Module:Skilling success chart/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist +5,834 N Module:Sandbox/User:Microbrews/Skilling success chart Created page with "local chart = require( 'Module:Chart data' ) local p = {} function interp(low, high, level) local value = math.floor(low*(99-level)/98 + high*(level-1)/98 + 0.5) + 1 return math.min(math.max(value / 256, 0), 1) end function oldInterp(low, high, level) local value = math.modf(low*(99-level)/98) + math.modf(high*(level-1)/98) + 1 return math.min(math.max(value / 256, 0), 1) end function bonusInterp(low, high, bonuslow, bonushigh, level) local value = interp(low,..."
- 01:1301:13, 17 October 2024 diff hist +2,083 N Module:Skilling experience rate chart Created page with "local chart = require( 'Module:Chart data' ) local skillingSuccess = require( 'Module:Skilling success chart' ) local p = {} -- s/tick local tickRate = 0.6 function p._calculateDataSets(args) local dataSets = skillingSuccess._calculateDataSets(args) -- Assuming an xp drop every single action local tickDelay = args.ticksPerAction * tickRate local maxXpHr = (3600 / tickDelay) * args.xpPerAction * (1 + args.xpBonus) for i, dataSet in ipairs(dataSets) do if dataSe..." current
- 01:1301:13, 17 October 2024 diff hist +10,901 N Module:SkillChoice Created page with "--Quests are organised by least to most cumulative experience; quests with the same experience rewards are organised alphabetically-- local SCP = require('Module:SCP')._main local commas = require('Module:Addcommas')._add local p = {} -- -- Example quest structure -- name - Name of the quest -- requirements - String list of skills required for the quest completion (see other examples for SCP usage) -- rewards - Table of information in the following format: experience g..." current
- 01:1301:13, 17 October 2024 diff hist 0 Module:Skill table/doc No edit summary current
- 01:1301:13, 17 October 2024 diff hist +3 Module:Skill table No edit summary Tag: Reverted
- 01:1301:13, 17 October 2024 diff hist +20 N Module:Skill pet calc/doc Created page with "{{No documentation}}" current