Template:Money maker
The gold-per-hour engine. One call per guide page describes an activity; the
template works out the profit and renders it three different ways depending on
mode:
mode |
Renders |
|---|---|
page (default) |
The full box, the input/output tables and the requirements — what a reader sees on the guide page. |
row |
A single row for the Money making guide table. |
profit |
Just the number, for use inside other templates. |
How to use it
Wrap the call in <onlyinclude> and pass mode
through, so the guide page and the master table read the same figures:
<onlyinclude>{{Money maker
| mode = {{{mode|page}}}
| page = Money making guide/Mining iron nodes
| activity = Mining iron nodes
| category = Gathering
| skill = Mining
| level = 1
| location = [[Neo-Tilus]]
| intensity = Low
| action = node
| actions per hour =
| output1 = Iron Ore
| output1qty = 3
}}</onlyinclude>
The maths
profit per hour = ( Σ output quantity × sell value ) × sellRate
+ gold per action × actions per hour
− ( Σ input quantity × sell value )
- Quantities may be expressions — write a drop rate as the sum it is, e.g.
output3qty = 3*(1/64). A typo renders as 0, it never breaks the table. - Per-action by default. Add
output1perhour = y(orinput1perhour) for anything consumed or produced per hour rather than per action — food, repairs, refresh costs. - Item values come from Template:Value. Override one with
output1valuefor gold drops, untradeables and quest rewards. sellRatelives on Template:Money making guide/constants.- No
actions per hourand noprofit overridemeans no profit — the page shows "no rate yet", the table shows an em dash, and the page joins Category:Money makers missing a rate. That is the intended state for a new guide: the structure is right and the number is an open invitation. profit overridesets the figure directly, for methods that cannot be modelled from items. It categorises into Category:Money makers with a manual profit.
Ten input slots and ten output slots exist (input1…input10,
output1…output10).
Describes one money-making method and works out its gold per hour.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Mode | mode | Always write {{{mode|page}}} so the master table can reuse this block. | String | suggested |
| Page title | page | Full title of this guide page, e.g. Money making guide/Fishing schools. Needed because the master table renders this block from another page. | Page name | required |
| Activity | activity | Short name of the method, e.g. Mining iron nodes | String | required |
| Category | category | Gathering, Combat, Artisanal, Dungeons, Contracts or Vendor | String | suggested |
| Skill | skill | Main skill used, e.g. Mining | String | suggested |
| Skill level | level | Level needed, if any | Number | optional |
| Location | location | Where it is done | String | suggested |
| Intensity | intensity | Low, Moderate or High — how much attention it needs | String | suggested |
| Image | image | File name only, e.g. Iron Ore.png | File | optional |
| Action name | action | What one repetition is called: node, catch, run, craft, plot | String | suggested |
| Actions per hour | actions per hour | How many of those you do in an hour. Leave blank if unknown — the guide then asks for one. | Number | suggested |
| Gold per action | gold per action | Gold received directly, not via an item | Number | optional |
| Profit override | profit override | Set the gold per hour directly, for methods that cannot be modelled from items | Number | optional |
| Output 1 | output1 | Item received. Slots 1-10 exist. | Page name | optional |
| Output 1 quantity | output1qty | Per action. May be an expression, e.g. 3*(1/64) | String | optional |
| Output 1 value | output1value | Override the item's sell value | Number | optional |
| Output 1 is per hour | output1perhour | Any value means this quantity is per hour, not per action | String | optional |
| Input 1 | input1 | Item consumed. Slots 1-10 exist. | Page name | optional |
| Input 1 quantity | input1qty | Per action. May be an expression. | String | optional |
| Input 1 value | input1value | Override the item's sell value | Number | optional |
| Input 1 is per hour | input1perhour | Any value means this quantity is per hour, not per action | String | optional |
| Requirements | requirements | Gear, quests, unlocks — free wikitext, bullet lists welcome | Content | optional |
| Notes | notes | Anything a reader should know before trying it | Content | optional |