|
|
local style
if args[1] == 'Studio' then
style = 'background-color:#DADADA;text-align:center;color:black;background-image:linear-gradient(to top, #F2F2F2, #EFEFEF);'
else
style = 'background-color:#E7E7E7;text-align:center;color:black;background-image:linear-gradient(to top, #F2F2F2, #EFEFEF);'
end
local result = string.format(
'|-\n|! colspan="4" style="%s" | %s\n| style="text-align:center;vertical-align:topmiddle;" | %s\n| style="text-align:center;vertical-align:topmiddle;" | %s\n| style="text-align:center;vertical-align:topmiddle;" | %s\n',
style,
args[1] == 'Studio' and 'Studio' or 'Website',
|