Template:Maxprice/doc

The template fetches the maximum price for an item. It is primarily used in the 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.

Data source
The data material is taken from the  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.