<?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%3AGEPrice%2Fdoc</id>
	<title>Template:GEPrice/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%3AGEPrice%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:GEPrice/doc&amp;action=history"/>
	<updated>2026-04-30T08:49:42Z</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:GEPrice/doc&amp;diff=570&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;{{Documentation}} {{invokes|Exchange}}  This template displays the prices of items with comma formatting, generally for simple templates using tables. For more complicated templates that use a price as part of a calculation, see {{T|GEP}}.  &#039;&#039;&#039;&lt;span style=&quot;color:red&quot;&gt;Warning&lt;/span&gt;:&#039;&#039;&#039; This template cannot be used when programming calculators, as the values contain commas by default. Instead, one must use {{T|GEP}}. See also {{T|,}}, which performs an identical function...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:GEPrice/doc&amp;diff=570&amp;oldid=prev"/>
		<updated>2024-10-12T01:07:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation}} {{invokes|Exchange}}  This template displays the prices of items with comma formatting, generally for simple templates using tables. For more complicated templates that use a price as part of a calculation, see {{T|GEP}}.  &amp;#039;&amp;#039;&amp;#039;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Warning&amp;lt;/span&amp;gt;:&amp;#039;&amp;#039;&amp;#039; This template cannot be used when programming calculators, as the values contain commas by default. Instead, one must use {{T|GEP}}. See also {{T|,}}, which performs an identical function...&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;
This template displays the prices of items with comma formatting, generally for simple templates using tables. For more complicated templates that use a price as part of a calculation, see {{T|GEP}}.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Warning&amp;lt;/span&amp;gt;:&amp;#039;&amp;#039;&amp;#039; This template cannot be used when programming calculators, as the values contain commas by default. Instead, one must use {{T|GEP}}. See also {{T|,}}, which performs an identical function to {{T|GEP}}, though the latter remains the preferred option.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
{{T|GEPrice|Blue partyhat}} -&amp;gt; {{GEPrice|Blue partyhat}}&lt;br /&gt;
&lt;br /&gt;
To lookup multiples of the output price:&lt;br /&gt;
&lt;br /&gt;
{{T|GEPrice|Blue partyhat|2}} -&amp;gt; {{GEPrice|Blue partyhat|2}}&lt;br /&gt;
&lt;br /&gt;
Sometimes, the multiple used can be a fraction or float number, e.g. 1.33, which often produces long decimals. To make this more friendly to readers, the &amp;lt;code&amp;gt;round&amp;lt;/code&amp;gt; can be used:&lt;br /&gt;
&lt;br /&gt;
{{T|GEPrice|Blue partyhat|1/3|&amp;lt;nowiki&amp;gt;round=3&amp;lt;/nowiki&amp;gt;}} -&amp;gt; {{GEPrice|Blue partyhat|1/3|round=3}}&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;
{{GEPrice|Rainbow partyhat|dflt=error}}&lt;br /&gt;
&lt;br /&gt;
{{GEPrice|Rainbow partyhat|dflt=0}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{GEPrice|Rainbow partyhat|dflt=error}}&lt;br /&gt;
&lt;br /&gt;
{{GEPrice|Rainbow partyhat|dflt=0}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Template:GEItem]]&lt;br /&gt;
* [[Template:GEP]]&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>