Module:SiteList: Difference between revisions

no edit summary
No edit summary
No edit summary
 
if siteData then
local url = siteData.urldefault_url
if id ~= '' then
url = siteData.model_url ..:gsub('MODEL_ID', id .. '.html')
elseif sceneid ~= '' then
url = siteData.scene_url ..:gsub('SCENE_ID', sceneid .. '.html')
end
local link = '[' .. url .. ' ' .. site .. '] <small>(' .. siteData.category .. ')</small>'