Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
(fixed typo, and made the description args have "desc" in the end)
(Added durability and converted full names to generic ones (helmet -> head, chestplate -> chest, leggings -> legs, boots -> feet))
Line 14: Line 14:
 
},
 
},
 
{
 
{
name="Helmet",
+
name="Head",
title=[=[<translate><!--T:6--> Helmet</translate>]=],
+
title=[=[<translate><!--T:6--> Head</translate>]=],
 
{
 
{
{{arg={"helmetimage","helmeticon"}, desc=[=[<translate><!--T:7--> The helmet icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
+
{{arg={"headimage","headicon"}, desc=[=[<translate><!--T:7--> The head piece icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
{{arg="helmetdesc", desc=[=[<translate><!--T:12--> The helmet from this armor set.</translate>]=]}},
+
{{arg="headdesc", desc=[=[<translate><!--T:12--> The head piece from this armor set.</translate>]=]}},
{[=[<translate><!--T:8--> Armor rating</translate>]=], {arg="helmetarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:9--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
+
{[=[<translate><!--T:8--> Armor rating</translate>]=], {arg="headarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:9--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
{[=[<translate><!--T:10--> Armor toughness</translate>]=], {arg="helmettoughness", desc=[=[<translate><!--T:11--> The toughness rating of the armor</translate>]=]}}
+
{[=[<translate><!--T:10--> Armor toughness</translate>]=], {arg="headtoughness", desc=[=[<translate><!--T:11--> The toughness rating of the armor</translate>]=]}},
  +
{[=[<translate>Durability</translate>]=],{arg="headdurability",desc=[=[<translate>The durability of the armor piece.</translate>]=]}}
 
}
 
}
 
},
 
},
 
{
 
{
name="Chestplate",
+
name="Chest",
title=[=[<translate><!--T:13--> Chestplate</translate>]=],
+
title=[=[<translate><!--T:13--> Chest</translate>]=],
 
{
 
{
{{arg={"chestplateimage","chestplateicon"}, desc=[=[<translate><!--T:14--> The chestplate icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
+
{{arg={"chestimage","chesticon"}, desc=[=[<translate><!--T:14--> The chest piece icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
{{arg="chestplatedesc", desc=[=[<translate><!--T:19--> The chestplate from this armor set.</translate>]=]}},
+
{{arg="chestdesc", desc=[=[<translate><!--T:19--> The chest piecv from this armor set.</translate>]=]}},
{[=[<translate><!--T:15--> Armor rating</translate>]=], {arg="chestplatearmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:16--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
+
{[=[<translate><!--T:15--> Armor rating</translate>]=], {arg="chestarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:16--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
{[=[<translate><!--T:17--> Armor toughness</translate>]=], {arg="chestplatetoughness", desc=[=[<translate><!--T:18--> The toughness rating of the armor</translate>]=]}}
+
{[=[<translate><!--T:17--> Armor toughness</translate>]=], {arg="chesttoughness", desc=[=[<translate><!--T:18--> The toughness rating of the armor</translate>]=]}},
  +
{[=[<translate>Durability</translate>]=],{arg="chestdurability",desc=[=[<translate>The durability of the armor piece.</translate>]=]}}
 
}
 
}
 
},
 
},
 
{
 
{
name="Leggings",
+
name="Legs",
title=[=[<translate><!--T:20--> Leggings</translate>]=],
+
title=[=[<translate><!--T:20--> Legs</translate>]=],
 
{
 
{
{{arg={"leggingsimage","leggingsicon"}, desc=[=[<translate><!--T:21--> The leggings icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
+
{{arg={"legsimage","legsicon"}, desc=[=[<translate><!--T:21--> The legs piece icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
{{arg="leggingsdesc", desc=[=[<translate><!--T:26--> The leggings from this armor set.</translate>]=]}},
+
{{arg="legsdesc", desc=[=[<translate><!--T:26--> The legs piece from this armor set.</translate>]=]}},
{[=[<translate><!--T:22--> Armor rating</translate>]=], {arg="leggingsarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:23--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
+
{[=[<translate><!--T:22--> Armor rating</translate>]=], {arg="legsarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:23--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
{[=[<translate><!--T:24--> Armor toughness</translate>]=], {arg="leggingstoughness", desc=[=[<translate><!--T:25--> The toughness rating of the armor</translate>]=]}}
+
{[=[<translate><!--T:24--> Armor toughness</translate>]=], {arg="legstoughness", desc=[=[<translate><!--T:25--> The toughness rating of the armor</translate>]=]}},
  +
{[=[<translate>Durability</translate>]=],{arg="legsdurability",desc=[=[<translate>The durability of the armor piece.</translate>]=]}}
 
}
 
}
 
},
 
},
 
{
 
{
name="Boots",
+
name="Feet",
title=[=[<translate><!--T:27--> Boots</translate>]=],
+
title=[=[<translate><!--T:27--> Feet</translate>]=],
 
{
 
{
{{arg={"bootsimage","bootsicon"}, desc=[=[<translate><!--T:28--> The boots icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
+
{{arg={"feetimage","feeticon"}, desc=[=[<translate><!--T:28--> The feet piece icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
{{arg="bootsdesc", desc=[=[<translate><!--T:33--> The boots from this armor set.</translate>]=]}},
+
{{arg="feetdesc", desc=[=[<translate><!--T:33--> The feet piece from this armor set.</translate>]=]}},
{[=[<translate><!--T:29--> Armor rating</translate>]=], {arg="bootsarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:30--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
+
{[=[<translate><!--T:29--> Armor rating</translate>]=], {arg="feetarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:30--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
{[=[<translate><!--T:31--> Armor toughness</translate>]=], {arg="bootstoughness", desc=[=[<translate><!--T:32--> The toughness rating of the armor</translate>]=]}}
+
{[=[<translate><!--T:31--> Armor toughness</translate>]=], {arg="feettoughness", desc=[=[<translate><!--T:32--> The toughness rating of the armor</translate>]=]}},
  +
{[=[<translate>Durability</translate>]=],{arg="feetdurability",desc=[=[<translate>The durability of the armor piece.</translate>]=]}}
 
}
 
}
 
}
 
}
Line 60: Line 64:
 
|name=Infused Lava Crystal Set
 
|name=Infused Lava Crystal Set
 
|mod={{L|ArmorPlus}}
 
|mod={{L|ArmorPlus}}
|helmeticon={{Gc|mod=ARP|Infused Lava Helmet}}
+
|headicon={{Gc|mod=ARP|Infused Lava Helmet}}
|helmetarmor=3
+
|headarmor=3
  +
|headtoughness=1
|helmettoughness=1
 
|chestplateicon={{Gc|mod=ARP|Infused Lava Chestplate}}
+
|chesticon={{Gc|mod=ARP|Infused Lava Chestplate}}
  +
|chestarmor=8
|chestplatearmor=8
 
  +
|chesttoughness=1
|chestplatetoughness=1
 
|leggingsicon={{Gc|mod=ARP|Infused Lava Leggings}}
+
|legsicon={{Gc|mod=ARP|Infused Lava Leggings}}
  +
|legsarmor=6
|leggingsarmor=6
 
  +
|legstoughness=1
|leggingstoughness=1
 
|bootsicon={{Gc|mod=ARP|Infused Lava Boots}}
+
|feeticon={{Gc|mod=ARP|Infused Lava Boots}}
|bootsarmor=3
+
|feetarmor=3
  +
|feettoughness=1
|bootstoughness=1
 
 
}}]=]}
 
}}]=]}
 
}
 
}

Revision as of 17:51, 2 January 2018

Documentation for this module may be created at Module:Infobox/armor/doc

local p = {}

p.docLead = [=[<translate><!--T:1--> This one is for armors</translate>]=]

p.format = {
	{
		title = {arg="name", desc=[=[<translate><!--T:2--> The title that will be displayed at the top of the info box.</translate>]=]},
		{
			{{arg={"image"}, type="image", desc=[=[<translate><!--T:3--> The big picture.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:4--> Mod</translate>]=], {arg="mod", desc=[=[<translate><!--T:5--> 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)'''</translate>]=]}}
		}
	},
	{
		name="Head",
		title=[=[<translate><!--T:6--> Head</translate>]=],
		{
			{{arg={"headimage","headicon"}, desc=[=[<translate><!--T:7--> The head piece icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
			{{arg="headdesc", desc=[=[<translate><!--T:12--> The head piece from this armor set.</translate>]=]}},
			{[=[<translate><!--T:8--> Armor rating</translate>]=], {arg="headarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:9--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
			{[=[<translate><!--T:10--> Armor toughness</translate>]=], {arg="headtoughness", desc=[=[<translate><!--T:11--> The toughness rating of the armor</translate>]=]}},
			{[=[<translate>Durability</translate>]=],{arg="headdurability",desc=[=[<translate>The durability of the armor piece.</translate>]=]}}
		}
	},
	{
		name="Chest",
		title=[=[<translate><!--T:13--> Chest</translate>]=],
		{
			{{arg={"chestimage","chesticon"}, desc=[=[<translate><!--T:14--> The chest piece icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
			{{arg="chestdesc", desc=[=[<translate><!--T:19--> The chest piecv from this armor set.</translate>]=]}},
			{[=[<translate><!--T:15--> Armor rating</translate>]=], {arg="chestarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:16--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
			{[=[<translate><!--T:17--> Armor toughness</translate>]=], {arg="chesttoughness", desc=[=[<translate><!--T:18--> The toughness rating of the armor</translate>]=]}},
			{[=[<translate>Durability</translate>]=],{arg="chestdurability",desc=[=[<translate>The durability of the armor piece.</translate>]=]}}
		}
	},
	{
		name="Legs",
		title=[=[<translate><!--T:20--> Legs</translate>]=],
		{
			{{arg={"legsimage","legsicon"}, desc=[=[<translate><!--T:21--> The legs piece icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
			{{arg="legsdesc", desc=[=[<translate><!--T:26--> The legs piece from this armor set.</translate>]=]}},
			{[=[<translate><!--T:22--> Armor rating</translate>]=], {arg="legsarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:23--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
			{[=[<translate><!--T:24--> Armor toughness</translate>]=], {arg="legstoughness", desc=[=[<translate><!--T:25--> The toughness rating of the armor</translate>]=]}},
			{[=[<translate>Durability</translate>]=],{arg="legsdurability",desc=[=[<translate>The durability of the armor piece.</translate>]=]}}
		}
	},
	{
		name="Feet",
		title=[=[<translate><!--T:27--> Feet</translate>]=],
		{
			{{arg={"feetimage","feeticon"}, desc=[=[<translate><!--T:28--> The feet piece icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
			{{arg="feetdesc", desc=[=[<translate><!--T:33--> The feet piece from this armor set.</translate>]=]}},
			{[=[<translate><!--T:29--> Armor rating</translate>]=], {arg="feetarmor",type="templateCall",template="Armor",desc=[=[<translate><!--T:30--> The armor rating of the armor. Include only the number, as it will interface automatically with {{Tl|Armor}}.</translate>]=]}},
			{[=[<translate><!--T:31--> Armor toughness</translate>]=], {arg="feettoughness", desc=[=[<translate><!--T:32--> The toughness rating of the armor</translate>]=]}},
			{[=[<translate>Durability</translate>]=],{arg="feetdurability",desc=[=[<translate>The durability of the armor piece.</translate>]=]}}
		}
	}
}

p.examples = {
	{[=[
{{Infobox armor
|name=Infused Lava Crystal Set
|mod={{L|ArmorPlus}}
|headicon={{Gc|mod=ARP|Infused Lava Helmet}}
|headarmor=3
|headtoughness=1
|chesticon={{Gc|mod=ARP|Infused Lava Chestplate}}
|chestarmor=8
|chesttoughness=1
|legsicon={{Gc|mod=ARP|Infused Lava Leggings}}
|legsarmor=6
|legstoughness=1
|feeticon={{Gc|mod=ARP|Infused Lava Boots}}
|feetarmor=3
|feettoughness=1
}}]=]}
}

return p