Actions

Module

Infobox MainChapter

From ThornsWiki

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

local p = {}
 
function p.default(frame)
	local capiunto = require 'capiunto'
	return capiunto.create( {
		top = 'Chapter Quick Facts',
		topStyle = 'background:#5f5543;color:#FFF;font-family:Metamorphous, serif;line-height:1.25em; text-weight:normal;',
	} )
	:addImage(
		string.format('[[File:%s|250px]]', frame.args["image"]), -- featured image
		frame.args["caption"] -- caption
	)
	:addHeader('Storyline Information')
	:addRow('Status', frame.args["status"])
	:addRow('Activity', frame.args["activity"])
	:addRow('Location(s)', frame.args["locations"])
	:addHeader('Follow Along')
	:addRow('Thread List', frame.args["tag"])
	:addHeader('Moderator Information')
	:addRow('Contact', frame.args["admin"])
	
end

return p