<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AParseHiscoreData%2Fdoc</id>
	<title>Template:ParseHiscoreData/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AParseHiscoreData%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:ParseHiscoreData/doc&amp;action=history"/>
	<updated>2026-07-17T19:54:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.darkan.org/index.php?title=Template:ParseHiscoreData/doc&amp;diff=52463&amp;oldid=prev</id>
		<title>imported&gt;Dictature at 09:08, 25 June 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:ParseHiscoreData/doc&amp;diff=52463&amp;oldid=prev"/>
		<updated>2012-06-25T09:08:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- The documentation is included as a whole in the template page&lt;br /&gt;
     which often does not show the template itself. Editing the&lt;br /&gt;
     page actually results in editing the actual template rather&lt;br /&gt;
     than the documentation. The templates to achieve a more&lt;br /&gt;
     sensible behaviour are missing from the RuneScape Wiki.&lt;br /&gt;
     As an interim measure, users should use the section edit. --&amp;gt;&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;ParseHiscoreData&amp;#039;&amp;#039;&amp;#039; template can be used to extract chosen skill levels, rank or experience from raw highscore data in the same format as returned from &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://hiscore.runescape.com/index_lite.ws?player=&amp;lt;playername&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
{{t|ParseHiscoreData|hiscore data|skill name|value type}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;hiscore data&amp;#039;&amp;#039; should be a string of number separated with commas and spaces in the format returned by the &amp;#039;&amp;#039;&amp;#039;index_lite.ws&amp;#039;&amp;#039;&amp;#039;. For example, for Zezima, this can be seen [http://hiscore.runescape.com/index_lite.ws?player=Zezima here].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| [[File:Information_icon.svg|left|40px]] Rather than copying the data into each use of ParseHiscoreData, this returned text from the &amp;#039;&amp;#039;&amp;#039;index_lite.ws&amp;#039;&amp;#039;&amp;#039; can be saved in a user&amp;#039;s subpage that then can be included. See examples below.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;skill name&amp;#039;&amp;#039; is the name of the skill to extract the information for. The skill name can be one of the following:&lt;br /&gt;
* A standard skill name, such as &amp;#039;&amp;#039;&amp;#039;attack&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;ranged&amp;#039;&amp;#039;&amp;#039;, etc.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;overall&amp;#039;&amp;#039;&amp;#039; - for overall skill rank, level and xp.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;duel&amp;#039;&amp;#039;&amp;#039; - for [[Duel|Duel Tournament]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;bh&amp;#039;&amp;#039;&amp;#039; - for [[Bounty Hunter]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;bhr&amp;#039;&amp;#039;&amp;#039; - for [[Bounty Hunter|Bounty Hunter Rogue]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;fog&amp;#039;&amp;#039;&amp;#039; - for [[Fist of Guthix]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ma&amp;#039;&amp;#039;&amp;#039; - for [[Mobilising Armies]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;baa&amp;#039;&amp;#039;&amp;#039; - for [[Barbarian Assault|B.A. Attacker]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;bad&amp;#039;&amp;#039;&amp;#039; - for [[Barbarian Assault|B.A. Defender]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;bac&amp;#039;&amp;#039;&amp;#039; - for [[Barbarian Assault|B.A. Collector]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;bah&amp;#039;&amp;#039;&amp;#039; - for [[Barbarian Assault|B.A. Healer]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cw&amp;#039;&amp;#039;&amp;#039; - for [[Castle Wars]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;conq&amp;#039;&amp;#039;&amp;#039; - for [[Conquest]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dom&amp;#039;&amp;#039;&amp;#039; - for [[Dominion Tower]] rank and score.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cru&amp;#039;&amp;#039;&amp;#039; - for [[Crucible]] rank and score.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;value type&amp;#039;&amp;#039; is the type of value to extract.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;#039; - for the skill or minigame rank.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; - for the skill level or minigame score (this is the default).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039; - for the skill experience (does not apply to minigames).&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following template call returns the &amp;#039;&amp;#039;&amp;#039;overall level&amp;#039;&amp;#039;&amp;#039; of a user called Example, using the user&amp;#039;s hiscore data saved in the page &amp;lt;nowiki&amp;gt;[[User:Example/Hiscore Data]]&amp;lt;/nowiki&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{ParseHiscoreData| {{User:Example/Hiscore Data}} | overall}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example shows the &amp;#039;&amp;#039;&amp;#039;number of experience points&amp;#039;&amp;#039;&amp;#039; for the user Example for the &amp;#039;&amp;#039;&amp;#039;Fletching&amp;#039;&amp;#039;&amp;#039; skill:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{ParseHiscoreData| {{User:Example/Hiscore Data}} | fletching | 2}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example shows the &amp;#039;&amp;#039;&amp;#039;Duel Tournament score&amp;#039;&amp;#039;&amp;#039; for the user Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{ParseHiscoreData| {{User:Example/Hiscore Data}} | duel | 1}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example shows the &amp;#039;&amp;#039;&amp;#039;Fist of Guthix rank&amp;#039;&amp;#039;&amp;#039; for the user Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{ParseHiscoreData| {{User:Example/Hiscore Data}} | fog | 0}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating a user&amp;#039;s Hiscore Data pages==&lt;br /&gt;
Users can periodically update their Hiscore Data pages by doing the following:&lt;br /&gt;
# Go to the web page &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://services.runescape.com/m=hiscore/index_lite.ws?player=&amp;lt;playername&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; (where the &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;lt;playername&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; is replaced with the player&amp;#039;s RuneScape username).&lt;br /&gt;
# Copy the contents of the page (e.g. using Ctrl-C).&lt;br /&gt;
# Go to user&amp;#039;s own [[Special:Mypage/Hiscore Data‎|Hiscore Data sub-page]].&lt;br /&gt;
# Edit the Hiscore Data page.&lt;br /&gt;
# Select any existing text in the edit box.&lt;br /&gt;
# Paste in the new data.&lt;br /&gt;
# Save the changes.&lt;br /&gt;
&lt;br /&gt;
All pages making use of the user&amp;#039;s hiscore data should then be automatically updated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:User templates|{{BASEPAGENAME}}]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Dictature</name></author>
	</entry>
</feed>