Difference between revisions of "Template:Infobox/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(updated doc on changes to template)
(gemologist profession)
Line 39: Line 39:
 
|rancher        = true <- show rancher 20% added value to animal products
 
|rancher        = true <- show rancher 20% added value to animal products
 
|artisan        = true <- show artisan 40% added value to artisan goods
 
|artisan        = true <- show artisan 40% added value to artisan goods
 +
|gemologist      = true <- show gemologist 30% added value to gems
 
|quality        = false <- true by default, used to remove quality star rating
 
|quality        = false <- true by default, used to remove quality star rating
 
}}
 
}}
Line 58: Line 59:
 
|rancher        = true
 
|rancher        = true
 
|artisan        = true
 
|artisan        = true
 +
|gemologist      = true
 
}}
 
}}
 
</pre>  
 
</pre>  
Line 76: Line 78:
 
|rancher        = true
 
|rancher        = true
 
|artisan        = true
 
|artisan        = true
 +
|gemologist      = true
 
}}
 
}}
  
Line 92: Line 95:
 
|rancher        = true
 
|rancher        = true
 
|artisan        = true
 
|artisan        = true
 +
|gemologist      = true
 
|quality        = false
 
|quality        = false
 
}}
 
}}
Line 111: Line 115:
 
|rancher        = true
 
|rancher        = true
 
|artisan        = true
 
|artisan        = true
 +
|gemologist      = true
 
|quality        = false
 
|quality        = false
 
}}[[Category:Infobox templates]]<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
}}[[Category:Infobox templates]]<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 22:01, 10 October 2016

Blank icon.png
Information

Description

This template is designed to display items and their details, such as crops, fish, tools, weapons, artifacts, etc.

Usage

Placement

This template should be placed at the top of an article page (it will automatically align right). Alert templates, such as {{stub}} or {{construction}}, can be placed above this template.

Additional Information

The image2 - image4 parameters can be used to display more than one image file, in certain cases. For example,Egg.pngBrown Egg.png (Egg and Brown Egg).

This template will automatically populate links from plain text. Source and season will automatically scan for associate articles and make links if they exist.

Crafting requirements are detailed by nesting ingredients in the Name template, as well as the crafting station. This template will automatically attach a picture, along with the link to the item's page.

Syntax

{{Infobox
|name            = Name of Item
|image           = file_name.png
|description     = Ingame description of the item
|source          = Farming / Quest / Shop
|season          = Spring / Winter / Fall / Summer
|craftingstation = {{name|Preserves Jar}} <- use the name template, then list the station name
|ingredients     = {{name|Fish|13}} {{name|item|#}} <- use the name template, then list the item and # of ingredient needed
|edibility       = 20
|sellprice       = 14
|iridium         = true <- add iridium quality stars rating
|rancher         = true <- show rancher 20% added value to animal products
|artisan         = true <- show artisan 40% added value to artisan goods
|gemologist      = true <- show gemologist 30% added value to gems
|quality         = false <- true by default, used to remove quality star rating
}}

Samples

{{Infobox
|name            = Corn
|image           = Corn.png
|description     = Plant these in the spring. Takes 10 days to mature, but keeps producing after that. Yields multiple beans per harvest. Grows on a trellis.
|source          = Farming
|season          = Spring
|craftingstation = {{name|Preserves Jar}}
|ingredients     = {{name|Fish|13}} {{name|Tomato Seeds|13}}
|edibility       = 10
|sellprice       = 14
|iridium         = true
|rancher         = true
|artisan         = true
|gemologist      = true
}}

Results in...

Corn
Blank icon.png
Plant these in the spring. Takes 10 days to mature, but keeps producing after that. Yields multiple beans per harvest. Grows on a trellis.
Information
Source Farming
Season Spring.png Spring
Energy / Health
Energy.png
25
Health.png
11
Energy.png
Silver Quality Icon.png
35
Health.png
Silver Quality Icon.png
15
Energy.png
Gold Quality Icon.png
45
Health.png
Gold Quality Icon.png
20
Energy.png
Iridium Quality Icon.png
65
Health.png
Iridium Quality Icon.png
29
Sell Price
Blank icon.png
14g
Blank icon.png
Silver Quality Icon.png
17g
Blank icon.png
Gold Quality Icon.png
21g
Blank icon.png
Iridium Quality Icon.png
28g
Crafting
Equipment Preserves Jar.png Preserves Jar
Ingredients Fish.png Fish (13) Tomato Seeds.png Tomato Seeds (13)
{{Infobox
|name            = Corn
|image           = Corn.png
|description     = Plant these in the spring. Takes 10 days to mature, but keeps producing after that. Yields multiple beans per harvest. Grows on a trellis.
|source          = Farming
|season          = Spring
|craftingstation = {{name|Preserves Jar}}
|ingredients     = {{name|Fish|13}} {{name|Tomato Seeds|13}}
|edibility       = 10
|sellprice       = 14
|iridium         = true
|rancher         = true
|artisan         = true
|gemologist      = true
|quality         = false
}}

Results in...

Corn
Blank icon.png
Plant these in the spring. Takes 10 days to mature, but keeps producing after that. Yields multiple beans per harvest. Grows on a trellis.
Information
Source Farming
Season Spring.png Spring
Energy / Health
Energy.png
25
Health.png
11
Sell Price data-sort-value="14">Gold.png14g
Crafting
Equipment Preserves Jar.png Preserves Jar
Ingredients Fish.png Fish (13) Tomato Seeds.png Tomato Seeds (13)