The Full Wiki

More info on Money making guide/Adding/CodingHelp

Money making guide/Adding/CodingHelp: Misc

Advertisements
  

Runescape

Up to date as of February 07, 2010

From the RuneScape Wiki, the wiki for all things RuneScape

Just write down the section your method is under, and the name of your method, what your attempted calculation was (e.g. 500 trout - 500 raw trout)and what your problem is. We'll fix up your coding for you, and try to explain it on your talk page so you don't need us next time.

Unfixed

If anyone fixes any in the above category, move them to fixed

I don't get how to express the expression format for something, say a Yew log, minus the price of a trout, minus the price of a lobster, plus the price of a Coif. Anyone know how I can input so many variables?   Fruit.Smoothie Talk  07:01, 5 December, 2009 (UTC)

I asked the same thing a few days ago, at Forum:Template to add/subtract GEPrices and get a total. You may want to bookmark that page, as Gaz explains it better than I.
The code you're looking for is:
{{formatnum:{{#expr:{{GEPrice|Yew logs}}-{{GEPrice|Trout}}-{{GEPrice|Lobster}}+{{GEPrice|Coif}}}}}}
which would give you
119
Which is correct. Lil Diriz 77 Talk 07:29, December 5, 2009 (UTC)
Does that solve it for ya? Lil Diriz 77 Talk 07:30, December 5, 2009 (UTC)
Don't forget for individual item prices over 1,000 coins you use {{GEPrice|item|n}} to remove the comma (compare {{GEPrice|Dragon bones}} (5,031) with {{GEPrice|Dragon bones|n}} (5031)); this is because #expr: throws a fit when unrecognised symbols (such as commas and square brackets) are used. Quests FTW! Gaz Lloyd Calcs!Awesome 15:58, December 5, 2009 (UTC)

Fixed

Advertisements

This article uses material from the "Money making guide/Adding/CodingHelp" article on the Runescape wiki at Wikia and is licensed under the Creative Commons Attribution-Share Alike License.

Advertisements






Got something to say? Make a comment.
Your name
Your email address
Message