יחידה:פרמטרים: הבדלים בין גרסאות בדף
יצירת דף עם התוכן "function foo(frame) local ans = "" local pframe = frame:getParent() local numbered = 0 local mustnum = tonumber(frame.args[1]) for k, v in pairs( pframe.arg..." |
אין תקציר עריכה |
||
| שורה 12: | שורה 12: | ||
end | end | ||
if (mustnum < numbered) then | if (mustnum < numbered) then | ||
ans = out (ans, "צריך מקסימום " .. mustnum .. "פרמטרים, ישנם " .. numbered) | ans = out (ans, "צריך מקסימום " .. mustnum .. " פרמטרים, ישנם " .. numbered) | ||
end | end | ||
if (ans == "") then | if (ans == "") then | ||