<?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%3ADegrades%2Fdoc</id>
	<title>Template:Degrades/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%3ADegrades%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:Degrades/doc&amp;action=history"/>
	<updated>2026-04-30T20:24:57Z</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:Degrades/doc&amp;diff=35753&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;{{Documentation}} ==Parameters== &lt;pre&gt;{{Degrades|preset|...}}&lt;/pre&gt; ===1=== This parameter selects a preset method of degradation, options for which can be overridden or tweaked. The generic and specific presets are detailed below. ==Named== The following named parameters are broken down into groups by their purpose. ===Behaviour=== ===expenditure=== Details the start of the blurb for how the item expends charges. By default, this is &quot;Once depleted&quot;, unless the item&#039;s ty...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:Degrades/doc&amp;diff=35753&amp;oldid=prev"/>
		<updated>2024-10-16T23:23:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation}} ==Parameters== &amp;lt;pre&amp;gt;{{Degrades|preset|...}}&amp;lt;/pre&amp;gt; ===1=== This parameter selects a preset method of degradation, options for which can be overridden or tweaked. The generic and specific presets are detailed below. ==Named== The following named parameters are broken down into groups by their purpose. ===Behaviour=== ===expenditure=== Details the start of the blurb for how the item expends charges. By default, this is &amp;quot;Once depleted&amp;quot;, unless the item&amp;#039;s ty...&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;
