Module:Fallback: Difference between revisions
Content added Content deleted
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: | Line 43: | ||
lang = frame:preprocess( "{{int:lang}}" ) |
lang = frame:preprocess( "{{int:lang}}" ) |
||
end |
end |
||
--[=[ |
|||
if args.zh ~= '' and args['zh-hans'] == '' and args['zh-hant'] == '' then |
|||
else |
|||
end |
|||
]=]-- |
|||
local str, language = p._langSwitch(args, lang) |
local str, language = p._langSwitch(args, lang) |
||
return str -- get the first value of the langSwitch, (the text) not the second (the language) |
return str -- get the first value of the langSwitch, (the text) not the second (the language) |