Changes

m
Text replacement - "e.g.," to "''e.g.'',"
Line 1: Line 1:  
[[Template:Qualityprice|Qualityprice]] displays a table of the sell prices for a requested item for all item qualities.  Each sell price is shown with the image icon and a superimposed quality star (see [[Template:Quality]]).  It intentionally does not show the money icon so as to not clutter the page with multiple icons.
 
[[Template:Qualityprice|Qualityprice]] displays a table of the sell prices for a requested item for all item qualities.  Each sell price is shown with the image icon and a superimposed quality star (see [[Template:Quality]]).  It intentionally does not show the money icon so as to not clutter the page with multiple icons.
   −
In order for the values to be calculated correctly, the input value should always be the item base cost.  If other factors should be included (e.g., professions that increase the price), those factors should be specified using the <samp>prof_mult</samp> parameter.
+
In order for the values to be calculated correctly, the input value should always be the item base cost.  If other factors should be included (''e.g.'', professions that increase the price), those factors should be specified using the <samp>prof_mult</samp> parameter.
    
For variable price items (Wine, Juice, Pickles, Jelly, Roe, Aged Roe, Honey, etc.)<ref name="items"/>, this template also allows the item base price to be automatically calculated from the source item price.
 
For variable price items (Wine, Juice, Pickles, Jelly, Roe, Aged Roe, Honey, etc.)<ref name="items"/>, this template also allows the item base price to be automatically calculated from the source item price.
Line 35: Line 35:  
** First unnamed parameter, required.
 
** First unnamed parameter, required.
 
** Name of item being displayed. There should be a corresponding image named <samp>File:item_name.png</samp>.
 
** Name of item being displayed. There should be a corresponding image named <samp>File:item_name.png</samp>.
** On non-english wikis this should normally be the '''english''' item_name.  Even if there is a language-specific item image (e.g., [[:File:Large Milk FR.png]] in French), it should not be necessary to alter the image name ([[Template:Quality]] automatically handles all variants of milk image names).
+
** On non-english wikis this should normally be the '''english''' item_name.  Even if there is a language-specific item image (''e.g.'', [[:File:Large Milk FR.png]] in French), it should not be necessary to alter the image name ([[Template:Quality]] automatically handles all variants of milk image names).
 
** Note that there must be no spaces following the item_name -- the "|" symbol must come immediately afterwards, or the template will fail (due to quirks of how mediawiki templates process arguments)
 
** Note that there must be no spaces following the item_name -- the "|" symbol must come immediately afterwards, or the template will fail (due to quirks of how mediawiki templates process arguments)
   Line 45: Line 45:     
* '''prof_mult=''mult'''''
 
* '''prof_mult=''mult'''''
** Any other multipliers (e.g., profession price bonuses) that should be included in the calculated price.  Default value is 1.
+
** Any other multipliers (''e.g.'', profession price bonuses) that should be included in the calculated price.  Default value is 1.
 
** This value is always ignored (<samp>prof_mult</samp> is forced to be 1) for Oil and Coffee, to ensure that the Artisan Profession bonus is not accidentally displayed for these items. This allows oil to be shown in multi-item infobox displays alongside other artisan goods without any special handling elsewhere.
 
** This value is always ignored (<samp>prof_mult</samp> is forced to be 1) for Oil and Coffee, to ensure that the Artisan Profession bonus is not accidentally displayed for these items. This allows oil to be shown in multi-item infobox displays alongside other artisan goods without any special handling elsewhere.
   Line 57: Line 57:     
* '''srcprice=''price'''''
 
* '''srcprice=''price'''''
** The base price of the source item (e.g., vegetable, fruit, flower, or fish) used to create the displayed item.
+
** The base price of the source item (''e.g.'', vegetable, fruit, flower, or fish) used to create the displayed item.
 
** Only relevant if <samp>auto</samp> is set, and the displayed item is one whose price depends upon the source item (Wine, Juice, Pickles, Jelly, Roe, Aged Roe, Honey, etc.)<ref name="items"/>.  In which case, the item base price will be automatically derived from <samp>srcrprice</samp>.
 
** Only relevant if <samp>auto</samp> is set, and the displayed item is one whose price depends upon the source item (Wine, Juice, Pickles, Jelly, Roe, Aged Roe, Honey, etc.)<ref name="items"/>.  In which case, the item base price will be automatically derived from <samp>srcrprice</samp>.
 
** For example, to display the price of Salmonberry Wine, set <samp>srcrprice=5</samp>.
 
** For example, to display the price of Salmonberry Wine, set <samp>srcrprice=5</samp>.
105,831

edits