Module:Lowercase

f = {}

function f.lsc(frame) local text = frame.args[1] local language_code = frame.args.lang local lang_attributes = {["lang"] = language_code, ["xml:lang"] = language_code} local span = mw.html.create('span') span :wikitext (text) :css ("font-size", "0.85em") :attr(lang_attributes) return tostring(span) end

return f