Template:Treasure
Jump to navigation
Jump to search
This template defines the table "Treasure". View table.
This template serializes Treasure items into Cargo data, as well as displaying a customized infobox for the items.
Parameters
Cargo-Stored Values | ||||
---|---|---|---|---|
Parameter | Parameter Type | Accepted Values | Default Value | Notes |
name | String | Any | {{PAGENAME}} |
The name of the item if it differs from the page name. |
type | String |
|
None | Indicates generic parent item type. Primarily used for querying. |
subtype | String |
|
None | Indicates item subtype along with parent. This is the one that is displayed in the type box of the infobox. |
variant | String |
|
regular |
Indicates the item's variant type. Damned items refer to the ghostly green items you get from Ghost Ships and Legend of the Veil, whereas cursed items is primarily used to identify the cursed chests. |
is-quest-item | Boolean |
|
no |
Whether or not the item is used as part of a quest (Tall tale, LOTV, adventure, mystery, etc.). |
company | List of Strings (Delimiter , ) |
|
None | A list of trading companies directly related to the item. For listing companies that buy the item, sell-to should be used instead.
|
reward-min | Integer | Any non-decimal number | None | The minimum price of the treasure upon being sold (In Gold) before emissary bonuses. If the price is static (i.e. does not randomly fluctuate between multiples of the same item), then only use reward-min , and don't define reward-max .
|
reward-max | Integer | Any non-decimal number | None | The maximum price of the treasure upon being sold (In Gold) before emissary bonuses. If the price is static (i.e. does not randomly fluctuate between multiples of the same item), then only use reward-min , and don't define reward-max .
|
reward2-min | Integer | `Any non-decimal number | None | The minimum price of the treasure upon being sold (In Gold) before emissary bonuses if the item is sold to the Merchant Alliance while the player has a commission reward. If the item does not have a commission reward (which is most of the time), then this field does not need to be defined. If the commission reward is static (i.e. does not randomly fluctuate between multiples of the same item), then only use reward2-min , and don't define reward2-max .
|
reward2-max | Integer | Any non-decimal number | None | The maximum price of the treasure upon being sold (In Gold) before emissary bonuses if the item is sold to the Merchant Alliance while the player has a commission reward. If the item does not have a commission reward (which is most of the time), then this field does not need to be defined. If the commission reward is static (i.e. does not randomly fluctuate between multiples of the same item), then only use reward2-min , and don't define reward2-max .
|
reward-d | Integer | Any non-decimal number | None | The price of the treasure upon being sold (In Bilge Rat Doubloons) before emissary bonuses. As there are no Doubloon items that have a fluctuating price, there is no need to define a maximum. |
emissary-value | Integer | Any non-decimal number | None | The base emissary value of the reward upon being sold before any multipliers granted to an Emissary. If this item does not grant emissary value, then leave this field blank rather than setting it to 0. |
emissary-value-max | Integer | Any non-decimal number | None | For edge cases where the base emissary values can vary (such as the Ashen Winds Skull). This is not for indicating the maximum emissary value earned with a maximum emissary flag. In most cases, leave this blank. |
emissary-value2-min | Integer | Any non-decimal number | None | The base emissary value of the reward upon being sold before any multipliers granted to an Emissary when selling an item to the Merchant Alliance under commission. If this item is not commissionable, then leave this field blank. |
emissary-value2-max | Integer | Any non-decimal number | None | For edge cases where the base emissary values can vary (such as the Ashen Winds Skull when sold to the Merchant Alliance as a commissioned item. As of October 28, 2022, an item like this does not exist in the game, and this value is only available as a contingency in case this happens. As such, this field should almost always be blank. |
sell-to | List of Strings (Delimiter , ) |
NPC categories who buy the item (e.g. Hoarders , Madames , Senior Traders, The Servant of the Flame ) |
None | A list of the characters this item is sold to, separated by commas (,). |
base-item-fullname | String | The {{PAGENAME}} value of another item |
{{PAGENAME}} |
The full page name of the base item, if this item is a variant. This does not need to be filled in if the item is its base variant or is a variant where there is no base item like it. |
source | List of Strings (Delimiter ,) | See Below for a list of valid sources. | None | A list of sources for the item. |
The following values only display in the infobox and are not stored in the Cargo database.
Infobox-only Values | ||||
---|---|---|---|---|
Parameter | Parameter Type | Accepted Values | Default Value | Notes |
image | File | The name of an image file. The File: prefix does not need to be included. |
</nowiki>Treasure.png</nowiki> |
By default, the navbox will attempt to display a .png image with the same name as the page. Only use this if the name of the uploaded file differs from the page's name or the file type is different (e.g. .jpg). |
primary-source | String | Any | None | Defines a list of sources for the item to be displayed in the infobox. NOTE: This differs from the source tag, as the items in the source tag are not rendered in the infobox but added to the database. Items included in primary-source Should be a limited list of sources based on where the item is most often found (e.g. Stronghold Skulls from Skeleton Forts, Captain's Skulls from Skeleton Ships, Ashen Winds Skulls from Ashen Lords, etc.). Additionally, the primary-source field is not pre-formatted like source , so formatting can be added as desired.
|
location | String | Any | None | Defines the location(s) of the item, if any. |
region | String | Any | None | Defines the region(s) where the item is found, if any. |
shop | String | Any | None | Defines the shops where the item can be purchased, if any. |
cost | Integer | Any non-decimal number | None | The cost of the item in Gold when purchased. |
related | String | Any | None | Other articles that this is related to. Note that this field is not pre-formatted. |
availability | String | Any | None | Indicates the duration of the item's availability. It is recommended you format this field in this style: Month Date, (Optional Year) - Month Date, Year (e.g. Oct. 16 - Nov. 20, 2019 or Dec. 25, 2019 - January 5, 2020 ).
|
event | String | Any | None | Used to indicate any events this item is related to. |
patch | String | Any | None | Used to indicate a related patch for this item. If properly formatted with the name of the wiki page with the patch notes for this patch (e.g. 1.0.0 ), then the date the patch was released will be automatically displayed alongside the patch number.
|
The following are additional values that the infobox *does* support, but should not be used in most cases. Use with discretion.
Infobox-only Special-Case Values | ||||
---|---|---|---|---|
Parameter | Parameter Type | Accepted Values | Default Value | Notes |
caption | String | Any | None | Adds a caption to the image of the infobox. |
creaturetype | String | Any | None | Defines the creature's type in terms of aggression. Only used for animals. |
map | String | Any | None | Defines the map coordinates where the item is located. |
damage | Integer | Any non-decimal number | Indicates the damage the item deals upon a hit. Only included for weaponised treasures like the Ashen Winds Skull. | |
reloadspeed | String | Any | None | Indicates the reload time of the item, if any. Only included in case weaponised treasures that have reload requirements are introduced. Format in number of seconds to reload, including a decimal if necessary followed by an 's' (e.g. 2s or 1.5s ).
|
attackspeed | String | Any | None | Indicates the amount of time before an item can be used again for attacking. Only included for weaponised items like the Trident of Dark Tides. Format in number of seconds per attack, including a decimal if necessary followed by an 's' (e.g. 2s or 1.5s ).
|
heals | Integer | Any non-decimal number | None | Indicates the amount of health healed upon consuming the item. Only included for food items like Meat and Fish. |
regen | String | Any | None | Indicates the health regen % gained upon consuming the item. Only included for food items like Meat and Fish. Format as a percentage of the regen circle filled, followed by a percent sign (e.g. 25% or 50.5% ).
|
bites | Integer | Any non-decimal number | None | Indicates the number of bites available to the item if it is a food item. Only included for food items like Meat and Fish. |
List of Sources
Note that sources are saved as raw text rather than as a formatted link, as the data is inserted into the Cargo database. Links are only provided in this list for ease of reference. To output a source as a page, surround your query with square brackets like any other link.
Tall Tales
Valid Sources (Tall Tales) | |
---|---|
Source Input | Value Output |
|
Maiden Voyage |
Shores of Gold | |
|
The Shroudbreaker (quest) |
|
The Cursed Rogue |
|
The Legendary Storyteller |
|
Stars of a Thief |
|
Wild Rose |
|
The Art of the Trickster |
|
The Fate of the Morningstar |
|
Revenge of the Morningstar |
|
Shores of Gold (quest) |
Ashen Age | |
|
The Seabound Soul |
|
Heart of Fire (quest) |
A Pirate's Life | |
|
A Pirate's Life (quest) |
|
The Sunken Pearl |
|
Captains of the Damned |
|
Dark Brethren (quest) |
|
Lords of the Sea |
Adventures
Valid Sources (Adventures) | |
---|---|
Source Input | Value Output |
|
Shrouded Islands |
|
Forts of the Forgotten |
|
The Shrouded Deep |
|
Lost Sands |
|
The Forsaken Hunter |
|
A Hunter's Cry |
|
The Siren's Prize |
|
The Herald of the Flame |
|
Return of the Damned |
Voyages
Valid Sources (Voyages) | ||
---|---|---|
Source Input | Value Output | |
|
Ashen Athena's Fortune Voyage | |
|
Ashen Chest Stash Voyage | |
|
Ashen Key Stash Voyage | |
|
Athena's Fortune Voyage | |
|
Athena's Run of Thieves' Haven | |
|
Black Powder Stash | |
|
Cargo Run | |
|
Crews of Rage | |
|
Dark Relic Voyage | |
|
Fate of the Damned Voyage | |
|
Gilded Duel Voyage | |
|
Gilded Merchant Stash Voyage | |
|
Gilded Voyage of Legends | |
|
Legend of the Veil | |
|
Lost Shipment | |
|
Raid Voyage | |
|
Reaper's Grave Voyage | |
|
Skull Stash Voyage | |
|
The Legend of the Sunken Kingdom | |
|
Wayfinder Voyage | |
Emissary Voyages | ||
|
Athena's Fortune Emissary Quest | |
|
Gold Hoarders Emissary Quest | |
|
Merchant Alliance Emissary Quest | |
|
Order of Souls Emissary Quest |
Maps, Notes, and other Parchments
Valid Sources (Maps, Notes, and Other Parchments) | |
---|---|
Source Input | Value Output |
|
Ashen Bounty Map |
|
Ashen Guardian's Notes |
|
Ashen Key Master's Notes |
|
Riddle Map |
|
Skeleton's Orders |
|
Treasure Map |
|
X Marks the Spot Map |
Specific Enemies
Valid Sources (Specific Enemies) | |
---|---|
Source Input | Value Output |
|
Ashen Guardian |
|
Ashen Key Master |
|
Ashen Lord |
|
Emergent Skeleton Captain |
|
Ghost Captain Ship |
|
Ghost Ship |
|
Gold Hoarder |
|
Gunpowder Skeleton |
|
Kraken |
|
Megalodon |
|
Ocean Crawler |
|
Phantom |
|
Siren |
|
Siren Leader |
|
Skeleton |
|
Skeleton Captain |
|
Skeleton Lord |
|
The Burning Blade |
Specific Events
Valid Sources (Specific Events) | |
---|---|
Source Input | Value Output |
|
Ashen Winds (World Event) |
|
Fort of Fortune |
|
Fort of the Damned (raid) |
|
Skeleton Fort |
|
Ghost Fleet |
|
Sea Fort |
|
Skeleton Fleet |
Locational
Valid Sources (Locations) | |
---|---|
Source Input | Value Output |
|
Barrels of Plenty |
|
Beached |
|
Fort of Fortune |
|
Fort of the Damned (raid) |
|
Skeleton Fort |
|
Gold Hoarder Treasure Vault |
|
Island |
|
Molten Sands Fortress |
|
Sea Fort |
|
Shipwreck |
|
Siren Shrine |
|
Siren Treasury |
|
The Arena |
Cursed Mermaid Statues
Cursed Mermaid Statues | |
---|---|
Source Input | Value Output |
|
Cursed Mermaid Statue |
|
Sapphire Cursed Mermaid Statue |
|
Emerald Cursed Mermaid Statue |
|
Ruby Cursed Mermaid Statue |
Valid Sources (Emissaries) | |
---|---|
Source Input | Value Output |
|
Emissary Ship |
|
Athena's Fortune Emissary |
|
Athena's Fortune Emissary Quest |
|
Gold Hoarders Emissary |
|
Gold Hoarders Emissary Quest |
|
Merchant Alliance Emissary |
|
Merchant Alliance Emissary Quest |
|
Order of Souls Emissary |
|
Order of Souls Emissary Quest |
|
Reaper's Bones Emissary |
The above documentation is transcluded from Template:Treasure/doc. (edit | history)