Template:Infobox item

From Fields of Mistria Wiki
Jump to navigation Jump to search
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

Syntax

{{Infobox item
|name=
|image=File:corn.png
|description=
|sources=Example would be Farming, Foraging, Milling, etc
|location=Example would be Tulips found in the Overworld or specifically The Eastern Road
|spawnCondition=For bugs
|type=For fish
|size=For fish
|rarity=
|rank=
|stamina=50
|health=20
|mana=4
|defaultInfusion=[[Infusion|Speedy]]
|buyValue=100
|sellValue=150
|seed=[[Example Seed]]
|season={{Season|Spring}}
|weather={{Weather inline|Rainy}}
|Time=For bugs (aka day, night, morning, or all day)
|growthTime={{Price|0 min|time}}
|fishable=Yes or No
|diveable=Yes or No
|museum=Yes or No
|ingredients={{ItemIcon|Corn}} (6)<br>{{ItemIcon|Bread}} (1)
|craftingstation=Anvil, Crafting Table, etc
|craftTime={{Price|0 min|time}}
|cookTime={{Price|0 min|time}}
|skillLevel=10
|craftType=Food, Blacksmith, Crafting
|stars=5
|craftingLevel=1
|kitchenTier={{Price|1|kitchen1}}
|recipeSource=[[File:Almanac header icon.png|20px|link=]]Elsie's {{Request|an Orange}}
}}

Sample output

Description

To use this template, add the {{Infobox item}} template and fill in the appropriate fields. Fields left blank will not appear in articles.

Use of the < onlyinclude > tags around the infobox is necessary so that only the information within the infobox itself appears on pages that transclude it. Transclusion is being phased out in favor of Cargo queries. Thus, onlyincludes will no longer be necessary.

This Infobox is meant to be used for many different types of item, so for example, seed is only applicable to crops, and stamina or health are only applicable to edible items.