Editing Module:Twemoji
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
local size = "20px" | local size = "20px" | ||
if (frame.args[2] | if (frame.args[2]) | ||
then | then | ||
beginspan = "<span class='nowrap' title='" .. frame.args[2] .. "'>" | beginspan = "<span class='nowrap' title='" .. frame.args[2] .. "'>" | ||
end | end | ||
if (frame.args[3] | if (frame.args[3]) | ||
then | then | ||
size = frame.args[3] | size = frame.args[3] | ||
Line 32: | Line 32: | ||
local output = table.concat(cps, "-") | local output = table.concat(cps, "-") | ||
return beginspan .. "[[File:Twemoji12 " .. output .. ".svg|".. size .."|link=|alt= | return beginspan .. "[[File:Twemoji12 " .. output .. ".svg|".. size .."|link=|alt=]]</span>" | ||
end | end | ||
end | end | ||
return p | return p |