Template:GEPrice
Displays values entered into the Grand Exchange Market Watch pages that can be used to help perform calculations and display prices where the full table might be inappropriate.
Warning: This template cannot be used when programming calculators, as the values contain commas by default. Instead, one must use Template:GEP.<ref name="GEP">See also Template:,, which performs an identical function to Template:GEP, though the latter remains the preferred option.</ref>
Usage
"{{GEPrice|Bones}}
" will yield the value of Bones as recorded on Exchange:Bones (Expression error: Unrecognized punctuation character "[".). Therefore, "{{GEPrice|Blue partyhat}}
" displays "Expression error: Unrecognized punctuation character "["." (with commas)
As mentioned above, this template cannot be used in calculators. The expression parser function cannot process commas, as shown below.
"{{#expr:{{GEPrice|Blue partyhat}}}}
" → "Expression error: Unexpected < operator."<ref>This example exists to show what happens when commas are allowed within expressions.</ref>
You can also multiply the amount of items within the template, by using {{GEPrice|Blue partyhat|5}}
to show Expression error: Unrecognized punctuation character "["., the price of 5 blue partyhats, or {{GEPrice|Blue partyhat|n|5}}
for the same price without the formatting. The template also supports the syntax {{GEPrice|Blue partyhat|yes|5}}
with the second parameter defining that there should be formatting (this will show the same as the example where the second parameter defined the amount, as shown earlier).
See also
- Template:GEItem
- Template:GEP<ref name="GEP" />
- Template:GEPriceUpdate