Module:SocialMedia: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 150: Line 150:
local function buildIconLink(iconFile, altText, url)
local function buildIconLink(iconFile, altText, url)
     -- Add the reusable filter class to the image attributes
     -- Add the reusable filter class to the image attributes
     return string.format("[[%s|24px|class=filter-social-green|alt=%s|link=%s]]", iconFile, altText, url)
     return string.format("[[%s|24px|class=filter-icon-green|alt=%s|link=%s]]", iconFile, altText, url)
end
end