Line 63: |
Line 63: |
| | | |
| * '''image = ''image_name''''' | | * '''image = ''image_name''''' |
− | ** Name of image(s) to display in infobox. Default is <tt>page_name</tt>.png | + | ** Name of image(s) to display in infobox. Default is <samp>page_name</samp>.png |
− | *** On non-English wikis, default value is <tt>eng</tt>.png | + | *** On non-English wikis, default value is <samp>eng</samp>.png |
− | ** If more than one image should be displayed, multiple image names can be provided, separated by commas. For example, use <tt>image=Egg, Brown Egg</tt> to display [[File:Egg.png|32px]][[File:Brown_Egg.png|32px]]. | + | ** If more than one image should be displayed, multiple image names can be provided, separated by commas. For example, use <samp>image=Egg, Brown Egg</samp> to display [[File:Egg.png|32px]][[File:Brown_Egg.png|32px]]. |
| ** The image names should include the extension (.jpg, .gif, etc) if the images are not in .png format; otherwise the extension is optional and .png will automatically be appended | | ** The image names should include the extension (.jpg, .gif, etc) if the images are not in .png format; otherwise the extension is optional and .png will automatically be appended |
| | | |
Line 85: |
Line 85: |
| ** Base edibility of the item, as extracted from [[Modding:Object data|ObjectInformation.xnb]] | | ** Base edibility of the item, as extracted from [[Modding:Object data|ObjectInformation.xnb]] |
| ** See [[Template:Edibility]] for details | | ** See [[Template:Edibility]] for details |
− | ** For inedible items, specify <tt>edibility=-300</tt> or <tt>edibility=inedible</tt>. Or if it is an item that nobody would ever expect to be able to eat, omit the line entirely (to remove the section from the infobox) | + | ** For inedible items, specify <samp>edibility=-300</samp> or <samp>edibility=inedible</samp>. Or if it is an item that nobody would ever expect to be able to eat, omit the line entirely (to remove the section from the infobox) |
| | | |
| * '''sellprice = ''sellprice''''' | | * '''sellprice = ''sellprice''''' |
| ** Base price of the item, as extracted from [[Modding:Object data|ObjectInformation.xnb]] | | ** Base price of the item, as extracted from [[Modding:Object data|ObjectInformation.xnb]] |
− | ** Use <tt>profession</tt> to list all relevant price bonuses | + | ** Use <samp>profession</samp> to list all relevant price bonuses |
| | | |
| * '''type = fruit, vegetable''' | | * '''type = fruit, vegetable''' |
Line 96: |
Line 96: |
| | | |
| * '''quality = ''values''''' | | * '''quality = ''values''''' |
− | ** A list of quality values (Normal, Silver, Gold, Iridium) that are valid for this item. Default value is <tt>Normal, Silver, Gold</tt> | + | ** A list of quality values (Normal, Silver, Gold, Iridium) that are valid for this item. Default value is <samp>Normal, Silver, Gold</samp> |
| | | |
| * '''iridium = true''' | | * '''iridium = true''' |
− | ** Set iridium to true to add <tt>Iridium</tt> to the list of qualities. | + | ** Set iridium to true to add <samp>Iridium</samp> to the list of qualities. |
− | ** Easier to do by including Iridium as a value for <tt>quality</tt>; <tt>iridium</tt> parameter only provided for consistency with other templates. | + | ** Easier to do by including Iridium as a value for <samp>quality</samp>; <samp>iridium</samp> parameter only provided for consistency with other templates. |
| | | |
| * '''profession = ''values''''' | | * '''profession = ''values''''' |
Line 110: |
Line 110: |
| * '''season = ''season''''' | | * '''season = ''season''''' |
| ** The name of the season(s) when this item is available; if multiple seasons are possible, they should be comma-separated | | ** The name of the season(s) when this item is available; if multiple seasons are possible, they should be comma-separated |
− | ** Possible values are: <tt>Spring, Summer, Fall, Winter, All Seasons</tt> | + | ** Possible values are: <samp>Spring, Summer, Fall, Winter, All Seasons</samp> |
| ** Values should be plain text (no links, no icons); template will automatically apply formatting | | ** Values should be plain text (no links, no icons); template will automatically apply formatting |
| ** See [[Template:Season]] for details. | | ** See [[Template:Season]] for details. |
Line 117: |
Line 117: |
| * '''growth = ''days''''' | | * '''growth = ''days''''' |
| ** Only relevant for crops; number of days to grow (without any fertilizers, etc.) | | ** Only relevant for crops; number of days to grow (without any fertilizers, etc.) |
− | ** The text should not just be a number, but should also include "days", e.g., <tt>growth=4 days</tt> | + | ** The text should not just be a number, but should also include "days", e.g., <samp>growth=4 days</samp> |
| | | |
| * '''buff = ''buff''''' | | * '''buff = ''buff''''' |
Line 128: |
Line 128: |
| * '''craftingstation = ''name''''' | | * '''craftingstation = ''name''''' |
| ** The name of the equipment necessary to produce this item. | | ** The name of the equipment necessary to produce this item. |
− | ** Use the name template, e.g., <tt>craftingstation=<nowiki>{{name|Preserves Jar}}</nowiki></tt> | + | ** Use the name template, e.g., <samp>craftingstation=<nowiki>{{name|Preserves Jar}}</nowiki></samp> |
| | | |
| * '''ingredients = ''values''''' | | * '''ingredients = ''values''''' |
Line 141: |
Line 141: |
| | | |
| * '''image2 = ''value''''', '''image3=''value''''', '''image4=''value''''' | | * '''image2 = ''value''''', '''image3=''value''''', '''image4=''value''''' |
− | ** Only provided for backwards compatibility; better to provide multiple image names to <tt>image</tt> | + | ** Only provided for backwards compatibility; better to provide multiple image names to <samp>image</samp> |
| | | |
| * '''image2spacing = true''' | | * '''image2spacing = true''' |
Line 148: |
Line 148: |
| * '''is_artisan=true''' | | * '''is_artisan=true''' |
| ** Set to true if this item is an artisan good; set to 0 if item is not. | | ** Set to true if this item is an artisan good; set to 0 if item is not. |
− | ** Default value is automatically set to true if 'artisan goods' is listed in <tt>source</tt> | + | ** Default value is automatically set to true if 'artisan goods' is listed in <samp>source</samp> |
| ** Only relevance is wording used in a couple places on template | | ** Only relevance is wording used in a couple places on template |
| ** Title of final section of infobox is "Artisan Goods" if true; "Crafting" if not | | ** Title of final section of infobox is "Artisan Goods" if true; "Crafting" if not |
− | ** Label used for <tt>crafttime</tt> parameter is "Processing Time" if true; "Time to Craft" if not | + | ** Label used for <samp>crafttime</samp> parameter is "Processing Time" if true; "Time to Craft" if not |
| | | |
| * '''eng = ''item_name''''' | | * '''eng = ''item_name''''' |
− | ** English equivalent of <tt>name</tt>. Only relevant on non-English wikis | + | ** English equivalent of <samp>name</samp>. Only relevant on non-English wikis |
| | | |
| * '''xp = ''values''''' | | * '''xp = ''values''''' |
Line 160: |
Line 160: |
| | | |
| * '''fishingxp = ''values''''' | | * '''fishingxp = ''values''''' |
− | ** Deprecated. Use <tt>xp</tt> instead. | + | ** Deprecated. Use <samp>xp</samp> instead. |
| | | |
| * '''price_ncols = ''ncols''''' | | * '''price_ncols = ''ncols''''' |
Line 167: |
Line 167: |
| * '''artisan_item = ''values''''' and all other '''artisan_*****''' parameters | | * '''artisan_item = ''values''''' and all other '''artisan_*****''' parameters |
| ** If artisan_item is set, a second grid of prices will be displayed showing prices for items derived/created from the primary item. | | ** If artisan_item is set, a second grid of prices will be displayed showing prices for items derived/created from the primary item. |
− | ** <tt>artisan_item</tt> should be a comma separated list of the names of derived/crafted/artisan items to be included in the price grid | + | ** <samp>artisan_item</samp> should be a comma separated list of the names of derived/crafted/artisan items to be included in the price grid |
− | ** The variables are all passed to [[Template:Infosection price]], which generates the actual price grid, using <tt>artisan=true</tt>. For complete documentaton of the parameter meanings see Infosection price. The parameters recognized by Infobox, and the equivalent parameters in Infosection price, are: | + | ** The variables are all passed to [[Template:Infosection price]], which generates the actual price grid, using <samp>artisan=true</samp>. For complete documentaton of the parameter meanings see Infosection price. The parameters recognized by Infobox, and the equivalent parameters in Infosection price, are: |
| *** artisan_item -> item | | *** artisan_item -> item |
| *** artisan_link -> link | | *** artisan_link -> link |