Module:SocialMedia: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 4: | Line 4: | ||
-- ############################################################### | -- ############################################################### | ||
-- Currently supported platforms are: | -- Currently supported platforms are: | ||
-- (UPDATE THE LIST BETWEEN THE HOOK EMOJIS AS PLATFORMS GET ADDED OR REMOVED) | |||
-- 🪝Facebook, Github, Instagram, LinkedIn, Telegram, Threads, TikTok, X/Twitter, Youtube🪝 | -- 🪝Facebook, Github, Instagram, LinkedIn, Telegram, Threads, TikTok, X/Twitter, Youtube🪝 | ||
-- ############################################################### | -- ############################################################### | ||
| Line 131: | Line 131: | ||
end | end | ||
-- If no handles were provided, return nothing | -- If no handles were provided, return nothing | ||
if #icons == 0 then | if #icons == 0 then | ||
return "" | return "" | ||
end | end | ||
-- Return a row | -- Return a row with a flex container for icons | ||
return buildSocialRow(icons) | return buildSocialRow(icons) | ||
end | end | ||
return sf | return sf | ||