|
|
local alias = args.alias or mw.title.getCurrentTitle().text
local notes = args.notes and '<small><span style="font-size: 0.875em; line-height: 1.2;">' .. args.notes .. '</span></small>' or '<small><span style="line-height: 1.2;">N/A</span></small>'
local categoryLink = site.network and site.network ~= '' and string.format(' <small>([[:Category:%s|%s]])</small>', site.network, site.network) or ''
local result = string.format(
'|-\n| class="align-middle" style="%s" | <span>%s</span>\n| classstyle="aligntext-align:center ;vertical-align-:middle;" | <span>%s</span>\n| classstyle="text-align:center;vertical-center align-:middle;" | <span>%s</span>\n| classstyle="text-align:center;vertical-center align-:middle;" | %s\n',
style,
args[1] == 'Studio' and 'Studio' or 'Website',
|