Jump to content

Template:Infobox/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
No edit summary
Line 11: Line 11:


==Description==
==Description==
This template is designed to display [[:Category:Items|items]] and their details, such as [[crops]], [[tools]], [[weapons]], etc.
This template displays a general infobox for a wide variety of items.


==Usage==
==Notes==
===Placement===
The ''image2 - image4'' parameters can be used to display more than one image file. For example,[[File:Egg.png|32px]][[File:Brown_Egg.png|32px]] ([[Egg]] and [[Egg|Brown Egg]]).
This template should be placed at the top of an article page (it will automatically align right). Alert templates, such as <nowiki>{{stub}}</nowiki> or <nowiki>{{construction}}</nowiki>, 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,[[File:Egg.png|32px]][[File:Brown_Egg.png|32px]] ([[Egg]] and [[Egg|Brown Egg]]).
   
   
This template will automatically populate some links from plain text. Source and season will automatically scan for associate articles and make links if they exist.
This template will automatically populate some 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 [[Template:Name|Name]] template, as well as the crafting station. This template will automatically attach a picture, along with the link to the item's page.
Quality allows for true or false, as well as a list of qualities to show. This ensures that items that never have a certain quality will never show the value for that. An alternative way to handle this would be introducing <nowiki>{{{silver}}}</nowiki> and <nowiki>{{{gold}}}</nowiki> parameters.


===Syntax===
===Syntax===

Revision as of 17:12, 26 April 2018

Information

{{#seo:

|keywords=Stardew Valley Wiki, Stardew Valley, Infobox/doc, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox/doc - Stardew Valley Wiki }}

Description

This template displays a general infobox for a wide variety of items.

Notes

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

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

Syntax

{{Infobox
|name            = Name of Item (Page name if omitted)
|image           = file_name.png (Page name.png if omitted)
|description     = Ingame description of the item
|location        = [[foraging location]]
|source          = Farming / Quest / Shop
|seed            = [[seed name]]
|season          = Spring / Winter / Fall / Summer
|growth          = 4 days
|buff            = buff effects
|buffduration    = buff duration
|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
|type            = fruit / vegetable
|iridium         = true <- add iridium quality stars rating
|quality         = true / false / list of qualities to show
|profession      = Rancher / Tiller / Artisan / Blacksmith / Forester / Tapper
|modifier        = Manual profession modifier
}}

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
|type            = vegetable
|sellprice       = 14
|iridium         = true
|profession      = Rancher,Blacksmith
}}

Results in...

Corn
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
Energy / Health
25
11
35
15
45
20
65
29
Sell Price
14g
17g
21g
28g
Crafting
Equipment Preserves Jar
Ingredients Fish (13) Tomato Seeds (13)

{{#seo:

|keywords=Stardew Valley Wiki, Stardew Valley, Infobox/doc, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox/doc - Stardew Valley Wiki }}

{{Infobox
|name            = Corn
|location        = [[Pelican Town]]
|image           = 
|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.
|seed            = [[Radish Seeds]]
|season          = Spring
|growth          = 6 days
|buff            = {{name|Foraging|+2}}{{name|Defense|+2}}
|buffduration    = 7m 41s
|craftingstation = {{name|Preserves Jar}}
|ingredients     = {{name|Fish|13}} {{name|Tomato Seeds|13}}
|edibility       = 10
|sellprice       = 14
|iridium         = true
|profession      = Tapper
|quality         = false
}}

Results in...

Corn
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
Location Pelican Town
Seed Radish Seeds
Growth Time 6 days
Buff(s) Foraging (+2) Defense (+2)
Buff Duration 7m 41s
Season  Spring
Energy / Health
25
11
Sell Price data-sort-value="14">14g
Crafting
Equipment Preserves Jar
Ingredients Fish (13) Tomato Seeds (13)

{{#seo:

|keywords=Stardew Valley Wiki, Stardew Valley, Infobox/doc, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox/doc - Stardew Valley Wiki }}