Module:Wikt-lang and Module:Wikt-lang/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
imported>Trappist the monk
to catch an error; see talk
 
imported>Gonnym
sync with live
 
Line 245: Line 245:
local word2 = ifNotEmpty(args[3])
local word2 = ifNotEmpty(args[3])
if not args[2] or '' == args[2] then
if not args[2] then
return '<span style="color:#d33">[text?] Parameter 2 is required</span>';
error("Parameter 2 is required")
end
end