Module:Infobox/event

From Feed The Beast Wiki
Jump to: navigation, search

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

local p = {}

p.docLead = [=[This one is for events.]=]

local types = {
	contest = [=[Contest]=],
	convention = [=[Convention]=],
	drama = [=[Drama]=],
	partnership = [=[Partnership]=],
	misc = [=[Misc]=]
}

p.format = {
	{
		title = {arg="name", desc=[=[The title that will be displayed at the top of the info box.]=]},
		{
			{{arg={"image"}, type="image", desc=[=[A big picture.]=]}}
		},
		{
			{[=[Date]=], {arg="date", desc=[=[The date when this event occured. Better for one-day events.]=]}},
			{[=[Start date]=], {arg="startdate", desc=[=[The start date when this event occured.]=]}},
			{[=[End date]=], {arg="enddate", desc=[=[The end date when this event occured.]=]}},
			{[=[Time]=], {arg="time", desc=[=[The time when this event occured (if you want to be that specific). Please use UTC.]=]}},
			{[=[Start time]=], {arg="starttime", desc=[=[The start time when this event occured (if you want to be that specific). Please use UTC.]=]}},
			{[=[End time]=], {arg="endtime", desc=[=[The end time when this event occured (if you want to be that specific). Please use UTC.]=]}},
			{[=[Conducted by]=], {arg="conductedby", desc=[=[The people (or group) that conducted this event.]=]}},
			{[=[Involving]=], {arg="involving", desc=[=[The people (or group) involved with this event.]=]}},
			{[=[Type]=], {arg="type", type="switch", allowedValues=types, desc=[=[The type of event.]=]}},
			{[=[Website]=], {arg="url", type="link", desc=[=[URL to the event's main page (such as a convention website).]=]}}
		}
	}
}

return p