Difference between revisions of "Template:Infobox"

From Stardew Valley Wiki
Jump to navigation Jump to search
(move artisan sell prices header to INSIDE of table)
Line 196: Line 196:
 
|milk=
 
|milk=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 210: Line 210:
 
|large milk=
 
|large milk=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 224: Line 224:
 
|goat milk=
 
|goat milk=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 238: Line 238:
 
|large goat milk=
 
|large goat milk=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 252: Line 252:
 
|wool=
 
|wool=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 266: Line 266:
 
|duck egg=
 
|duck egg=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 280: Line 280:
 
|egg=
 
|egg=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 295: Line 295:
 
|dinosaur egg=
 
|dinosaur egg=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 309: Line 309:
 
|void egg=
 
|void egg=
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
+
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
 
{{!}}-
 
{{!}}-
{{{!}} style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;"
+
{{!}}id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0 !important; padding-right: 0 !important;"{{!}}Artisan Sell Prices
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
 
{{!}}id="infoboxsection" style="width: 30%"{{!}}Base<br />Price:
Line 365: Line 365:
 
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
 
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
 
}}</div></includeonly><noinclude><br style="clear:both;" />{{{{FULLPAGENAME}}/doc}}</noinclude>
 
}}</div></includeonly><noinclude><br style="clear:both;" />{{{{FULLPAGENAME}}/doc}}</noinclude>
 +
 +
<noinclude>
 +
{{Infobox
 +
|name            = Void Egg
 +
|image            = Void Egg.png
 +
|source          = [[Void Chicken]] • [[Random Events|Witch]] • [[Traveling Cart]] • [[Krobus]]
 +
|description      = A jet-black egg with red flecks. It's warm to the touch.
 +
|edibility        = 15
 +
|sellprice        = 65
 +
|iridium          = true
 +
|profession      = Rancher
 +
|quality          = true
 +
|type            = void egg
 +
}}</noinclude>

Revision as of 18:40, 3 April 2018


==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"
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)


Void Egg
Void Egg.png
A jet-black egg with red flecks. It's warm to the touch.
Information
Source: Void ChickenWitchTraveling CartKrobus
Healing Effect
Template:Edibility Template:Edibility
Sell Prices
Base Price: Rancher.png Rancher Profession
(+20% Sell Price)
data-sort-value="65"
Void Egg.png
65g
Void Egg.png
Silver Quality Icon.png
81g
Void Egg.png
Gold Quality Icon.png
97g
Void Egg.png
Iridium Quality Icon.png
130g
data-sort-value="78"
Void Egg.png
78g
Void Egg.png
Silver Quality Icon.png
97g
Void Egg.png
Gold Quality Icon.png
117g
Void Egg.png
Iridium Quality Icon.png
156g
Artisan Sell Prices
Base
Price:
Rancher.png Rancher:
(+20%)
Artisan.png Artisan:
(+40%)
Void Mayonnaise.png 275g Void Mayonnaise.png 330g Void Mayonnaise.png 385g
Error: {{#seo:}} must contain at least one non-empty attribute.