<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACombat_level%2Fdoc</id>
	<title>Template:Combat level/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACombat_level%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:Combat_level/doc&amp;action=history"/>
	<updated>2026-04-30T23:44:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Template:Combat_level/doc&amp;diff=35654&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;{{Documentation}}  The &#039;&#039;&#039;combat level&#039;&#039;&#039; template returns the combat level based on the specified combat components.  The formula is 100% accurate. The Combat level description shows the formula used in this template. It contains several non-linear components (various &lt;i&gt;floor&lt;/i&gt; operations), which complicate reverse engineering as different skill levels can still produce the same combat level. The reported error margin in the combat formula can be explained by acc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:Combat_level/doc&amp;diff=35654&amp;oldid=prev"/>
		<updated>2024-10-16T23:21:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation}}  The &amp;#039;&amp;#039;&amp;#039;combat level&amp;#039;&amp;#039;&amp;#039; template returns the combat level based on the specified combat components.  The formula is 100% accurate. The &lt;a href=&quot;/index.php?title=Combat_level&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Combat level (page does not exist)&quot;&gt;Combat level&lt;/a&gt; description shows the formula used in this template. It contains several non-linear components (various &amp;lt;i&amp;gt;floor&amp;lt;/i&amp;gt; operations), which complicate reverse engineering as different skill levels can still produce the same combat level. The reported error margin in the combat formula can be explained by acc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;combat level&amp;#039;&amp;#039;&amp;#039; template returns the combat level based on the specified combat components.  The formula is 100% accurate. The [[Combat level]] description shows the formula used in this template. It contains several non-linear components (various &amp;lt;i&amp;gt;floor&amp;lt;/i&amp;gt; operations), which complicate reverse engineering as different skill levels can still produce the same combat level. The reported error margin in the combat formula can be explained by accidental typing errors in some of the skill level contributions used in the reverse engineering project.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Combat level|&amp;#039;&amp;#039;combat level parameters&amp;#039;&amp;#039;}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
The combat parameters follow the [[Template:User stats]] format. Note that when a parameter is absent, the template will use a default value of 10 for &amp;lt;code&amp;gt;Hitpoints&amp;lt;/code&amp;gt; and 1 for all other skill levels.&lt;br /&gt;
&lt;br /&gt;
An optional &amp;#039;&amp;#039;&amp;#039;DP&amp;#039;&amp;#039;&amp;#039; parameter may also be specified determine the number of decimal places to use for the returned combat level (can be 0, 1, 2 or 3). The default is 0 decimal places.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
The following template call describes a new player without any combat experience. This also are the default values that the template uses when the parameter is absent or misspelled.&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Combat level&lt;br /&gt;
|Attack=1&lt;br /&gt;
|Defence=1&lt;br /&gt;
|Strength=1&lt;br /&gt;
|Hitpoints=10&lt;br /&gt;
|Prayer=1&lt;br /&gt;
|Ranged=1&lt;br /&gt;
|Magic=1&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
The template text above produces the following result:&lt;br /&gt;
{{Combat level&lt;br /&gt;
|Attack=1 &lt;br /&gt;
|Defence=1&lt;br /&gt;
|Strength=1&lt;br /&gt;
|Hitpoints=10&lt;br /&gt;
|Prayer=1&lt;br /&gt;
|Ranged=1&lt;br /&gt;
|Magic=1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The table shows that a starting player will have a combat level of 3. Another example shows a slightly more advanced player:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Combat level|Attack=92|Defence=84|Strength=91|Hitpoints=92|Prayer=73|Ranged=87|Magic=98}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
gives the following result: {{Combat level|Attack=92|Defence=84|Strength=91|Hitpoints=92|Prayer=73|Ranged=87|Magic=98}}&lt;br /&gt;
&lt;br /&gt;
The following example shows the same advanced player but showing the combat level to 2 decimal places:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Combat level|Attack=92|Defence=84|Strength=91|Hitpoints=92|Prayer=73|Ranged=87|Magic=98|DP=2}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
gives the following result: {{Combat level|Attack=92|Defence=84|Strength=91|Hitpoints=92|Prayer=73|Ranged=87|Magic=98|DP=2}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Template:User stats]]&lt;br /&gt;
*[[Template:Parse user stats]]&lt;br /&gt;
*[[Template:ParseHiscoreData]]&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>