==Parameters==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Degrades|preset|...}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
===1===&lt;br /&gt;
This parameter selects a preset method of degradation, options for which can be overridden or tweaked. The generic and specific presets are detailed below.&lt;br /&gt;
==Named==&lt;br /&gt;
The following named parameters are broken down into groups by their purpose.&lt;br /&gt;
===Behaviour===&lt;br /&gt;
===expenditure===&lt;br /&gt;
Details the start of the blurb for how the item expends charges. By default, this is &amp;quot;Once depleted&amp;quot;, unless the item&amp;#039;s type is &amp;quot;break&amp;quot;, in which case it changes to &amp;quot;Once completely degraded&amp;quot;&lt;br /&gt;
====type====&lt;br /&gt;
Valid inputs are &amp;#039;&amp;#039;break&amp;#039;&amp;#039;, &amp;#039;&amp;#039;revert&amp;#039;&amp;#039;, &amp;#039;&amp;#039;dust&amp;#039;&amp;#039;, &amp;#039;&amp;#039;bonus&amp;#039;&amp;#039;, corresponding to the four main types of degradation behaviour, with the addition of &amp;#039;&amp;#039;bonusCharges&amp;#039;&amp;#039; detailed below.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;break:&amp;#039;&amp;#039;&amp;#039; The equipment breaks and requires repair.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;revert:&amp;#039;&amp;#039;&amp;#039; The equipment reverts to a component when it loses all charge.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;dust:&amp;#039;&amp;#039;&amp;#039; The equipment turns to dust or vanishes when all charges are expended.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;charges:&amp;#039;&amp;#039;&amp;#039; The equipment requires charges to be used.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;bonus:&amp;#039;&amp;#039;&amp;#039; The equipment acts as a charged item but some functionality remains in its depleted state, such as the [[Amulet of glory]] and [[Craw&amp;#039;s bow]]&lt;br /&gt;
====tradeability====&lt;br /&gt;
Input options are &amp;#039;&amp;#039;empty&amp;#039;&amp;#039;, &amp;#039;&amp;#039;full&amp;#039;&amp;#039;, &amp;#039;&amp;#039;fullEmpty&amp;#039;&amp;#039;, &amp;#039;&amp;#039;notCombined&amp;#039;&amp;#039;, &amp;#039;&amp;#039;none&amp;#039;&amp;#039;, corresponding to the four main types of degradation behaviour.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;empty:&amp;#039;&amp;#039;&amp;#039; The equipment can only be traded when completely depleted.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;full:&amp;#039;&amp;#039;&amp;#039; The equipment can only be traded when fully repaired/charged.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;fullEmpty:&amp;#039;&amp;#039;&amp;#039; The equipment can only be traded when either fully repaired/charged or completely depleted.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;notCombined:&amp;#039;&amp;#039;&amp;#039; The equipment cannot be traded whilst it is combined.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;none:&amp;#039;&amp;#039;&amp;#039; Doesn&amp;#039;t display anything about tradeability, and overrides any preset attempting to.&lt;br /&gt;
Tradeability descriptions aren&amp;#039;t given for items where degradation doesn&amp;#039;t affect their charge such as Rings of Recoil (is tradeable regardless of charge), and items such as Arclight (isn&amp;#039;t tradeable in any capacity), as these behaviours fall within the normal game mechanics.&lt;br /&gt;
&lt;br /&gt;
===Revert-specific===&lt;br /&gt;
====component====&lt;br /&gt;
Only relevant if type is &amp;#039;&amp;#039;revert&amp;#039;&amp;#039;, describes the component that the item reverts into, and links to that item.&lt;br /&gt;
====componentText====&lt;br /&gt;
When using a component, componentText can be used to override the text displayed for the component link.&lt;br /&gt;
===Display===&lt;br /&gt;
====text====&lt;br /&gt;
Completely overrides the text for the details.&lt;br /&gt;
====textAppend====&lt;br /&gt;
Appends a new line containing the given text at the end of the details.&lt;br /&gt;
====pic====&lt;br /&gt;
Overrides the picture to the left, will still link to the [[Degradation]] page regardless.&lt;br /&gt;
====plural====&lt;br /&gt;
When value is yes, changes text in the text box to be applicable to be plural, allowing you to place it on a page discussing a group of items that behave identically.&lt;br /&gt;
&lt;br /&gt;
==Demonstrations==&lt;br /&gt;
===Presets===&lt;br /&gt;
Generic presets cover the four primary outlines of degradation.&lt;br /&gt;
&amp;lt;pre&amp;gt;break, dust, revert, charges&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Degrades|break}}&lt;br /&gt;
{{Degrades|dust}}&lt;br /&gt;
{{Degrades|revert}}&lt;br /&gt;
{{Degrades|charges}}&lt;br /&gt;
&lt;br /&gt;
===Specific Presets===&lt;br /&gt;
Generally, specific instances are added for items which share a common source or item type and method of degradation.&lt;br /&gt;
====Crystal====&lt;br /&gt;
&amp;lt;pre&amp;gt;crystalWeapon, crystalArmour, crystalTool, crystalWeapon|expenditure=Once attacks against you deplete its charges&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Degrades|crystalWeapon}}&lt;br /&gt;
{{Degrades|crystalArmour}}&lt;br /&gt;
{{Degrades|crystalTool}}&lt;br /&gt;
&amp;#039;&amp;#039;A special case must be made for the crystal shield.&amp;#039;&amp;#039;&lt;br /&gt;
{{Degrades|crystalWeapon|expenditure=Once attacks against you deplete its charges}}&lt;br /&gt;
====Barrows, Wilderness, Toxic, ToxicHelm====&lt;br /&gt;
&amp;lt;pre&amp;gt;barrows, wilderness, toxic, toxicHelm&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Degrades|barrows}}&lt;br /&gt;
{{Degrades|wilderness}}&lt;br /&gt;
{{Degrades|toxic}}&lt;br /&gt;
{{Degrades|toxicHelm}}&lt;br /&gt;
====Jewellery====&lt;br /&gt;
&amp;lt;pre&amp;gt;jewelleryDust, jewelleryCharges&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Degrades|jewelleryDust}}&lt;br /&gt;
{{Degrades|jewelleryCharges}}&lt;br /&gt;
====Powered Weapon====&lt;br /&gt;
&amp;lt;pre&amp;gt;poweredWeapon&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Degrades|poweredWeapon}}&lt;br /&gt;
&lt;br /&gt;
==Manual Examples==&lt;br /&gt;
===Tentacle Whip===&lt;br /&gt;
Use &amp;quot;revert&amp;quot; as a base and describe the item&amp;#039;s behaviour in more detail.&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Degrades|revert|expenditure=After 10,000 attacks|tradeability=notCombined|component=Kraken tentacle|pic=Kraken tentacle}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Degrades|revert|expenditure=After 10,000 attacks|tradeability=notCombined|component=Kraken tentacle|pic=Kraken tentacle}}&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>