Jump to content

Template:Money maker

From Community Wiki | Soulbound: Online


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 (or input1perhour) for anything consumed or produced per hour rather than per action — food, repairs, refresh costs.
  • Item values come from Template:Value. Override one with output1value for gold drops, untradeables and quest rewards.
  • sellRate lives on Template:Money making guide/constants.
  • No actions per hour and no profit override means 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 override sets 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 (input1input10, output1output10).

Describes one money-making method and works out its gold per hour.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Modemode

Always write {{{mode|page}}} so the master table can reuse this block.

Stringsuggested
Page titlepage

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 namerequired
Activityactivity

Short name of the method, e.g. Mining iron nodes

Stringrequired
Categorycategory

Gathering, Combat, Artisanal, Dungeons, Contracts or Vendor

Stringsuggested
Skillskill

Main skill used, e.g. Mining

Stringsuggested
Skill levellevel

Level needed, if any

Numberoptional
Locationlocation

Where it is done

Stringsuggested
Intensityintensity

Low, Moderate or High — how much attention it needs

Stringsuggested
Imageimage

File name only, e.g. Iron Ore.png

Fileoptional
Action nameaction

What one repetition is called: node, catch, run, craft, plot

Stringsuggested
Actions per houractions per hour

How many of those you do in an hour. Leave blank if unknown — the guide then asks for one.

Numbersuggested
Gold per actiongold per action

Gold received directly, not via an item

Numberoptional
Profit overrideprofit override

Set the gold per hour directly, for methods that cannot be modelled from items

Numberoptional
Output 1output1

Item received. Slots 1-10 exist.

Page nameoptional
Output 1 quantityoutput1qty

Per action. May be an expression, e.g. 3*(1/64)

Stringoptional
Output 1 valueoutput1value

Override the item's sell value

Numberoptional
Output 1 is per houroutput1perhour

Any value means this quantity is per hour, not per action

Stringoptional
Input 1input1

Item consumed. Slots 1-10 exist.

Page nameoptional
Input 1 quantityinput1qty

Per action. May be an expression.

Stringoptional
Input 1 valueinput1value

Override the item's sell value

Numberoptional
Input 1 is per hourinput1perhour

Any value means this quantity is per hour, not per action

Stringoptional
Requirementsrequirements

Gear, quests, unlocks — free wikitext, bullet lists welcome

Contentoptional
Notesnotes

Anything a reader should know before trying it

Contentoptional