FANDOM


Malline:ExchangeItem on suojattu muokkauksilta.
Tämä johtuu luultavasti siitä, että kyseessä on suosittu sivu, kuva tai malline. Muuttaaksesi sitä tietyllä sivulla, puhu kyseisen sivun keskustelusivulla.

Documentation icon Mallineen dokumentointi[Katso] [muokkaa] [päivitä]

Tämä dokumentaatio tulee sivulta Malline:ExchangeItem/doc.

The ExchangeItem template is used in Exchange pages as part of the Grand Exchange Market Watch. To add a new Exchange item, use Template:Newpage exchange.

Usage

For an example, see Exchange:Bones.

"View" parameter

The "View" parameter is used to help output various information stored in each Exchange page. The parameter may be used to do the following:

  • View=icon - returns the icon of the item.
  • View=price - displays just the price.
  • View=diff - returns the difference in price between the Last value and the Price value, if they have both been entered.
  • View=value - displays just the value of the item.
  • View=limit - returns just the trade limit.
  • View=table - displays a table row containing all relevant price info, used in Template:GEItem.

Examples

  • {{Exchange:Adamant bar|View=icon}} returns Adamant bar.
  • {{Exchange:Adamant bar|View=price}} returns 3.869.
  • {{Exchange:Adamant bar|View=diff}} returns -0.043.
  • {{Exchange:Adamant bar|View=value}} returns 640.
  • {{Exchange:Adamant bar|View=limit}} returns 10.000.

For alchemy values:

  • Low Level Alchemy: {{#expr:floor({{:Exchange:Adamant bar|View=value}}*0.4)}} returns 256.
  • High Level Alchemy: {{#expr:floor({{:Exchange:Adamant bar|View=value}}*0.6)}} returns 384.

See also

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