<?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%3AGEPT%2Fdoc</id>
	<title>Template:GEPT/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%3AGEPT%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:GEPT/doc&amp;action=history"/>
	<updated>2026-06-15T16:06:12Z</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:GEPT/doc&amp;diff=38571&amp;oldid=prev</id>
		<title>Alex at 10:41, 17 October 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:GEPT/doc&amp;diff=38571&amp;oldid=prev"/>
		<updated>2024-10-17T10:41:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:41, 17 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{invokes|Exchange}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{invokes|Exchange}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{t|GEPT}} displays values entered into the [[Grand Exchange Market Watch]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.&lt;/del&gt;pages with GE tax applied to them, that can be used to help perform profit calculations.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{t|GEPT}} displays values entered into the [[Grand Exchange Market Watch]] pages with GE tax applied to them, that can be used to help perform profit calculations.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template is useful primarily in profit calculations because it avoids calculation errors caused by rounding when simply multiplying by {{GETax}}, especially on high quantities of low-cost items. For example, cleaning 1000 [[Grimy guam leaf]] that are bought at {{Coins|{{GEP|Grimy guam leaf|1000}}}}, cleaned and sold at {{Coins|{{GEPT|Guam leaf|1000}}}} would generate a profit of {{Coins|{{GEPT|Guam leaf|1000}}-{{GEP|Grimy guam leaf|1000}}}}. However, if a naive multiplication by {{GETax}} is used to calculate the profit, it is reduced to {{Coins|{{GEP|Guam leaf|1000}}*{{GETax}}-{{GEP|Grimy guam leaf|1000}}}}.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template is useful primarily in profit calculations because it avoids calculation errors caused by rounding when simply multiplying by {{GETax}}, especially on high quantities of low-cost items. For example, cleaning 1000 [[Grimy guam leaf]] that are bought at {{Coins|{{GEP|Grimy guam leaf|1000}}}}, cleaned and sold at {{Coins|{{GEPT|Guam leaf|1000}}}} would generate a profit of {{Coins|{{GEPT|Guam leaf|1000}}-{{GEP|Grimy guam leaf|1000}}}}. However, if a naive multiplication by {{GETax}} is used to calculate the profit, it is reduced to {{Coins|{{GEP|Guam leaf|1000}}*{{GETax}}-{{GEP|Grimy guam leaf|1000}}}}.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Template:GEPT/doc&amp;diff=36362&amp;oldid=prev</id>
		<title>Alex at 23:29, 16 October 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:GEPT/doc&amp;diff=36362&amp;oldid=prev"/>
		<updated>2024-10-16T23:29:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:29, 17 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{invokes|Exchange}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{invokes|Exchange}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{t|GEPT}} displays values entered into the [[Grand Exchange Market Watch]] pages with GE tax applied to them, that can be used to help perform profit calculations.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{t|GEPT}} displays values entered into the [[Grand Exchange Market Watch]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.&lt;/ins&gt;pages with GE tax applied to them, that can be used to help perform profit calculations.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template is useful primarily in profit calculations because it avoids calculation errors caused by rounding when simply multiplying by {{GETax}}, especially on high quantities of low-cost items. For example, cleaning 1000 [[Grimy guam leaf]] that are bought at {{Coins|{{GEP|Grimy guam leaf|1000}}}}, cleaned and sold at {{Coins|{{GEPT|Guam leaf|1000}}}} would generate a profit of {{Coins|{{GEPT|Guam leaf|1000}}-{{GEP|Grimy guam leaf|1000}}}}. However, if a naive multiplication by {{GETax}} is used to calculate the profit, it is reduced to {{Coins|{{GEP|Guam leaf|1000}}*{{GETax}}-{{GEP|Grimy guam leaf|1000}}}}.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template is useful primarily in profit calculations because it avoids calculation errors caused by rounding when simply multiplying by {{GETax}}, especially on high quantities of low-cost items. For example, cleaning 1000 [[Grimy guam leaf]] that are bought at {{Coins|{{GEP|Grimy guam leaf|1000}}}}, cleaned and sold at {{Coins|{{GEPT|Guam leaf|1000}}}} would generate a profit of {{Coins|{{GEPT|Guam leaf|1000}}-{{GEP|Grimy guam leaf|1000}}}}. However, if a naive multiplication by {{GETax}} is used to calculate the profit, it is reduced to {{Coins|{{GEP|Guam leaf|1000}}*{{GETax}}-{{GEP|Grimy guam leaf|1000}}}}.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Template:GEPT/doc&amp;diff=560&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;{{documentation}} {{invokes|Exchange}}  {{t|GEPT}} displays values entered into the Grand Exchange Market Watch pages with GE tax applied to them, that can be used to help perform profit calculations.  This template is useful primarily in profit calculations because it avoids calculation errors caused by rounding when simply multiplying by {{GETax}}, especially on high quantities of low-cost items. For example, cleaning 1000 Grimy guam leaf that are bought at {{C...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:GEPT/doc&amp;diff=560&amp;oldid=prev"/>
		<updated>2024-10-12T01:03:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation}} {{invokes|Exchange}}  {{t|GEPT}} displays values entered into the &lt;a href=&quot;/index.php?title=Grand_Exchange_Market_Watch&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Grand Exchange Market Watch (page does not exist)&quot;&gt;Grand Exchange Market Watch&lt;/a&gt; pages with GE tax applied to them, that can be used to help perform profit calculations.  This template is useful primarily in profit calculations because it avoids calculation errors caused by rounding when simply multiplying by {{GETax}}, especially on high quantities of low-cost items. For example, cleaning 1000 &lt;a href=&quot;/w/Grimy_guam_leaf&quot; class=&quot;mw-redirect&quot; title=&quot;Grimy guam leaf&quot;&gt;Grimy guam leaf&lt;/a&gt; that are bought at {{C...&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;
{{invokes|Exchange}}&lt;br /&gt;
&lt;br /&gt;
{{t|GEPT}} displays values entered into the [[Grand Exchange Market Watch]] pages with GE tax applied to them, that can be used to help perform profit calculations.&lt;br /&gt;
&lt;br /&gt;
This template is useful primarily in profit calculations because it avoids calculation errors caused by rounding when simply multiplying by {{GETax}}, especially on high quantities of low-cost items. For example, cleaning 1000 [[Grimy guam leaf]] that are bought at {{Coins|{{GEP|Grimy guam leaf|1000}}}}, cleaned and sold at {{Coins|{{GEPT|Guam leaf|1000}}}} would generate a profit of {{Coins|{{GEPT|Guam leaf|1000}}-{{GEP|Grimy guam leaf|1000}}}}. However, if a naive multiplication by {{GETax}} is used to calculate the profit, it is reduced to {{Coins|{{GEP|Guam leaf|1000}}*{{GETax}}-{{GEP|Grimy guam leaf|1000}}}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{GEPT|Blue partyhat}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will display as:&lt;br /&gt;
&lt;br /&gt;
{{GEPT|Blue partyhat}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{GEPT|Blue partyhat|5}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will show the taxed price of 5 Blue partyhats: {{GEPT|Blue partyhat|5}}.&lt;br /&gt;
&lt;br /&gt;
To round the output to a specified number of decimal places, use the &amp;lt;code&amp;gt;round&amp;lt;/code&amp;gt; parameter:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{GEPT|Blue partyhat|1.33|round=2}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will display as:&lt;br /&gt;
&lt;br /&gt;
{{GEPT|Blue partyhat|1.33|round=2}}&lt;br /&gt;
&lt;br /&gt;
===Default===&lt;br /&gt;
&lt;br /&gt;
If you specify an item name that does not exist on the Grand Exchange, a script error is thrown. You can set the &amp;lt;code&amp;gt;dflt&amp;lt;/code&amp;gt; to a value that will be returned instead of an error. (NB: if you are looking up prices for a [[:Category:Historical Grand Exchange|historical GE item]], this will return the default before checking if the item is historical.) You could set this to a string to detect the error, or to a number like 0 to allow calculations to continue, ignoring the non-GE item.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{GEPT|Rainbow partyhat|dflt=error}}&lt;br /&gt;
&lt;br /&gt;
{{GEPT|Rainbow partyhat|dflt=0}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{GEPT|Rainbow partyhat|dflt=error}}&lt;br /&gt;
&lt;br /&gt;
{{GEPT|Rainbow partyhat|dflt=0}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Template:Coins]]&lt;br /&gt;
*[[Template:GEItem]]&lt;br /&gt;
*[[Template:GEP]] (same as Template:GEPT but without GE tax applied)&lt;br /&gt;
*[[Template:GEPrice]] (same as Template:GEP but with the commas)&lt;br /&gt;
*[[Template:GEInfo]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Grand Exchange templates|{{PAGENAME}}]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>