יחידה:פרמטרים: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 42: שורה 42:
if data and mw.title.makeTitle( 0, subpageName ).exists then
if data and mw.title.makeTitle( 0, subpageName ).exists then
copydata = mw.loadData(subpageName) -- read template variables data
copydata = mw.loadData(subpageName) -- read template variables data
copysuggestions = copydata[4] -- template data suggestions table
copyunnamed = copydata[0]
copysugnum = 0
if copyunnamed > 0 and not un[templatename] then sugind = '[[קטגוריה:תבניות עם הצעות]]' end
for c, cc in pairs(copysuggestions) do -- count suggestions
copysugnum = copysugnum + 1 end
if copysugnum > 0 and not sg[templatename] then sugind = '[[קטגוריה:תבניות עם הצעות]]' end
end
end
local numbered = 0 -- real nonnamed parameters counter
local numbered = 0 -- real nonnamed parameters counter