Template:Infobox: Difference between revisions
Appearance
imported>Margotbean +broccoli, carrot, summer squash, powdermelon |
imported>Margotbean +lg goat milk ru |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 71: | Line 71: | ||
<td id="infoboxsection">[[Energy]] / [[Health]]</td> | <td id="infoboxsection">[[Energy]] / [[Health]]</td> | ||
<td id="infoboxdetail"> | <td id="infoboxdetail"> | ||
{{#switch:{{lc:{{{quality|}}}}} | {{#switch:{{lc:{{{eng|}}}}} | ||
|stardrop=[[File:Energy.png|24px|link=]]100% [[File:Health.png|24px|link=]] 0 | |||
|#default= | |||
{{#switch:{{lc:{{{quality|}}}}} | |||
|false|normal = {{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|quality=normal|dsv=false}} | |||
|#default = {{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|dsv=false}} | |||
}} | |||
}} | }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} }}{{#if:{{{sellprice|}}} |<nowiki /> | }} }} {{#if:{{{sellprice|}}} |<nowiki /> | ||
<tr> | <tr> | ||
{{#switch:{{lc:{{{eng|}}}}} | {{#switch:{{lc:{{{eng|}}}}} | ||
| Line 140: | Line 144: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Juice|{{{sellprice|}}}|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Juice|{{{sellprice|}}}|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Juice|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Juice|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 192: | Line 196: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Juice|{{{sellprice|}}}|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Juice|{{{sellprice|}}}|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Juice|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Juice|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 212: | Line 216: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Juice|{{{sellprice|}}}|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Juice|{{{sellprice|}}}|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Juice|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Juice|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 232: | Line 236: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Pickles|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|dsv=false|quality=0}}{{Qualityprice|Dried_{{{eng|}}}s|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Pickles|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}{{Qualityprice|Dried_{{{eng|}}}s|{{{sellprice|}}}|dsv=false|quality=0|pm=1.4}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 265: | Line 269: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Wine|{{{sellprice|}}}|dsv=false}}{{Qualityprice|Jelly|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Wine|{{{sellprice|}}}|dsv=false}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Jelly|{{{sellprice|}}}|dsv=false|quality=0}} | ||
<td>{{Qualityprice|Wine|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|Jelly|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | {{#switch:{{lc:{{{eng|}}}}} | ||
|grape = {{Qualityprice|Raisins|600|quality=0|dsv=false}} | |||
|#default = {{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Dried_Fruit|{{{sellprice|}}}|dsv=false|quality=0}} }}</td> | |||
<td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Wine|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Jelly|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}} | |||
{{#switch:{{lc:{{{eng|}}}}} | |||
|grape = {{Qualityprice|Raisins|600|dsv=false|quality=0|pm=1.4}} | |||
|#default = {{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Dried_Fruit|{{{sellprice|}}}|dsv=false|quality=0|pm=1.4}} }}</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 298: | Line 308: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Juice|{{{sellprice|}}}|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|dsv=false}} | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Juice|{{{sellprice|}}}|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|dsv=false|quality=0}} | ||
{{#switch:{{lc:{{{eng|}}}}} | {{#switch:{{lc:{{{eng|}}}}} | ||
|corn = {{Qualityprice|Oil|100|dsv=false}} | |corn = {{Qualityprice|Oil|100|dsv=false}} | ||
|# | |#default= }} | ||
</td> | </td> | ||
<td>{{Qualityprice|Juice|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|pm=1.4|dsv=false}} | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Juice|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Pickles|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}} | ||
{{#switch:{{lc:{{{eng|}}}}} | {{#switch:{{lc:{{{eng|}}}}} | ||
|corn = {{Qualityprice|Oil|100|dsv=false}} | |corn = {{Qualityprice|Oil|100|dsv=false}} | ||
|# | |#default= }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 342: | Line 352: | ||
{{#switch:{{lc:{{{eng|}}}}} | {{#switch:{{lc:{{{eng|}}}}} | ||
|sunflower = {{Qualityprice|Oil|100|dsv=false}} | |sunflower = {{Qualityprice|Oil|100|dsv=false}} | ||
|# | |#default= }} | ||
</td> | </td> | ||
<td>{{Qualityprice|Honey|{{{sellprice|}}}|pm=1.4|dsv=false}} | <td>{{Qualityprice|Honey|{{{sellprice|}}}|pm=1.4|dsv=false}} | ||
{{#switch:{{lc:{{{eng|}}}}} | {{#switch:{{lc:{{{eng|}}}}} | ||
|sunflower = {{Qualityprice|Oil|100|dsv=false}} | |sunflower = {{Qualityprice|Oil|100|dsv=false}} | ||
|# | |#default= }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 380: | Line 390: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Green Tea|100|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|Green Tea|100|dsv=false}}{{Qualityprice|Green Pickles|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Green Tea|100|pm=1.4|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|Green Tea|100|pm=1.4|dsv=false}}{{Qualityprice|Green Pickles|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 400: | Line 410: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Wine|{{{sellprice|}}}|dsv=false}}{{Qualityprice|Jelly|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Wine|{{{sellprice|}}}|dsv=false}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Jelly|{{{sellprice|}}}|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Dried_Fruit|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Wine|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|Jelly|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Wine|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Jelly|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Dried_Fruit|{{{sellprice|}}}|dsv=false|quality=0|pm=1.4}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 433: | Line 443: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Pale Ale|300|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|Pale Ale|300|dsv=false}}{{Qualityprice|Green Pickles|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Pale Ale|300|pm=1.4|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|Pale Ale|300|pm=1.4|dsv=false}}{{Qualityprice|Green Pickles|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 466: | Line 476: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Beer|200|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|Beer|200|dsv=false}}{{Qualityprice|Yellow Pickles|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Beer|200|pm=1.4|dsv=false}}{{Qualityprice|Pickles|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|Beer|200|pm=1.4|dsv=false}}{{Qualityprice|Yellow Pickles|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 516: | Line 526: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{Qualityprice|Wine|{{{sellprice|}}}|dsv=false}}{{Qualityprice|Jelly|{{{sellprice|}}}|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Wine|{{{sellprice|}}}|dsv=false}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Jelly|{{{sellprice|}}}|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Dried_Fruit|{{{sellprice|}}}|dsv=false|quality=0}}</td> | ||
<td>{{Qualityprice|Wine|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|Jelly|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> | <td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Wine|{{{sellprice|}}}|pm=1.4|dsv=false}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Jelly|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Dried_Fruit|{{{sellprice|}}}|dsv=false|quality=0|pm=1.4}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 674: | Line 684: | ||
</table> | </table> | ||
</td> | </td> | ||
|large goat milk|large goat milk es|large goat milk fr|large goat milk ja = | |large goat milk|large goat milk es|large goat milk fr|large goat milk ja|large goat milk ru = | ||
<td colspan="2" style="padding: 0; border: 0;"> | <td colspan="2" style="padding: 0; border: 0;"> | ||
<table style="width: 101%; margin-top: -2px; margin-left: -2px;"> | <table style="width: 101%; margin-top: -2px; margin-left: -2px;"> | ||
| Line 710: | Line 720: | ||
</td> | </td> | ||
|dinosaur egg = | |dinosaur egg = | ||
<td id="infoboxsection">Sell | <td colspan="2" style="padding: 0; border: 0;"> | ||
<table style="width: 101%; margin-top: -2px; margin-left: -2px;"> | |||
<tr> | |||
<td id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0; padding-right: 0;">Sell Prices</td> | |||
</tr> | |||
<tr> | |||
<td id="infoboxsection">Base</td> | |||
<td id="infoboxsection" class="no-wrap">[[File:Treasure Appraisal Guide.png|24px|link=]] [[Treasure Appraisal Guide]]</td> | |||
</tr> | |||
<tr> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|dsv=false}}</td> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|pm=3|dsv=false}}</td> | |||
<tr> | |||
</table> | |||
</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Latest revision as of 15:08, 23 August 2026
Description
This template displays a generic infobox for a wide variety of items. Do not use this on your user page. It is reserved for content pages.
Parameters
All parameters are optional. If omitted, nothing will display.
| Parameter | Notes |
|---|---|
| eng | Name of the image to display, in English, without the ".png" extension. If the image has an extension other than ".png", then the "ext" parameter must be used. |
| ext | Extension of image specified in "eng" parameter, without the period (e.g., "gif", "jpg", etc.) |
| name | Name of item (Page name if omitted) For use on pages like Trash (item) where the name of the item is different from the page name. |
| image2 image3 image4 image5 |
Name of additional images to display Must be of type ".png" Omit the extension (e.g., Tiger Slime Egg) |
| image2spacing | Set to "true" to add extra space between the images specified in "eng" and "image2" |
| color | Color of artisan goods produced (Jelly, Pickles, Wine, Dehydrator product, etc.) Color name must correspond to an image located in Category:Artisan good images If omitted, color will be the default color for the item (green juice, red jelly, purple wine, etc.) |
| description | In-game item description (Populated by Template:Description if omitted). It is preferable to omit this parameter and update Template:Description instead. |
| source | How to obtain the item (e.g., [[Crafting]], [[Artisan Goods]], [[Slime Egg-Press]]) |
| location | Location(s) of item (e.g., [[Cindersap Forest]], [[The Beach]], Bushes throughout the valley, etc.) |
| seed | Name of seed (e.g., {{Name|Corn Seeds}}) |
| growth | Number of days the crop takes to grow to maturity (e.g., 4 days) |
| buff | Name of buff(s) given by the item (e.g., {{Name|Farming|+4}}) |
| buffduration | Length of time buff(s) are active |
| season | Name of season when the item can be obtained or grown Can be plain text (e.g., Spring, Summer, All, etc.) or can use Template:Season (e.g., {{Season|Summer}} • {{Season|Winter}}) |
| weather | Weather required to obtain the item Can use plain text (e.g., Rain) and this template will automatically apply Template:Weather inline formatting |
| xp | Experience points gained for harvesting or otherwise obtaining the item |
| edibility | Found in Data\ObjectInformation.xnb Note that inedible items have an edibility of -300, and poisonous items have a negative edibility greater than -300 |
| sellprice | Found in Data\ObjectInformation.xnb If the item cannot be sold, then "N/A" and "Cannot be sold" are valid values |
| quality | Set to "false" to suppress silver, gold, and iridium qualities |
| recipe | How to obtain the recipe to craft the item (e.g., [[Farming]] Level 7) |
| craftingstation | Equipment used to craft the item (e.g., {{Name|Preserves Jar}}) |
| crafttime | How long does the item process in its equipment (e.g., 4 hours) |
| ingredients | Ingredients needed to craft the item (e.g., {{Name|Copper Bar|2}}{{Name|Sap|10}}) |
| tingredients | Ingredients with the Trapper profession Used on the Crab Pot page |
| produces | Item produced via crafting, artisan goods, or harvesting (e.g., 5 Deluxe Fertilizer per craft) |