FANDOM


Template documentation[edit] [purge]
This documentation is transcluded from Template:GEPrice/doc.
Template:GEPrice invokes Module:Exchange using Lua.

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 {{GEP}}.

Warning: This template cannot be used when programming calculators, as the values contain commas by default. Instead, one must use {{GEP}}. See also {{,}}, which performs an identical function to {{GEP}}, though the latter remains the preferred option.

Usage

{{GEPrice|Blue partyhat}} -> 23,682

To lookup multiples of the output price:

{{GEPrice|Blue partyhat|2}} -> 47,364

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 round can be used:

{{GEPrice|Blue partyhat|1/3|round=3}} -> 7,894

See also

Community content is available under CC-BY-SA unless otherwise noted.