Template:SeedPackValue

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:57, 16 October 2024 (Created page with "<includeonly>{{#invoke:SeedPackValue|main|table=No}}</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:SeedPackValue/doc. [edit] [history] [purge]
Template:SeedPackValue invokes function main in Module:SeedPackValue using Lua.

The SeedPackValue template outputs the profit of seed packs as a number.

Usage

Basic usage

{{SeedPackValue|1}}

OR

{{SeedPackValue|easy}}

The first parameter must be used to specify either which difficulty or which tier of seed pack to display, either easy, medium, hard, or a number 1 through 5.

Optional other parameters

{{SeedPackValue|1|spiritseed=Yes|hespori=Yes}}

If spiritseed=Yes, the profit will also include the profit from trading in all spirit seeds to Guildmaster Jane for tier 5 seed packs, including the spirit seeds from those packs.

If hespori=Yes, the profit will also include the profit from planting and defeating Hespori, using it's average drop value.

Example

{{SeedPackValue|2|spiritseed=Yes|hespori=Yes}}

Lua error in Module:SeedPackValue at line 220: SMW query failed to find seed pack drops.

Quick-copy

{{SeedPackValue||spiritseed=|hespori=}}

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Outputs the profit seed packs, optionally including spirit seeds and/or hespori seeds

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Seed pack difficulty or tier1

Either the difficulty of the Farming contract, or the individual tier of seed pack that can be rolled. Numbers 1–5, or easy, medium, or hard

Example
easy
Stringrequired
Spirit seedspiritseed

Include trading in spirit seeds in the profit calculations

Default
No
Example
Yes
Auto value
Yes
Booleanoptional
Hespori seedhespori

Include killing hespori grown from hespori seeds in the profit calculations

Default
No
Example
Yes
Auto value
Yes
Booleanoptional