Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Template:Infobox armor

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation
Lua logo.svg This template uses Module:Infobox, with data stored in Module:Infobox/armor.
These scripts are written in Lua. Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more.

This template is used to create an info box that aligns to the right side of the article it is embedded in. This one is for armors

Parameters[edit source]

A blank infobox is provided on the right for quicker reference, the infobox will be collapsed on actual articles.
{{{name}}}
[[File:{{{image}}}|260px|frameless]]
Mod{{{mod}}}
Total armor rating{{Armor|{{{totalarmor}}}}}
Total armor toughness{{{totaltoughness}}}
Total Durability{{{totaldurability}}}
Repairable with{{{setrepair}}}
Head
{{{headimage}}}
{{{headdesc}}}
Armor rating{{Armor|{{{headarmor}}}}}
Armor toughness{{{headtoughness}}}
Durability{{{headdurability}}}
Enchantability{{{headenchantability}}}
Repairable with{{{headrepair}}}
Chest
{{{chestimage}}}
{{{chestdesc}}}
Armor rating{{Armor|{{{chestarmor}}}}}
Armor toughness{{{chesttoughness}}}
Durability{{{chestdurability}}}
Enchantability{{{chestenchantability}}}
Repairable with{{{chestrepair}}}
Legs
{{{legsimage}}}
{{{legsdesc}}}
Armor rating{{Armor|{{{legsarmor}}}}}
Armor toughness{{{legstoughness}}}
Durability{{{legsdurability}}}
Enchantability{{{legsenchantability}}}
Repairable with{{{legsrepair}}}
Feet
{{{feetimage}}}
{{{feetdesc}}}
Armor rating{{Armor|{{{feetarmor}}}}}
Armor toughness{{{feettoughness}}}
Durability{{{feetdurability}}}
Enchantability{{{feetenchantability}}}
Repairable with{{{feetrepair}}}
  • name: The title that will be displayed at the top of the info box.
  • image: The big picture. Use the complete filename, like "Block sand.png".
  • mod: The mod the armor set belongs to. Always refer to the main page of the mod. Please do not use version numbers like "Flaxbeard's Steam Power 0.28.0"; just use the regular name instead. (Will detect page language and link to respective languages)
  • totalarmor: The total armor rating of the armor. Include only the number, as it will interface automatically with {{Armor}}.
  • totaltoughness: The total toughness rating of the armor
  • totaldurability: The durability of the armor set.
  • setrepair: The repair item or block for the armor set icon image. Use {{Gc}} or {{O}}.

Head[edit source]

  • headimage or headicon: The head piece icon image. Use {{Gc}} or {{O}}.
  • headdesc: The head piece from this armor set.
  • headarmor: The armor rating of the armor. Include only the number, as it will interface automatically with {{Armor}}.
  • headtoughness: The toughness rating of the armor
  • headdurability: The durability of the armor piece.
  • headenchantability: The enchantability, or how powerful enchantments will be, for this armor.
  • headrepair: The repair item or block for the armor piece icon image. Use {{Gc}} or {{O}}.

Chest[edit source]

  • chestimage or chesticon: The chest piece icon image. Use {{Gc}} or {{O}}.
  • chestdesc: The chest piecv from this armor set.
  • chestarmor: The armor rating of the armor. Include only the number, as it will interface automatically with {{Armor}}.
  • chesttoughness: The toughness rating of the armor
  • chestdurability: The durability of the armor piece.
  • chestenchantability: The enchantability, or how powerful enchantments will be, for this armor.
  • chestrepair: The repair item or block for the armor piece icon image. Use {{Gc}} or {{O}}.

Legs[edit source]

  • legsimage or legsicon: The legs piece icon image. Use {{Gc}} or {{O}}.
  • legsdesc: The legs piece from this armor set.
  • legsarmor: The armor rating of the armor. Include only the number, as it will interface automatically with {{Armor}}.
  • legstoughness: The toughness rating of the armor
  • legsdurability: The durability of the armor piece.
  • legsenchantability: The enchantability, or how powerful enchantments will be, for this armor.
  • legsrepair: The repair item or block for the armor piece icon image. Use {{Gc}} or {{O}}.

Feet[edit source]

  • feetimage or feeticon: The feet piece icon image. Use {{Gc}} or {{O}}.
  • feetdesc: The feet piece from this armor set.
  • feetarmor: The armor rating of the armor. Include only the number, as it will interface automatically with {{Armor}}.
  • feettoughness: The toughness rating of the armor
  • feetdurability: The durability of the armor piece.
  • feetenchantability: The enchantability, or how powerful enchantments will be, for this armor.
  • feetrepair: The repair item or block for the armor piece icon image. Use {{Gc}} or {{O}}.

Examples[edit source]

CodeResult
{{Infobox armor
|name=Infused Lava Crystal Set
|mod={{L|ArmorPlus}}
|totalarmor=20
|totaltoughness=4
|totaldurability=2475
|setrepair={{Gc|mod=ARP|title=Infused Lava Crystal|Lava Crystal}}
|headicon={{Gc|mod=ARP|link=none|Infused Lava Helmet}}
|headarmor=3
|headtoughness=1
|headdurability=495
|headenchantability=8
|chesticon={{Gc|mod=ARP|link=none|Infused Lava Chestplate}}
|chestarmor=8
|chesttoughness=1
|chestdurability=720
|chestenchantability=8
|legsicon={{Gc|mod=ARP|link=none|Infused Lava Leggings}}
|legsarmor=6
|legstoughness=1
|legsdurability=675
|legsenchantability=8
|feeticon={{Gc|mod=ARP|link=none|Infused Lava Boots}}
|feetarmor=3
|feettoughness=1
|feetdurability=585
|feetenchantability=8
}}
Infused Lava Crystal Set
ModArmorPlus
Total armor rating20 (Armor.svgArmor.svgArmor.svgArmor.svgArmor.svgArmor.svgArmor.svgArmor.svgArmor.svgArmor.svg)
Total armor toughness4
Total Durability2475
Repairable with
Head

Armor rating3 (Armor.svgHalf Armor.svg)
Armor toughness1
Durability495
Enchantability8
Chest

Armor rating8 (Armor.svgArmor.svgArmor.svgArmor.svg)
Armor toughness1
Durability720
Enchantability8
Legs

Armor rating6 (Armor.svgArmor.svgArmor.svg)
Armor toughness1
Durability675
Enchantability8
Feet

Armor rating3 (Armor.svgHalf Armor.svg)
Armor toughness1
Durability585
Enchantability8