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)

16 October 2024

  • 01:3001:30, 16 October 2024 diff hist +1,660 N Template:Poll/docCreated page with "{{documentation}} :''Not to be confused with Template:Old School RuneScape Wiki/Poll'' This template provides formatting for poll results for use in Old School Content Poll pages. This automatically ignores answer votes for percentage calculation for answers with the names Skip question and Skip. ==Usage== This template can be used by entering the following code. <pre> {{Poll |Question <-- The question text on the poll --> |AnswerX <-- The answer text on the..."
  • 01:3001:30, 16 October 2024 diff hist +79 N Template:PollCreated page with "<includeonly>{{#invoke:Poll|main}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 01:2901:29, 16 October 2024 diff hist +20 N Module:Poll/docCreated page with "{{No_documentation}}"
  • 01:2901:29, 16 October 2024 diff hist +3,131 N Module:PollCreated page with "local p = {} local params = require('Module:Paramtest') local commas = require('Module:Addcommas')._add local math = math function p.main(frame) local args = frame:getParent().args local pollQuestion = args.Question local note = args.Note local totalVotes = findTotalVotes(args) local answers = answerList(args) local wrapper = mw.html.create('div'):addClass('pollbox'):addClass('pollquestion'):done() local tbl = mw.html.create('table'):done() tbl:tag('caption')..." current
  • 01:2801:28, 16 October 2024 diff hist +5,696 N Template:Level up table/docCreated page with "{{Documentation}} {{invokes|Level up table}} The '''Level up table''' template is used in the various skill level-up tables (for example, Attack/Level up table) to create a table that details abilities gained with every level, both by members and by all players. These unlocks are described as for free-to-play and members. ==Usage== <pre>{{Level up table |freeplayall = The abilities unlocked upon every level by both free-players and members. |membersall = Th..." current
  • 01:2801:28, 16 October 2024 diff hist +95 N Template:Level up tableCreated page with "<includeonly>{{#invoke:Level up table|make_table}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 01:2801:28, 16 October 2024 diff hist +20 N Module:Level up table/docCreated page with "{{No_documentation}}"
  • 01:2801:28, 16 October 2024 diff hist +2,390 N Module:Level up tableCreated page with "-- -- Implements Template:Level up table -- local p = {} local params = require('Module:Paramtest') function p._make_table(args) local max_level = 99 local ret = mw.html.create('table') :addClass('wikitable') :addClass('level-up-table') :css( 'width', '100%' ) :tag('tr') :tag('th') :wikitext('Level') :done() :tag('th') :attr('colspan','2') :wikitext('New abilities') :done() :done() :done() local has_freeplay..." current
  • 01:2601:26, 16 October 2024 diff hist +2,016 N Module:ScaledExperience/docCreated page with "{{Documentation}} == Usage == Helper module for experience calculations where each action's experience scales linearly with level, such as the genie lamps. == Functions == ===Determine Actions Needed=== These functions return the number of actions required to reach a target goal. The only difference between these four functions is optional usage of a starting or target level instead of an experience value. <pre>xp_to_xp_actions(startingExp, targetExp, scalar, base, inte..." current
  • 01:2601:26, 16 October 2024 diff hist +3,880 N Module:ScaledExperienceCreated page with "local Experience = require( 'Module:Experience' ) local p = {} -- Determine the XP an action gives at a given level function p.action_xp_at_level(level, scalar, base, intercept) return base+(math.max(level-intercept,0)*scalar) end function p.xp_to_xp_actions(startingExp, targetExp, scalar, base, intercept) -- Accumulated exp starts off at whatever amount of exp the player has local accExp = startingExp local accActions = 0 -- Since the amount of exp depends on t..." current
  • 01:2401:24, 16 October 2024 diff hist +174 N Module:Experience/dataunrCreated page with "local ret = {} local total = 0 ret[1] = 0 for i = 1, 125 do total = math.floor(total + i + 300 * math.pow(2, i / 7)) ret[i + 1] = math.floor(total/4) end return ret" current
  • 01:2401:24, 16 October 2024 diff hist +173 N Module:Experience/dataCreated page with "local ret = {} local total = 0 ret[1] = 0 for i = 1, 98 do total = math.floor(total + i + 300 * math.pow(2, i / 7)) ret[i + 1] = math.floor(total/4) end return ret" current
  • 01:2401:24, 16 October 2024 diff hist +20 N Module:Experience/docCreated page with "{{No_documentation}}"
  • 01:2401:24, 16 October 2024 diff hist +7,240 N Module:ExperienceCreated page with "local p = {} local commas_strip = require('Module:Addcommas')._strip local XPAtLevel = mw.loadData('Module:Experience/data') local XPAtLevelUnr = mw.loadData('Module:Experience/dataunr') -- -- Returns lowest needed XP to have required level -- Template:XP -- function p._xp_at_level(level) level = tonumber(level) -- calling tonumber on a string returns nil if not level then return "You must pass numbers as arguments" end -- Level range is 1 to 99 if level..." current
  • 01:2401:24, 16 October 2024 diff hist +20 N Module:Lamp calculator/docCreated page with "{{No_documentation}}"
  • 01:2401:24, 16 October 2024 diff hist +2,954 N Module:Lamp calculatorCreated page with "local p = {} local experience = require('Module:Experience') local paramTest = require('Module:Paramtest') local scaledExperience = require('Module:ScaledExperience') local scp = require('Module:SCP')._main local addCommas = require('Module:Addcommas')._add function p.buildTable(skill, itemData) local ret = '' for i, itemTable in ipairs(itemData) do local tabl = mw.html.create('table'):addClass('wikitable'):done() tabl:tag('tr'):tag('th'):wikitext('[[File:'.. it..." current
  • 01:2301:23, 16 October 2024 diff hist +20 N Module:NPCQuery/docCreated page with "{{No_documentation}}"
  • 01:2201:22, 16 October 2024 diff hist +1,954 N Module:NPCQueryCreated page with "-- <pre> --local p = {} --local yesno = require('Module:Yesno') --local params = require('Module:Paramtest') --local commas = require('Module:Addcommas') --function p.main(frame) -- local args = frame:getParent().args -- -- Params and defaults -- local name = params.default_to(args.Monster,'monster') -- -- -- Table row -- --return name -- --return name1 .. ' : ' .. name2 .. ' : ' .. '\n' -- return p._main(name) --end local NPCs = {} function NPCs.NPCisMember(name)..." current
  • 01:2201:22, 16 October 2024 diff hist +20 N Module:ItemDropsLineUpdated/docCreated page with "{{No_documentation}}"
  • 01:2201:22, 16 October 2024 diff hist +4,691 N Module:ItemDropsLineUpdatedCreated page with "-- <pre> local p = {} local yesno = require('Module:Yesno') local params = require('Module:Paramtest') local commas = require('Module:Addcommas') local npcs = require('Module:NPCQuery') local raritybg = { ['always'] = '#AFEEEE', ['common'] = '#56E156', ['uncommon'] = '#FFED4C', ['rare'] = '#FF863C', ['very rare'] = '#FF6262', ['random'] = '#FFA3FF', ['varies'] = '#FFA3FF', ['discontinued'] = '#DBFF4C' } local raritysort = { ['always'] = '1', ['common'] = '2'..." current
  • 01:2101:21, 16 October 2024 diff hist +779 N Template:Instructions/docCreated page with "{{Documentation}} {{Invokes|Instructions}} ==About== This template is used in conjunction with Template:Recipe to create a list of instructions on how to create a specific item. This can be used for anything, but it was built specifically for a subsection under the recipe template. ==Usage== <pre> {{Instructions |step# = Test <!-- The step for the instruction line --> }} </pre> ===Example=== <pre> {{Instructions |step1 = Find the bacon. |step2 = Eat the bacon...." current
  • 01:2001:20, 16 October 2024 diff hist +87 N Template:InstructionsCreated page with "<onlyinclude>{{#invoke:Instructions|main}}</onlyinclude><noinclude>{{/doc}}</noinclude>" current
  • 01:2001:20, 16 October 2024 diff hist +20 N Module:Instructions/docCreated page with "{{No_documentation}}"
  • 01:2001:20, 16 October 2024 diff hist +866 N Module:InstructionsCreated page with "local p = {} local params = require('Module:Paramtest') function p.main(frame) local args = frame:getParent().args local steps_list = {} for i = 1, 10, 1 do local step = args['step'..i] if step and params.has_content(step) then local num = i local stepDetail = step table.insert(steps_list, { num = num, step = stepDetail } ) end end local function make_step_row(num, step) return mw.html.create('tr') :tag('td'):css({['text-align'] =..." current
  • 01:1901:19, 16 October 2024 diff hist +952 N Template:Infobox Shop/docCreated page with "{{Documentation}} {{Standard infobox parameters}} ==Parameters== ===name=== The name of the shop as seen in the shop interface. ===image=== An image of the shop location. ===release=== The relase date of the shop. ===update=== The update post associated with the release date. ===removal=== (Optional) The removal date of the shop. ===removalupdate=== (Optional) The update post associated with the removal date. ===members=== Whether the shop is members only. ===ic..." current
  • 01:1901:19, 16 October 2024 diff hist +60 N Template:Infobox ShopCreated page with "{{#invoke:Infobox Shop|main}}<noinclude>{{/doc}}</noinclude>"
  • 01:1901:19, 16 October 2024 diff hist +20 N Module:Infobox Shop/docCreated page with "{{No_documentation}}"
  • 01:1801:18, 16 October 2024 diff hist +4,809 N Module:Infobox ShopCreated page with "-------------------------- -- Module for Template:Infobox Shop -------------------------- local p = {} local onmain = require('Module:Mainonly').on_main local paramtest = require('Module:Paramtest') local infobox = require('Module:Infobox') function p.main(frame) local args = frame:getParent().args local ret = infobox.new(args) ret:defineParams{ { name = 'name', func = 'name' }, { name = 'image', func = 'has_content' }, { name = 'release', func = 'release..." current
  • 01:1701:17, 16 October 2024 diff hist +1,733 N Template:Infobox NPC/docCreated page with "{{Documentation}} {{invokes|Infobox NPC}} {{Standard infobox parameters}} ==Parameters== ===name=== The exact name of the NPC. ===image=== An image of the NPC. ===release=== The release date of the NPC. ===update=== The update post associated with the release date. ===removal=== (Optional) The date the NPC was removed. ===removalupdate=== (Optional) The update post associated with the removal date. ===aka=== (Optional) Alternate names for the NPC. ===level=== (O..." current
  • 01:1701:17, 16 October 2024 diff hist +59 N Template:Infobox NPCCreated page with "{{#invoke:Infobox NPC|main}}<noinclude>{{/doc}}</noinclude>" current
  • 01:1601:16, 16 October 2024 diff hist +20 N Module:Infobox NPC/docCreated page with "{{No_documentation}}"
  • 01:1601:16, 16 October 2024 diff hist +7,437 N Module:Infobox NPCCreated page with "-------------------------- -- Module for Template:Infobox NPC ------------------------ local p = {} local onmain = require('Module:Mainonly').on_main local paramtest = require('Module:Paramtest') local infobox = require('Module:Infobox') function p.main(frame) local args = frame:getParent().args local ret = infobox.new(args) ret:defineParams{ { name = 'name', func = 'name' }, { name = 'image', func = 'image' }, { name = 'image_smw', func = { name = image_..."
  • 01:1501:15, 16 October 2024 diff hist +1,522 N Template:Infobox Music/docCreated page with "{{Documentation}} ==Parameters== ===name=== The name of the music track. ===number=== (Optional) The track number when ordered by release date. ===file=== The filename for the audio file, for example "Adventure.ogg". ===release=== The release date of the music track. ===update=== The update post associated with the release date. ===members=== Whether the music track is members only. ===location=== The location where the music track plays. ===hint=== The unlock hi..." current
  • 01:1501:15, 16 October 2024 diff hist +2,223 N Template:Infobox MusicCreated page with "{| class="infobox {{parentitle|{{{name}}}}} infobox-music" |- ! class="infobox-header" colspan="5" | {{#if:{{{name|}}}|[[Music track title::{{{name}}}]]|{{PAGENAME}}}} {{#if:{{{number|}}}|<span style="font-size: 80%;">(#[[Music number::{{{number}}}]])</span>}} |- | class="infobox-padding" colspan="5" | |- | class="infobox-full-width-content infobox-media-player" colspan="5" | {{#if:{{{file|}}}|{{{file}}}|Please add an audio sample!}} |- | class="infobo..."
  • 01:1501:15, 16 October 2024 diff hist +67 N Module:Infobox Music/docCreated page with "{{Documentation}} Category handler for Template:Infobox Music." current
  • 01:1501:15, 16 October 2024 diff hist +4,750 N Module:Infobox MusicCreated page with "-- <pre> -- This will likely be expanded when other infoboxes are converted to Lua -- For now, it will just be a categories handler local p = {} local onmain = require('Module:Mainonly').on_main local yesno = require('Module:Yesno') local empty = require('Module:Paramtest').is_empty local composers = { ['ian t'] = 'Ian Taylor', ['grace d'] = 'Grace Docksey', ['adam b'] = 'Adam Bond', ['stephen l'] = 'Stephen Lord', ['jed s'] = 'Jed Sanderson', ['adam r'] = 'Adam..." current
  • 01:1401:14, 16 October 2024 diff hist +20 N Module:Get drop info/docCreated page with "{{No_documentation}}"
  • 01:0901:09, 16 October 2024 diff hist +1,253 N Template:Quest reward scroll/docCreated page with "{{documentation}} This template allows you to create a custom-made quest reward scroll. The quest name, reward, quest points and image can be customised. ==Usage== <pre> {{Quest reward scroll |image=<!-- image, preferably 75x75px and without link, e.g. 75x75px|link= --> |quest=<!-- quest name --> |reward=<!-- List of rewards. Whitespace enters do work. --> |qp=<!-- Total quest points after quest --> }} </pre> Note that the <code>qp</co..." current
  • 01:0901:09, 16 October 2024 diff hist +724 N Template:Quest reward scrollCreated page with "<div style="width: 488px; height: 320px; margin: 0 auto; position: relative;"> <span style="position: absolute;">link=</span> <span style="position:absolute; top: 125px; left: 65px; image-rendering: pixelated;">{{{image|75x75px|link=}}}</span> <div style="padding-top: 86px; text-align: center; font-family: runescape; font-size: 16px; color: #37242b; white-space: pre-wrap; line-height: 17px;"> <div sty..." current
  • 01:0701:07, 16 October 2024 diff hist +8,499 N Template:Looting bag/docCreated page with "{{documentation}} This template provides basic formatting to display the contents of a looting bag. ==Usage== This template can be used by entering the following onto a relevant page. <pre>{{Looting bag|align=right |Item1 |Item2 |Item3 |Item4 |Item5 |Item6 |Item7 |Item8 |Item9 |Item10 |Item11 |Item12 |Item13 |Item14 |Item15 |Item16 |Item17 |Item18 |Item19 |Item20 |Item21 |Item22 |Item23 |Item24 |Item25 |Item26 |Item27 |Item28 }}</pre> To specify an amount for a stacka..." current
  • 01:0701:07, 16 October 2024 diff hist +75 N Template:Looting bagCreated page with "{{#invoke:Inventory|main|bgType=lootingbag}}<noinclude>{{/doc}}</noinclude>" current
  • 01:0401:04, 16 October 2024 diff hist +7,844 N Template:Equipment/docCreated page with "{{documentation}} The '''Equipment''' template mimics the in-game display of equipped items. ==Usage== <pre> {{Equipment|align=left/center/right |buttons = "yes" to show equipment interface buttons (defaults "no" if omitted) |stats = "yes" to show equipment stats (defaults "no" if omitted) |head = Head slot item |cape = Cape slot item |neck = Neck slot item |ammo = Ammo slot item |ammoquantity = Optional: Item quantity |ammo2 = Optional: Second ammo slot item (for use w..." current
  • 01:0401:04, 16 October 2024 diff hist +66 N Template:EquipmentCreated page with "{{#invoke:Equipment|main}}<noinclude>{{clear}}{{/doc}}</noinclude>" current
  • 01:0401:04, 16 October 2024 diff hist +51 N Module:Equipment/docCreated page with "{{documentation}} Module for Template:Equipment" current
  • 01:0301:03, 16 October 2024 diff hist +9,210 N Module:EquipmentCreated page with "-- <pre>Sandbox for testing stuff. Infoked by User:Joeytje50/Module -- Current module being tested: Module:Equipment local p = {} local hasc = require('Module:Paramtest').has_content local itemstats = require('Module:FetchItemStats') local yesno = require('Module:Yesno') local lang = mw.language.getContentLanguage() local GEPrice = require('Module:Exchange')._price -- Parse item string and check if GIF icons are allowed local function parseItem(ret, itemString, eq..." current
  • 01:0301:03, 16 October 2024 diff hist +8,671 N Template:DropsLine/docCreated page with "{{Documentation}} {{ToC|right}} The '''DropsLine''' templates are used to list a monster's drops. Three templates are used to form the drop logs: * {{T|DropsTableHead}} - Contains table headers for the top of the drop table * {{T|DropsLine}} - Template for all of the individual drop lines * {{T|DropsTableBottom}} - Contains table footers for the bottom of the drop table ==Predefined and alternate templates== Several predefined templates have been made to assist with s..." current
  • 01:0201:02, 16 October 2024 diff hist +241 N Template:DropsLineCreated page with "<includeonly>{{#if:{{{namenotes|}}}{{{quantitynotes|}}}{{{raritynotes|}}}{{{version|}}}|{{var|_refs_used_|true}}}}{{#invoke:DropsLine|main|dtype=combat|version={{#var:Version}}|smw={{#var:_smw}}}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 01:0201:02, 16 October 2024 diff hist +12,443 N Template:DropsLineSkill/docCreated page with "{{Documentation}} The '''DropsLineSkill''' templates are used to list drops from various skills. Drops tables should use the following 3 templates: * {{T|DropsTableHead}} - Contains table headers for the top of the drop table * {{T|DropsLineSkill}} - Template for all of the individual drop lines * {{T|DropsTableBottom}} - Contains table footers for the bottom of the drop table See related templates: * {{T|DropsLine}} for monster drops * {{T|DropsLineReward}} for reward..." current
  • 01:0201:02, 16 October 2024 diff hist +240 N Template:DropsLineSkillCreated page with "<includeonly>{{#if:{{{namenotes|}}}{{{quantitynotes|}}}{{{raritynotes|}}}|{{var|_refs_used_|true}}}}{{#invoke:DropsLine|main|dtype={{lc:{{{skill|}}}}}|version={{#var:Version}}|smw={{#var:_smw}}}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 01:0101:01, 16 October 2024 diff hist +13,381 N Template:DropsLineReward/docCreated page with "{{Documentation}} The '''DropsLineReward''' templates are used to list rewards from sources such as from event items, caskets, and the like. It uses the same backend Module as {{T|DropsLine}} (for monster drops). Three templates are used to form the drop logs: * {{T|DropsTableHead}} - Contains table headers for the top of the drop table * {{T|DropsLineReward}} - Template for all of the individual drop lines * {{T|DropsTableBottom}} - Contains table footers for the botto..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)