Module:Fallback: Difference between revisions

Jump to navigation Jump to search
Undo revision 2418 by Bargioni (talk)
(riga 53)
Tag: Reverted
(Undo revision 2418 by Bargioni (talk))
Tag: Undo
 
Line 51: Line 51:
lang = frame:preprocess( "{{int:lang}}" )
lang = frame:preprocess( "{{int:lang}}" )
end
end
if lang == '' then lang = 'it' end -- Stefano Bargioni 2023-07-18
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)
Bureaucrats, emailconfirmed, Administrators
3,078

edits

Navigation menu