Module:SocialMedia: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 72: | Line 72: | ||
} | } | ||
-- Helper to find the first non-empty user handle from a param or table of params | -- (Non-generalizable) Helper to find the first non-empty user handle from a param or table of params | ||
local function getUserHandle(args, param) | local function getUserHandle(args, param) | ||
local handle | local handle | ||
| Line 97: | Line 97: | ||
local function buildSocialRow(icons) | local function buildSocialRow(icons) | ||
local iconMarkup = table.concat({ | local iconMarkup = table.concat({ | ||
'<div class="social-icons external-social | '<div class="social-icons external-social">', | ||
table.concat(icons, ""), | table.concat(icons, ""), | ||
'</div>' | '</div>' | ||