Module:LanguageName/pt-br

local p = {} local LanguageNameData = mw.loadData( 'Module:LanguageName/pt-br/data' ) function p.LanguageName( frame ) local LanguageNameText = frame.args[1] return LanguageNameData[LanguageNameText] or LanguageNameData["#default"] or "" end return p