wiki

Methods
5
Fields
None

Getting one

wiki

Methods

MethodReturnsDescription
pageUrl(string)stringThe link to the wiki page titled title: wiki:pageUrl("Abyssal whip") is "https://oldschool.runescape.wiki/w/Abyssal%20whip".
searchUrl(string)stringThe link to the wiki's search for text: the page of that title, else the results.
itemUrl(number, string?)stringThe link to an item's wiki page, found by itemId, else by name.
npcUrl(number, string?)stringThe link to an NPC's wiki page, found by npcId, else by name.
dpsCalculatorLink(string, (string?, string?) -> ())()The wiki's DPS calculator, loaded with the logged-in player's worn items, combat levels and buffs (the Wilderness, the Kandarin hard diary,…

Method details

pageUrl

pageUrl: (Wiki, string) -> string

The link to the wiki page titled title: wiki:pageUrl("Abyssal whip") is "https://oldschool.runescape.wiki/w/Abyssal%20whip".

searchUrl

searchUrl: (Wiki, string) -> string

The link to the wiki's search for text: the page of that title, else the results.

itemUrl

itemUrl: (Wiki, number, string?) -> string

The link to an item's wiki page, found by itemId, else by name.

npcUrl

npcUrl: (Wiki, number, string?) -> string

The link to an NPC's wiki page, found by npcId, else by name.