Jump to content

Template:Value

From Community Wiki | Soulbound: Online


Returns the Sell Value in Gold of one of an item, as a bare number, by reading the data page Template:Value/<item>. Returns 0 when no data page exists.

This is the mechanism that keeps every gold-per-hour figure honest: guides name items, they never hard-code prices. Correct one value here and every guide that uses that item updates.

Examples
  • {{Value|Iron Ore}} → 1
  • {{Value|Not a real item}} → 0
Adding a value

Create Template:Value/<exact item page name> containing only the number (no "Gold", no commas), like this:

1<noinclude>
{{Value data}}
</noinclude>

Returns a bare number so it can be used inside {{#expr:}}. It deliberately adds no tracking category — a missing value is reported where it is displayed instead, by Template:Money maker.