Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
(fixed template call)
(fixed ordering, and using the correct argument for icon in example)
Line 18: Line 18:
 
{
 
{
 
{{arg={"helmetimage","helmeticon"}, desc=[=[<translate><!--T:7--> The helmet icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
 
{{arg={"helmetimage","helmeticon"}, desc=[=[<translate><!--T:7--> The helmet icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
 
{{arg="helmet", desc=[=[<translate><!--T:12--> The helmet 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="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:10--> Armor toughness</translate>]=], {arg="helmettoughness", desc=[=[<translate><!--T:11--> The toughness rating of the armor</translate>]=]}},
+
{[=[<translate><!--T:10--> Armor toughness</translate>]=], {arg="helmettoughness", desc=[=[<translate><!--T:11--> The toughness rating of the armor</translate>]=]}}
{{arg="helmet", desc=[=[<translate><!--T:12--> The helmet from this armor set.</translate>]=]}}
 
 
}
 
}
 
},
 
},
Line 28: Line 28:
 
{
 
{
 
{{arg={"chestplateimage","chestplateicon"}, desc=[=[<translate><!--T:14--> The chestplate icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
 
{{arg={"chestplateimage","chestplateicon"}, desc=[=[<translate><!--T:14--> The chestplate icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
 
{{arg="chestplate", desc=[=[<translate><!--T:19--> The chestplate 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="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:17--> Armor toughness</translate>]=], {arg="chestplatetoughness", desc=[=[<translate><!--T:18--> The toughness rating of the armor</translate>]=]}},
+
{[=[<translate><!--T:17--> Armor toughness</translate>]=], {arg="chestplatetoughness", desc=[=[<translate><!--T:18--> The toughness rating of the armor</translate>]=]}}
{{arg="chestplate", desc=[=[<translate><!--T:19--> The chestplate from this armor set.</translate>]=]}}
 
 
}
 
}
 
},
 
},
Line 38: Line 38:
 
{
 
{
 
{{arg={"leggingsimage","leggingsicon"}, desc=[=[<translate><!--T:21--> The leggings icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
 
{{arg={"leggingsimage","leggingsicon"}, desc=[=[<translate><!--T:21--> The leggings icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
 
{{arg="leggings", desc=[=[<translate><!--T:26--> The leggings 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="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:24--> Armor toughness</translate>]=], {arg="leggingstoughness", desc=[=[<translate><!--T:25--> The toughness rating of the armor</translate>]=]}},
+
{[=[<translate><!--T:24--> Armor toughness</translate>]=], {arg="leggingstoughness", desc=[=[<translate><!--T:25--> The toughness rating of the armor</translate>]=]}}
{{arg="leggings", desc=[=[<translate><!--T:26--> The leggings from this armor set.</translate>]=]}}
 
 
}
 
}
 
},
 
},
Line 48: Line 48:
 
{
 
{
 
{{arg={"bootsimage","bootssicon"}, desc=[=[<translate><!--T:28--> The boots icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
 
{{arg={"bootsimage","bootssicon"}, desc=[=[<translate><!--T:28--> The boots icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
 
{{arg="boots", desc=[=[<translate><!--T:33--> The boots 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="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:31--> Armor toughness</translate>]=], {arg="bootstoughness", desc=[=[<translate><!--T:32--> The toughness rating of the armor</translate>]=]}},
+
{[=[<translate><!--T:31--> Armor toughness</translate>]=], {arg="bootstoughness", desc=[=[<translate><!--T:32--> The toughness rating of the armor</translate>]=]}}
{{arg="boots", desc=[=[<translate><!--T:33--> The boots from this armor set.</translate>]=]}}
 
 
}
 
}
 
}
 
}
Line 60: Line 60:
 
|name=Infused Lava Crystal Set
 
|name=Infused Lava Crystal Set
 
|mod={{L|ArmorPlus}}
 
|mod={{L|ArmorPlus}}
|helmet={{Gc|mod=ARP|Infused Lava Helmet}}
+
|helmeticon={{Gc|mod=ARP|Infused Lava Helmet}}
 
|helmetarmor=3
 
|helmetarmor=3
 
|helmettoughness=1
 
|helmettoughness=1
|chestplate={{Gc|mod=ARP|Infused Lava Chestplate}}
+
|chestplateicon={{Gc|mod=ARP|Infused Lava Chestplate}}
 
|chestplatearmor=8
 
|chestplatearmor=8
 
|chestplatetoughness=1
 
|chestplatetoughness=1
|leggings={{Gc|mod=ARP|Infused Lava Leggings}}
+
|leggingsicon={{Gc|mod=ARP|Infused Lava Leggings}}
 
|leggingsarmor=6
 
|leggingsarmor=6
 
|leggingstoughness=1
 
|leggingstoughness=1
|boots={{Gc|mod=ARP|Infused Lava Boots}}
+
|bootsicon={{Gc|mod=ARP|Infused Lava Boots}}
 
|bootsarmor=3
 
|bootsarmor=3
 
|bootstoughness=1
 
|bootstoughness=1

Revision as of 17:26, 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="Helmet",
		title=[=[<translate><!--T:6--> Helmet</translate>]=],
		{
			{{arg={"helmetimage","helmeticon"}, desc=[=[<translate><!--T:7--> The helmet icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
			{{arg="helmet", desc=[=[<translate><!--T:12--> The helmet 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:10--> Armor toughness</translate>]=], {arg="helmettoughness", desc=[=[<translate><!--T:11--> The toughness rating of the armor</translate>]=]}}
		}
	},
	{
		name="Chestplate",
		title=[=[<translate><!--T:13--> Chestplate</translate>]=],
		{
			{{arg={"chestplateimage","chestplateicon"}, desc=[=[<translate><!--T:14--> The chestplate icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
			{{arg="chestplate", desc=[=[<translate><!--T:19--> The chestplate 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:17--> Armor toughness</translate>]=], {arg="chestplatetoughness", desc=[=[<translate><!--T:18--> The toughness rating of the armor</translate>]=]}}
		}
	},
	{
		name="Leggings",
		title=[=[<translate><!--T:20--> Leggings</translate>]=],
		{
			{{arg={"leggingsimage","leggingsicon"}, desc=[=[<translate><!--T:21--> The leggings icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
			{{arg="leggings", desc=[=[<translate><!--T:26--> The leggings 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:24--> Armor toughness</translate>]=], {arg="leggingstoughness", desc=[=[<translate><!--T:25--> The toughness rating of the armor</translate>]=]}}
		}
	},
	{
		name="Boots",
		title=[=[<translate><!--T:27--> Boots</translate>]=],
		{
			{{arg={"bootsimage","bootssicon"}, desc=[=[<translate><!--T:28--> The boots icon image. Use {{Tl|Gc}} or {{Tl|O}}.</translate>]=]}},
			{{arg="boots", desc=[=[<translate><!--T:33--> The boots 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:31--> Armor toughness</translate>]=], {arg="bootstoughness", desc=[=[<translate><!--T:32--> The toughness rating of the armor</translate>]=]}}
		}
	}
}

p.examples = {
	{[=[
{{Infobox armor
|name=Infused Lava Crystal Set
|mod={{L|ArmorPlus}}
|helmeticon={{Gc|mod=ARP|Infused Lava Helmet}}
|helmetarmor=3
|helmettoughness=1
|chestplateicon={{Gc|mod=ARP|Infused Lava Chestplate}}
|chestplatearmor=8
|chestplatetoughness=1
|leggingsicon={{Gc|mod=ARP|Infused Lava Leggings}}
|leggingsarmor=6
|leggingstoughness=1
|bootsicon={{Gc|mod=ARP|Infused Lava Boots}}
|bootsarmor=3
|bootstoughness=1
}}]=]}
}

return p