Modul:TemplUtl: Unterschied zwischen den Versionen
2019-02-17
(2019-02-16) |
(2019-02-17) |
||
Zeile 1: | Zeile 1: | ||
local TemplUtl = { suite = "TemplUtl", | local TemplUtl = { suite = "TemplUtl", | ||
serial = "2019-02- | serial = "2019-02-17" }; | ||
Zeile 213: | Zeile 213: | ||
local s = ahead or ""; | local s = ahead or ""; | ||
for k, v in pairs( array ) do | for k, v in pairs( array ) do | ||
if type( k ) == "number" then | if type( k ) == "number" and | ||
type( v ) == "string" then | |||
v = mw.text.trim( v ); | |||
pcall( f, s .. v ); | pcall( f, s .. v ); | ||
end | end |