Module:SiteList: Difference between revisions

Jump to navigation Jump to search
128 bytes added ,  22 July 2023
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
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" colspan="4"| %s\n|- \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',

Navigation menu