FANDOM


To add information to any subpage of the money making guide, please follow these guidelines.

CodingEdit

Adding pricesEdit

To add a price to a description, use the following code:

{{GEPrice|Item name}}

For example, writing "Air runes sell for {{GEPrice|Air rune}} coins each." produces "Air runes sell for 20 coins each." This is important as the price shown on the page will update whenever the Exchange page for air runes is updated.

Calculating profitsEdit

Note: {{Effectiveness ... and {{Effectiveness Range ... automatically calculate the profit value/range. This is for adding, for example, a profit per item number to the description.

It is recommended that the profit values specified are not simply numbers typed in to the page, but rather calculations that take into account current Grand Exchange prices.

For example, if a player determined that in one hour, they could purchase 150 iron ores and 300 coals and smelt them into steel bars, the profit per hour for that task would be the selling price minus the initial cost, or
150*[steel bar] - 150*[iron ore] - 300*[coal]

To perform such a calculation inside a wiki page, use the {{#expr:operator. For this example, the calculation would look like this:

{{#expr: ( 150*{{GEPrice|Steel_bar}} - 150*{{GEPrice|Iron_ore}} - 300*{{GEPrice|Coal}} ) }}

Don't get hung up on all the squiggly brackets and parentheses, look at the actual text and you can see it's pretty straight-forward:

#expr: 150*GEPrice|Steel_bar - 150*GEPrice|Iron_ore - 300*GEPrice|Coal

and then it's just a matter of sticking all the brackets and parentheses in the right places.

If you are performing calculations with a price that exceeds 1,000 coins for a single item, such as dragon bones, you will need to use {{GEPrice|Item name|n}} or {{GEP|Item name}} so that the template will not read the comma and return an error.

The trickiest part is making sure that all the parentheses and brackets match up correctly - if not, when you preview the page, it will display an error message in big red text. If this happens, try splitting the expression onto multiple lines so you can see whether all the brackets & parentheses have an exact match:

{{#expr:
 (
 150*{{GEPrice|Steel_bar}} - 150*{{GEPrice|Iron_ore}} - 300*{{GEPrice|Coal}}
 )
}}

Once you have the calculation working correctly, make it look good by rounding it off and inserting commas.

RoundingEdit

To round the profit value, first decide how much rounding you wish to do in order to end up with two "significant figures". What this means is that you only want everything in the number after the first two digits to be all zeroes. For example, if the profit value was calculated as 131,247 coins/hour, you want everything after the first two digits (the "1" and the "3") to be zeroes, so the final displayed value should be 130,000 coins/hour. To make this happen, count the number of digits that you wish to turn into zeroes (in this example, that's 4 digits to turn into zeroes) and then insert the text "round -4" just before the final }} in your expression. The example above would look like this:

{{#expr: ( 150*{{GEPrice|Steel_bar}} - 150*{{GEPrice|Iron_ore}} - 300*{{GEPrice|Coal}} ) round -4 }}

If you only want to turn the last 3 digits into zeroes, you would of course type "round -3".

Inserting commasEdit

Once you have a nicely rounded profit value, it's time to insert the commas. This is easy; simply insert {{formatnum:before your expression, and then a final }} after your expression (brackets and parentheses always have to match). So the final expression in our steel-smithing example would be:

{{formatnum: {{#expr: ( 150*{{GEPrice|Steel_bar}} - 150*{{GEPrice|Iron_ore}} - 300*{{GEPrice|Coal}} ) round -4}} }}

Writing styleEdit

Second person tense ("you") is acceptable in this guide, but is not the best method to use. Do not use abbreviations (such as "ea" for "each" or "lvl" for "level" or "gp" for "coins") and do not add abbreviations to denominations of currency (i.e. "k" or "m").

Use these examples as a guide when adding information:

  • Unacceptable: "One should craft nature runes 4 300ea."
  • Bad: "You should craft nature runes for 300ea."
  • Bad: "The player should craft nature runes for 300ea."
  • Acceptable: "Craft nature runes for 300 coins each."
  • Good: "Nature runes, which you can now craft, sell for 300 coins each."
  • Very good: "Players may craft Nature Runes for 300 coins each."

Note: The previous example was, "Nature runes may be crafted for 300 coins each." This contains passive voice which any editor should avoid if possible (unless one does not know the subject). Passive voice occurs whenever the subject cannot be found within the sentence -- the subject of the example was a player. However, when "you" is the subject, the subject may be omitted; this, for example, is a proper sentence, "Buy 10,000 Nature runes."

When adding additional ideas, please keep these on a neutral point of view; this means no personal opinions (i.e. "Green dragons suck for money"). Also, please remember to not sign articles, and keep your username or your clan's name out of the article. (e.g. no "I, player X, member of clan Y, can confirm this method is, in fact, the best ever." Thanks.) Refer to the sub-page's talk page to discuss the actual numbers in a method.