Esittää syötettyjä arvoja Grand Exchange Market Watchin avulla.
Huom: Älä käytä tätä mallinetta kun ohjelmoit, sen sijaan käytä mallinetta Template:GEP. Katso myös Template:,, joka muodostaa funktion mallineelle Template:GEP.
Käyttö
"{{GEPrice|Bones}}
" will yield the value of Bones as recorded on Exchange:Bones (258). Therefore, "{{GEPrice|Blue partyhat}}
" displays "2 147 483 647" (with commas)
Kuten mainuttu, mallinetta ei voi käyttää laskimissa. Funktio ei voi tuottaa pisteitä;
Tämä esimerkki näyttää mitä käy:
"{{#expr:{{GEPrice|Blue partyhat}}}}
" → "Expression error: Unrecognised punctuation character ","."
Virheen voi ohittaa siirtämällä pisteet pois käyttämällä {{,}}, jota myös käytetään {{coins}}. Esimerkki:
"{{#expr:{{,|{{GEPrice|Blue partyhat}}}}}}
" → "2147483647"
"{{coins|{{GEPrice|Blue partyhat}} + 5,000}}
" → " 2 147 483 652"
You can also multiply the amount of items within the template, by using {{GEPrice|Blue partyhat|5}}
to show 10 737 418 235, 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).