Module:Fallback: Difference between revisions
no edit summary
m (Protected "Module:Fallback": High-risk Lua module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
SunAfterRain (talk | contribs) No edit summary |
||
Line 43:
lang = frame:preprocess( "{{int:lang}}" )
end
--[=[
if args.zh ~= '' and args['zh-hans'] == '' and args['zh-hant'] == '' then
else
end
]=]--
local str, language = p._langSwitch(args, lang)
return str -- get the first value of the langSwitch, (the text) not the second (the language)
|