Template:Effectiveness Range/doc

From Darkan
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Effectiveness Range.
It contains usage information, categories, and other content that is not part of the original template page.

Description

See Template:Effectiveness

Usage

{{Effectiveness_Range
|buy    = value of items bought, no commas, brackets not required
|sell   = value of items sold, no commas, brackets not required
|min_amount = minimum amount of items processed per hour, no commas
|max_amount = maximum amount of items processed per hour, no commas
|fixed_cost = costs incurred that are not dependent on # of items (if not specified, defaults to zero)
}}

Examples

Method Code used Output
Fishing for crayfish (current price Expression error: Unrecognized punctuation character "[". coins each).
{{Effectiveness_Range
|buy=0
|sell={{GEPrice|Raw crayfish|n}}
|min_amount=410
|max_amount=520}}
*****
Expression error: Unexpected < operator. to Expression error: Unexpected < operator.
Fishing for crayfish, boat fare is 500 coins each way.
{{Effectiveness_Range
|buy=0
|sell={{GEPrice|Raw crayfish|n}}
|min_amount=410
|max_amount=520
|fixed_cost=1000}}
*****
Expression error: Unexpected < operator. to Expression error: Unexpected < operator.

Notes

  • If using Template:GEPrice, the |n parameter must be used (i.e. {{GEPrice|item|n}}) for items worth 1,000 coins or more (as this removes the comma). If worth less than 1,000, |n should still be included incase the item does reach 1,000 coins or more in the future.
  • This is designed for use in a table, but can be used alone.
  • Please see here for discussing changes to the table.