User contributions for Alex
Jump to navigation
Jump to search
15 October 2024
- 19:2219:22, 15 October 2024 diff hist +2,548 N Module:LibraryUtil Created page with "-- <nowiki> local libraryUtil = require( 'libraryUtil' ) -- libraryUtil is a standard scribunto module, the following commented out code is just to show what is inside it. Documentation about these functions can be found at https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#libraryUtil --[=[ local libraryUtil = {} function libraryUtil.checkType( name, argIdx, arg, expectType, nilOk ) if arg == nil and nilOk then return end if type( arg ) ~= ex..." current
- 19:2219:22, 15 October 2024 diff hist +25,251 N Module:Chart data/doc Created page with "{{documentation}} Helps create the json to generate charts using [https://www.chartjs.org/ Chart.js] through MediaWiki:Gadget-Charts-core.js. {{Helper module|name = Chart data |fname1 = _main( args ) |ftype1 = table/chart |fuse1 = Turns a table/chart object into a json string. |fname2 = <nowiki>convertToXYFormat( ys, [xs|{}] )</nowiki> |ftype2 = table, table |fuse2 = Converts the <code>ys</code> array into an array of <code>{x = n, y = y[n]}</co..." current
- 19:2219:22, 15 October 2024 diff hist +28,833 N Module:Chart data Created page with "-- <nowiki> ---@class chart local chart = {} ---@class dataSet local dataSet = {} local libraryUtil = require( 'Module:libraryUtil' ) local rgba = require( 'Module:Rgba' ) local isEmpty = require( 'Module:Paramtest' ).is_empty local arr = require( 'Module:Array' ) ---@alias xyData table<string, number> ---@alias xyDataSet xyData[] ---@alias dataArr number[] ---@alias options_t table<string, string|number|options_t> ---@param val any ---@param default any ---@return a..." current
- 19:2019:20, 15 October 2024 diff hist +4,015 N Template:Bestiarytable/doc Created page with "{{documentation}} {{invokes|Bestiary}} This template renders a bestiary table for monsters belonging to a certain level group. __TOC__ ==Usage== {{T|Bestiarytable|fromlevel=X|tolevel=Y|levelsort=yes/no|mems=All/Members/F2P}} ==Examples== {{T|Bestiarytable|fromlevel=1|tolevel=1|levelselect=yes}} {{Bestiarytable|fromlevel=1|tolevel=1|levelselect=yes}} {{T|Bestiarytable|fromletter=A|toletter=A|levelselect=no|levelsort=no}} {{Bestiarytable|fromletter=A|toletter=A|leve..." current
- 19:2019:20, 15 October 2024 diff hist +83 N Template:Bestiarytable Created page with "<includeonly>{{#invoke:Bestiary|main}}</includeonly><noinclude>{{/doc}}</noinclude>" current
- 19:2019:20, 15 October 2024 diff hist +20 N Module:Bestiary/doc Created page with "{{No_documentation}}"
- 19:2019:20, 15 October 2024 diff hist +15,473 N Module:Bestiary Created page with "require('strict') local p = {} local yesno = require('Module:Yesno') local pt = require('Module:Paramtest') local arr = require('Module:Array') local pagelisttools = require('Module:PageListTools') local pageswithcats = pagelisttools.pageswithcats local smwstats = {} -- Formats a table header function p.header(tbl, verbose) local tr = tbl:tag('tr') :tag('th'):attr('colspan', '2'):wikitext('Monster'):done() :tag('th'):wikitext('Members'):done()..." current
- 18:5918:59, 15 October 2024 diff hist +4,055 N Template:FloorNumber/doc Created page with "{{Documentation}} The '''FloorNumber''' template outputs a textual floor reference, using the recommended British style; it takes an input of a <code>uk</code> parameter with a British floor numbering convention. A note is also provided to explain the floor reference to the reader when hovered over. ==Usage== ===Basic usage=== <pre> {{FloorNumber|uk=UK floor}} </pre> The <code>uk</code> parameter must be used to specify which f..." current
- 18:5918:59, 15 October 2024 diff hist +121 N Template:FloorNumber Created page with "<includeonly>{{#invoke:FloorNumber|main}}</includeonly><noinclude>{{/doc}}Category:Transclusion templates</noinclude>"
- 18:5818:58, 15 October 2024 diff hist +20 N Module:FloorNumber/doc Created page with "{{No_documentation}}"
- 18:5818:58, 15 October 2024 diff hist +2,144 N Module:FloorNumber Created page with "local ordinal = require('Module:Ordinal')._main local yn = require('Module:Yesno') local p = {} function p.main(frame) return p._main(frame:getParent().args) end function p._main(args) local nohelp = yn(args.nohelp) local caps = yn(args.caps) local flr = tonumber(args.uk) -- prevent people from using anything but the main syntax for consistency across the wiki. Big red errors should make stuff clear. assert(flr, "Missing parameter `uk`") -- prevent unnamed para..."
- 18:5718:57, 15 October 2024 diff hist +20 N Module:Ordinal/doc Created page with "{{No_documentation}}"
- 18:5518:55, 15 October 2024 diff hist +393 N Template:Year category/doc Created page with "{{documentation}} {{invokes|Update}} This template is for formatting update year categories, such as Category:2015 updates. ==Usage== <pre>{{Year category}}</pre> The template will attempt to find the year from the page title. If it fails, the first parameter can be used as an override. <pre>{{Year category|year}}</pre> <includeonly>Category:Transclusion templates</includeonly>" current
- 18:5518:55, 15 October 2024 diff hist +85 N Template:Year category Created page with "<includeonly>{{#invoke:Update|year_cat}}</includeonly><noinclude>{{/doc}}</noinclude>" current
- 18:5418:54, 15 October 2024 diff hist +288 N Template:Year dpl/day Created page with "<includeonly>{{#dpl: |category = {{PAGENAME}} updates |namespace = Update |category = {{{1}}} |noresultsheader=<nowiki> </nowiki> |format = \n* [[²{#replace:{{{1}}}¦updates}²]],\n** ²{UD¦1=%TITLE%}²,, }}</includeonly><noinclude>{{Year dpl/doc}}Category:DPL templates</noinclude>" current
- 18:5418:54, 15 October 2024 diff hist +279 N Template:Year dpl/month Created page with "<includeonly>{{#dpl: |category={{{1}}} |namespace = Category |ordermethod=sortkey |order=descending |format=<nowiki> </nowiki>\n== ²{#replace:{{{1}}}¦updates}² ==\n,²{Year dpl/day¦%TITLE%}²,, }}</includeonly><noinclude>{{Year dpl/doc}}Category:DPL templates</noinclude>" current
- 18:5418:54, 15 October 2024 diff hist +242 N Template:Year dpl/count Created page with "<includeonly>{{#dpl: |categoryregexp=\d{1,2} {{{1}}} |category={{PAGENAME}} updates |namespace = Update |format=,,, |resultsheader=1 |noresultsheader=0 |count=2 }}</includeonly><noinclude>{{Year dpl/doc}}Category:DPL templates</noinclude>" current
- 18:5318:53, 15 October 2024 diff hist +1,576 N Template:Year dpl/doc Created page with "{{documentation|Template:Year dpl}} This template generates 'year' pages, such as 2015, using DPL. ==Usage== <pre>{{Year dpl}}</pre> This template will attempt to use the PAGENAME as the year to find. There is currently no way to override this. ==Structure== The DPL calls function as follows: # Year dpl initiates, gathering all categories of Category:Updates by month, and passing each in turn to Year dpl/count..."
- 18:5318:53, 15 October 2024 diff hist +81 N Template:Year dpl Created page with "<includeonly>{{#invoke:Update|year}}</includeonly><noinclude>{{/doc}}</noinclude>" current
- 17:5717:57, 15 October 2024 diff hist +2,265 N Template:Update/doc Created page with "{{documentation}} {{invokes|Update}} This template displays an notification stating the update pages copyrighted by Jagex. ==Usage== This template can be used by entering the following onto a relevant update article. {{t|Update|<nowiki>date=|<rev=>|category=|<link=>|<time=></nowiki>}} ===date=== This required parameter accepts the date. It should not be linked and can be in any format accepted by [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time #..." current
- 17:5717:57, 15 October 2024 diff hist +98 N Template:Update Created page with "<noinclude>{{external|rs|rsc}}</noinclude>{{#invoke:Update|update}}<noinclude>{{/doc}}</noinclude>" current
- 17:5717:57, 15 October 2024 diff hist +932 N Template:Patch Notes/doc Created page with "{{documentation}} {{invokes|Update}} This template displays a copyright notice that the article has patch notes that are Jagex's property. ==Usage== This template can be used by entering the following onto a relevant patch note article. It automatically adds Category:Patch Notes to the article. <pre>{{Patch Notes|date=|rev=}}</pre> ===date=== This required parameter accepts the date. It should not be linked and can be in any format accepted by [https://www.mediaw..." current
- 17:5617:56, 15 October 2024 diff hist +93 N Template:Patch Notes Created page with "<includeonly>{{#invoke:Update|patchnotes}}</includeonly><noinclude></div>{{/doc}}</noinclude>" current
- 17:5617:56, 15 October 2024 diff hist +250 N Template:Date page dpl.default/doc Created page with "{{Documentation}} This template is used by the DPL call in Template:Date page. It is intentionally blank. See Template:Date page dpl for more information. <includeonly>Category:DPL templatesCategory:Formatting templates</includeonly>"
- 17:5617:56, 15 October 2024 diff hist +19 N Template:Date page dpl.default Created page with "<noinclude>{{/doc}}" current
- 17:5517:55, 15 October 2024 diff hist +633 N Template:Date page/doc Created page with "{{documentation}} This template is a DPL call to collect and format all update pages with a specific date. It uses Template:Date page dpl (based on Module:Update) and Template:Date page dpl.default to do so. In the case of a date featuring no historic updates, no output will be shown if the first parameter is left blank (ie. date pages), or "... Nothing interesting happened" will show if the first parameter is set. ==Usage== <pre>{{Date page}}</pre> The te..."
- 17:5517:55, 15 October 2024 diff hist +546 N Template:Date page Created page with "<includeonly>{{#vardefine:datedpl|{{#dpl: |category = {{{1|{{PAGENAME}}}}} updates |uses = Template:Update¦Template:Patch Notes |ordermethod = sortkey |order = descending |include = {Update¦Date page dpl},{Patch Notes¦Date page dpl} |format = ,\n* ,, }}}}{{#ifexpr:{{#len:{{#var:datedpl}}}} > 100 |{{#var:datedpl}} |{{#if:{{{1|}}}|* ... Nothing interesting happened.|{{#var:datedpl}}}} }}{{mainonly|{{#iferror:{{#time:j F|{{PAGENAME}}}}||Category:{{PAGENAME}} updates|..." current
- 17:5517:55, 15 October 2024 diff hist +518 N Template:Date page dpl/doc Created page with "{{documentation}} {{invokes|Update}} This template is used to format the lines of the DPL call of Template:Date page. It uses the same parameters as Template:Update and Template:Patch Notes. Template:Date page dpl.default is called instead, if the template is not found. Example intended use: <pre> uses = Template:Update,Template:Patch Notes include = {Update|Date page dpl},{Patch Notes|Date page dpl}</pre> <includeonly>Category:DPL templatesCa..." current
- 17:5517:55, 15 October 2024 diff hist +84 N Template:Date page dpl Created page with "<includeonly>{{#invoke:Update|datedpl}}</includeonly><noinclude>{{/doc}}</noinclude>" current
- 17:5417:54, 15 October 2024 diff hist +405 N Template:Date category/doc Created page with "{{documentation}} {{invokes|Update}} This template is for formatting update date categories, such as Category:28 November updates. ==Usage== <pre>{{Date category}}</pre> The template will attempt to find the date from the page title. If it fails, the first parameter can be used as an override. <pre>{{Date category|day month}}</pre> <includeonly>Category:Transclusion templates</includeonly>" current
- 17:5417:54, 15 October 2024 diff hist +85 N Template:Date category Created page with "<includeonly>{{#invoke:Update|date_cat}}</includeonly><noinclude>{{/doc}}</noinclude>" current
- 17:5417:54, 15 October 2024 diff hist +908 N Template:Parentitle/doc Created page with "{{documentation}} This template is used to determine if the <tt>no-parenthesis-style</tt> class is to be added to a page, in order to suppress the styling applied to parentheses in article titles. See rsw:Forum:Two visual changes for more information. ==Usage== <pre>{{parentitle|parameter to check}}</pre> The template checks the parameter against the pagename. If they are the same, or if the parameter is empty, the class is added, otherwise nothing is added. The..." current
- 17:5317:53, 15 October 2024 diff hist +163 N Template:Parentitle Created page with "{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|{{#replace:{{#replace:{{PAGENAME}}|'|'}}|&|&}}|no-parenthesis-style|}}|no-parenthesis-style}}<noinclude>{{/doc}}</noinclude>" current
- 17:5317:53, 15 October 2024 diff hist +495 N Template:Parentitle override/doc Created page with "{{documentation}} This template is used to override styling of parentheses in page titles. ==Usage== To simply prevent the styling, use: <pre>{{Parentitle override}}</pre> To provide your own, new title, the optional parameters can be used:<pre>{{Parentitle override|Normal part of title|styled part of title}}</pre> For example:<pre>{{Parentitle override|Dragonhide body (t)|(blue)}}</pre> ==See also== * Template:Parentitle <includeonly>Category:Formatting templ..." current
- 17:5317:53, 15 October 2024 diff hist +180 N Template:Parentitle override Created page with "<span class="no-parenthesis-style"></span>{{#if:{{{1|}}}|{{DISPLAYTITLE:{{{1}}} {{#if:{{{2|}}}|<span class="title-parenthesis">{{{2}}}</span>|}}}}|}}<noinclude>{{/doc}}</noinclude>" current
- 17:4617:46, 15 October 2024 diff hist +1,132 N Template:Woodcutting info/doc Created page with "{{Documentation}} This template displays skill information for Woodcutting sources and resources. ==Usage== <pre> {{Woodcutting info |name = Name of the log/tree |level = Woodcutting level required |xp = Woodcutting XP given |tree = (Optional) Link to the tree article. Only include this line on log articles, not tree articles. |tool = Required tool, such as Axe |time = Respawn time for the tree }} </pre> '''Note:''' Other than these parameters, this template also..." current
- 17:4617:46, 15 October 2024 diff hist +89 N Template:Woodcutting info Created page with "{{#invoke:Skill info|main|Woodcutting}}{{reflist|group=i}}<noinclude>{{/doc}}</noinclude>" current
- 17:4617:46, 15 October 2024 diff hist +1,068 N Template:Thieving info/doc Created page with "{{Documentation}} This template displays skill information for Thieving. ==Usage== <pre> {{Thieving info |name = Name of the thievable entity |level = Thieving level required |xp = Thieving XP given |xpnote = (Optional) a note for the xp given (e.g. for experience on failure) |type = One of Pickpocket, Stall, Chest, Door |tool = (Optional) tool needed, such as Blackjack |time = (required for stalls, optional otherwise) respawn time for the thieving resource, if app..." current
- 17:4517:45, 15 October 2024 diff hist +86 N Template:Thieving info Created page with "{{#invoke:Skill info|main|Thieving}}{{reflist|group=i}}<noinclude>{{/doc}}</noinclude>" current
- 17:4517:45, 15 October 2024 diff hist +2,866 N Template:Prayer info/doc Created page with "{{Documentation}} This template displays skill information for Prayer. ==Usage== <pre> {{Prayer info |name = Name of the item or monster |version = (Optional) Which version of the item or monster this applies to (only applicable for pages with multiple versions) |level = Prayer level required |xp = Prayer XP given |bonecrusher = (Bones only, optional) Set to no to remove bonecrusher experience (e.g. for long/curved bones) |xpnote = (Optional) a note for the xp given (e..."
- 17:4417:44, 15 October 2024 diff hist +232 N Template:Prayer info Created page with "{{#invoke:Skill info|main|Prayer}}{{reflist|group=i}}<includeonly>{{Mainonly|{{#switch:{{{type|}}} |bone|bones|bonemeal|fossil = {{Ctg|Bones}} |ashe|ashes = {{Ctg|Demonic ashes}} }}}}</includeonly><noinclude>{{/doc}}</noinclude>" current
- 17:4417:44, 15 October 2024 diff hist +1,179 N Template:Mining info/doc Created page with "{{Documentation}} This template displays skill information for Mining sources and resources. ==Usage== <pre> {{Mining info |name = Name of the rock |version = (Optional) The version of the object (e.g. vein / rock) |level = Mining level required |xp = Mining XP given |rock = (Optional) Link to the rock article. Only include this line on ore articles, not rock articles. |tool = Required tool, such as Pickaxe |time = Respawn time for the rock }} </pre> '''Note:''' O..." current
- 17:4417:44, 15 October 2024 diff hist +136 N Template:Mining info Created page with "{{#invoke:Skill info|main|Mining}}{{reflist|group=i}}{{#if:{{{rock|}}}||{{Mainonly|Category:Rocks}}}}<noinclude>{{/doc}}</noinclude>" current
- 17:4417:44, 15 October 2024 diff hist +1,271 N Template:Hunter info/doc Created page with "{{Documentation}} This template displays skill information for Hunter NPCs. ==Usage== <pre> {{Hunter info |name = Name of the NPC |level = Hunter level required |xp = Hunter XP given |wildxp = (Implings only) Hunter XP for catching implings in the wild (only applies if 'impling' is in the lowercase-transformed name parameter) |trap = Trap needed, or "No" if no trap is needed. Use plink, such as {{plink|Bird snare}}. |bait = (Optional) Bait used for the trap, if applica..." current
- 17:4317:43, 15 October 2024 diff hist +84 N Template:Hunter info Created page with "{{#invoke:Skill info|main|Hunter}}{{reflist|group=i}}<noinclude>{{/doc}}</noinclude>" current
- 17:4317:43, 15 October 2024 diff hist +1,350 N Template:Fishing info/doc Created page with "{{Documentation}} This template displays skill information for Fishing spots and fish. ==Usage== <pre> {{Fishing info |name = Name of the fish or fishing spot |level = Mininum Fishing level required |xp = Fishing XP given, or Varies if multiple |spot = (Optional) Link to the fishing spot article. Only include on fish articles, not fishing spot articles. |tool = Link to the required tool, or No if no tool required. Format like {{plink|Tool}} |bait = Bait required to use..." current
- 17:4317:43, 15 October 2024 diff hist +85 N Template:Fishing info Created page with "{{#invoke:Skill info|main|Fishing}}{{reflist|group=i}}<noinclude>{{/doc}}</noinclude>" current
- 17:4217:42, 15 October 2024 diff hist +3,524 N Template:Firemaking info/doc Created page with "{{Documentation}} This template displays skill information for Firemaking-related items or objects. ==Usage== <pre> {{Firemaking info |name = Name of the feature |version = (Optional) The version this applies to |level = Firemaking level needed |xp = Firemaking xp given |bowlevel = (Logs only) Firemaking level needed for Barbarian firemaking with a bow |pyrelevel = (Logs only) Firemaking level needed for Barbarian funeral pyres |craftxp = (Logs only) Crafting experienc..."
- 17:4217:42, 15 October 2024 diff hist +88 N Template:Firemaking info Created page with "{{#invoke:Skill info|main|Firemaking}}{{reflist|group=i}}<noinclude>{{/doc}}</noinclude>" current
- 17:4217:42, 15 October 2024 diff hist +1,099 N Template:Agility info/doc Created page with "{{Documentation}} :''This template makes use of Template:Skill info.'' This template displays skill information for Agility obstacles and shortcuts. ==Usage== <pre> {{Agility info |name = Name of the obstacle |version = (Optional) The version this box applies to |level = Agility level needed |xp = Agility XP given |failxp = Agility XP given on failure |xpnote = (Optional) a note for the xp given |course = (Optional) a link to the agility course, if applicable |type..." current