Mobius Final Fantasy Wiki
Advertisement

local p = {}

local util = require( 'Module:Utils' )

function p.main( frame )
	local element = frame.args[1]
	local size = frame.args[2] or "20px"
	local text = util.startMaj( element )
	local color = ""
	local orb = "[[File:" .. element .. "_Icon.png|link=|" .. size .. "]]"
	if frame.args.color then color = element end
	if frame.args.text then
		orb = orb .. " " .. util.colorText( text, color )
	end
	return orb
end

return p
Advertisement