Module:SiteList: Difference between revisions

Jump to navigation Jump to search
52 bytes removed ,  22 July 2023
no edit summary
No edit summary
No edit summary
local siteType = site.type or args[1]
if siteType == nil or siteType == '' then
siteType = 'Error: Invalid type'
return string.format('|-\n| style="text-align:center;vertical-align:middle;color:red;font-weight:bold;" | Invalid type \n| style="width: 0px; padding: 0px; border: none;" |\n')
style = 'background-color:#E7E7E7;text-align:center;color:red;font-weight:bold'
elseif siteType:lower() == 'studio' then
style = 'background-color:#DADADA;text-align:center;color:black'

Navigation menu