Modulo:mchkparametrojn: Malsamoj inter versioj

Enhavo forigita Enhavo aldonita
Taylor 49 (diskuto | kontribuoj)
fix
Taylor 49 (diskuto | kontribuoj)
forviŝas cimojn
Linio 6:
 
Benefit: performs 2 comparisons in order to check validity
of the parameters of the caller, only non-empty
parameters do count
 
Utilo: efektivigas 2 komparojn por kontroli validecon
de parametroj de la vokanto, nur nemalplenaj
parametroj estas alsumigataj
 
Used by templates / Uzata far sxablonoj:
Linio 63 ⟶ 65:
if (not (mw.getCurrentFrame():getParent().args[numiter+1])) then
break ; -- no more parameters, "numiter" holds amount of those found
else
if (mw.ustring.len (mw.getCurrentFrame():getParent().args[numiter+1])==0) then
break ; -- empty doesnt count, "numiter" holds amount of those found
end--if
end--if
numiter = numiter + 1 ;
end--while
if ((numiter>=numlowl) and (numiter<=numuppl)) then
strret = "1" ; -- output string (report success)
end--if
end--if