Module:SiteList: Difference between revisions

114 bytes added ,  21 July 2023
no edit summary
No edit summary
Tag: Manual revert
No edit summary
local p = {}
 
local function buildRow(siteType, site, idsceneid, sceneidid, alias, notes)
local siteInfo = mw.loadData('Module:SiteDictionary')[site:lower()]
local link = 'N/A'
local siteType = args[1]
local site = args.site or ''
local ididWithSceneId = args.id or ''
local id, sceneid = args.idWithSceneId:match("(sceneid=)(.*)") or idWithSceneId, idWithSceneId:match("(sceneid=)(.*)") and '' or idWithSceneId
local alias = args.alias
local notes = args.notes
return buildRow(siteType, site, idsceneid, sceneidid, alias, notes)
end