Actions

Module

Infobox WickSpell

From ThornsWiki

Revision as of 09:57, 16 November 2018 by Thornswiki (talk | contribs) (Created page with "local p = {} function p.default(frame) local capiunto = require 'capiunto' return capiunto.create( { top = tostring(mw.title.getCurrentTitle()), topStyle = 'background...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

local p = {}
 
function p.default(frame)
	local capiunto = require 'capiunto'
	return capiunto.create( {
		top = tostring(mw.title.getCurrentTitle()),
		topStyle = 'background:#5f5543;color:#FFF;font-family:Metamorphous, serif;line-height:1.25em;',
	} )
	:addRow('Spell Name', frame.args["spell_name"])
	:addRow('Spell Origin', frame.args["spell_type"])
end

return p