The template fetches the maximum price for an item. It is primarily used in the {{Infoboxitem3}}
template, but can also be used directly, provided correct parameters are employed. It returns the price in integer value, without further formatting. See below for more details.
Parameters
Parameters in the template call are separated with |
. All parameters are required for the template to work as intended.
Example
* {{Maxprice|sell|100|mod_weapon}} {{crowns}} * {{Maxprice|sell|100|mod_armor}} {{crowns}} * {{Maxprice|sell|100|mod_armor, mod_legendary, mod_origin_nilfgaard}} {{crowns}}
Output
Data source
The data material is taken from the economy_tagmodifiers.csv
file. To access this file, it is required to uncook the game files first. The file contains a matrix of values, which represent different factors that affect the final price when Geralt sells or buys items from merchants in the game. This includes the type of item (for example armor, weapons or alchemy ingredients), the type of merchant (for example armorer or blacksmith) and the location of the merchant.
Formulas in the template uses values from the cells marked in green in the below image.
Please click for a larger version.
See also
{{Minprice}}