Module:SiteList: Difference between revisions

332 bytes removed ,  21 July 2023
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
else
typeText = siteType
end
 
-- Проверяем пространство имен и добавляем категорию
local title = mw.title.getCurrentTitle()
local category = ''
if title.namespace == 0 and siteInfo and siteInfo.id then
category = '[[Category:Website' .. siteInfo.id .. ' models]]'
end
 
| style="text-align:center;vertical-align:middle;" | %s
| style="text-align:center;vertical-align:middle;" | <small>%s</small>
]], backgroundColor, typeText, websiteText, alias ~= '' and alias or mw.title.getCurrentTitle().text, notes, category)
%s
]], backgroundColor, typeText, websiteText, alias ~= '' and alias or mw.title.getCurrentTitle().text, notes, category)
 
return result