Module:SiteList: Difference between revisions

145 bytes removed ,  22 July 2023
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
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| style="%s" colspan="4"| %s\n|- \n| style="text-align:center;vertical-align:middletop;" | %s\n| style="text-align:center;vertical-align:middletop;" | %s\n| style="text-align:center;vertical-align:middletop;" | %s\n',
style,
args[1] == 'Studio' and 'Studio' or 'Website',