Template:Infobox item/doc

From Welcome to Elderfield Wiki
Jump to navigation Jump to search
Infobox for items pages. Built on {{Infobox}}m.main(), the DRUID infobox framework this wiki already uses, so it inherits the existing styling and gadgets.
Fields are omitted automatically when empty — pass only what applies.

Usage

{{Infobox item
| type = 
| category = 
| in_game_name = 
| equipment_slot = 
| weapon_type = 
| armor_type = 
| weight = 
| stack_limit = 
}}

Sections

General

Type, Category, In-game name, Equipment slot, Weapon type, Armor type, Weight, Stack limit

When used

Restores, Effect

Stats

Max HP, Max MP, Attack, Defense, M. Attack, M. Defense, Agility, Luck

Farming

Crop, Grown from, Growth time, Regrowth, Max harvests, Seasons

Fishing

Bait needed, Bait, Waters, Only during, Season, Time, Base chance

Values

Buy price, Sell price


Generated article pages fill this in from game data. Hand-written pages may use it too.

Price fields

Supply a number for buy and sell prices (for example |buy_price=250 on the standard infoboxes, or |Buy Price=250 on the legacy item infobox). The gold icon and g are added automatically and the value is centered. Existing quality values can use {{Price}}; textual statuses remain unchanged.