Difference between revisions of "Template:Infobox/doc"
m (→Samples) |
m |
||
Line 82: | Line 82: | ||
{{Infobox | {{Infobox | ||
|name = Corn | |name = Corn | ||
+ | |location = [[Pelican Town]] | ||
|image = broken_image.png | |image = broken_image.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. | |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. | ||
Line 101: | Line 102: | ||
{{Infobox | {{Infobox | ||
|name = Corn | |name = Corn | ||
+ | |location = [[Pelican Town]] | ||
|image = broken_image.png | |image = broken_image.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. | |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. |
Revision as of 18:24, 28 November 2016
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 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.
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 {{{silver}}} and {{{gold}}} parameters.
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 |quality = true / false / list of qualities to show |profession = Rancher / Tiller / Artisan / Blacksmith / Gemologist / Forester / Tapper / Fisher / Angler |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,Fisher }}
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 |
|
||||||||||||||||
Sell Price |
|
||||||||||||||||
Crafting | |||||||||||||||||
Equipment | Preserves Jar | ||||||||||||||||
Ingredients | Fish (13) Tomato Seeds (13) |
{{Infobox |name = Corn |location = [[Pelican Town]] |image = broken_image.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. |seed = [[Radish seeds]] |season = Spring |growth = 6 days |craftingstation = {{name|Preserves Jar}} |ingredients = {{name|Fish|13}} {{name|Tomato Seeds|13}} |edibility = 10 |sellprice = 14 |iridium = true |profession = Fake profession |modifier = 0.75 |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 | ||||
Season | Spring | ||||
Energy / Health |
|
||||
Sell Price | 14g | ||||
Crafting | |||||
Equipment | Preserves Jar | ||||
Ingredients | Fish (13) Tomato Seeds (13) |