Module:GetRandomCreature: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 9: Line 9:


--[Determine border color]--
--[Determine border color]--
local bordercolorin = frame.args['bordercolor']
local bordercolorin = frame.args.bordercolor
if bordercolorin == nil or bordercolorin == 'c' then
if bordercolorin == nil or bordercolorin == 'c' then
   bordercolor = ''
   bordercolor = ''
Line 19: Line 19:


--[Determine Title Color]--
--[Determine Title Color]--
local titlein= frame.args['title']
local titlein= frame.args.title
local title = colorparse.parse('&y'.. titlein)
local title = colorparse.parse('&y'.. titlein)


Line 27: Line 27:


--[Determine body padding]--
--[Determine body padding]--
local paddingin = frame.args['padding']
local paddingin = frame.args.padding
if paddingin == nil or paddingin == '' then
if paddingin == nil or paddingin == '' then
   padding = '1.5'
   padding = '1.5'
Line 35: Line 35:


--[Determine bottomtext]--
--[Determine bottomtext]--
local bottomin = frame.args['bottomtext']
local bottomin = frame.args.bottomtext
if bottomin == nil or bottomin == '' then
if bottomin == nil or bottomin == '' then
   bottomtext= 'Perfect'
   bottomtext= 'Perfect'