Module:Infobox/quest

From Feed The Beast Wiki
Jump to: navigation, search

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

local p = {}

p.docLead = [=[<translate><!--T:1--> This one is for HQM quests.</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={"iconimage", "imageicon"}, desc=[=[<translate><!--T:3--> The icon image. Use {{Tl|Gc}}.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:4--> Modpack</translate>]=], {arg="modpack", desc=[=[<translate><!--T:5--> The modpack that adds the quest.</translate>]=]}}
		},
		{
			{[=[<translate><!--T:6--> Needed to be crafted</translate>]=], {arg="crafting", desc=[=[<translate><!--T:7--> The items needed to be crafted to complete the quest, as listed in the Quest Book</translate>]=]}},
			{[=[<translate><!--T:8--> Needed to be consumed</translate>]=], {arg="consuming", desc=[=[<translate><!--T:9--> The items needed be consumed to complete the quest, as listed in the Quest.</translate>]=]}},
			{[=[<translate><!--T:10--> Needed to go to</translate>]=], {arg="location", desc=[=[<translate><!--T:11--> Where the player needs to go to complete the quest, as listed in the Quest.</translate>]=]}},
			{[=[<translate><!--T:12--> Needed to be consumed via QDS</translate>]=], {arg="qds", desc=[=[<translate><!--T:13--> The items needed be consumed through the Quest Delivery System, to complete the quest, as listed in the Quest.</translate>]=]}},
			{[=[<translate><!--T:14--> Needed to be detected</translate>]=], {arg="detection", desc=[=[<translate><!--T:15--> The items needed be detected in the inventory to complete the quest, as listed in the Quest.</translate>]=]}},
			{[=[<translate><!--T:16--> Needed to be killed</translate>]=], {arg="killing", desc=[=[<translate><!--T:17--> The mobs needed be killed to complete the quest, as listed in the Quest.</translate>]=]}},
			{[=[<translate><!--T:18--> Death needed</translate>]=], {arg="death", desc=[=[<translate><!--T:19--> The death needed be done to complete the quest, as listed in the Quest.</translate>]=]}} -- I don't even know
		},
	},
	{
		name="Rewards",
		title=[=[<translate><!--T:20--> Rewards</translate>]=],
		{
			{{arg="rewards", desc=[=[<translate><!--T:21--> The rewards given when the quest is complete.</translate>]=]}}
		}
	},
	{
		name="Optional rewards",
		title=[=[<translate><!--T:22--> Pick one</translate>]=],
		{
			{{arg="pickone", desc=[=[<translate><!--T:23--> The "Pick one" rewards that can be given when the quest is complete.</translate>]=]}}
		}
	}
}

p.examples = {{[=[<translate><!--T:24-->
{{Infobox quest
|name=What is this thing?
|iconimage={{Gc|mod=V|link=none|no-bg=true|title=What is this thing?|Dirt}}
|modpack=Blightfall
|consuming={{Gc|mod=V|dis=false|Dirt}}
}}</translate>]=]}}

return p