Template:Infobox armor/doc

From Welcome to Elderfield Wiki
Jump to navigation Jump to search
Infobox for armor 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 armor
| type = 
| in_game_name = 
| armor_type = 
| equipment_slot = 
| weight = 
| attack = 
| m_attack = 
| defense = 
}}

Sections

General

Type, In-game name, Armor type, Equipment slot, Weight

Stats

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

Effects

Equip effect, Curse damage taken, Darkness damage taken, Insanity damage taken, Insight damage taken, Light damage taken, Max HP bonus, Max MP bonus, Attack bonus, Defense bonus, M. Attack bonus, M. Defense bonus, Agility bonus, Luck bonus, Hit Rate, Evasion Rate, Critical Rate, Magic Reflection, Counter Attack, Recovery Effect, Pharmacology, MP Cost Rate, Physical Damage, Magical Damage, Experience, Seals skill type, Seals skill

Values

Buy price, Sell price


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

From the game data

{{Infobox armor|id=75}}
With an id and nothing else, the fields come from the armor's record in Module:Elderfield/Data/Armor, which the wiki generator rewrites after each game update — so every page using it changes together when that module is republished. A field written beside the id overrides the data. This is how the generated armor pages carry their infobox.

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.